TranslateTextRequest
class TranslateTextRequest extends Collection (View source)
Properties
protected | $collection_key | ||
string[] | $contents | ||
protected | $glossaryConfigType | ||
protected | $glossaryConfigDataType | ||
string[] | $labels | ||
string | $mimeType | ||
string | $model | ||
string | $sourceLanguageCode | ||
string | $targetLanguageCode | ||
protected | $transliterationConfigType | ||
protected | $transliterationConfigDataType |
Methods
setContents($contents)
No description
string[]
getContents()
No description
getGlossaryConfig()
No description
setLabels($labels)
No description
string[]
getLabels()
No description
setMimeType($mimeType)
No description
string
getMimeType()
No description
setModel($model)
No description
string
getModel()
No description
setSourceLanguageCode($sourceLanguageCode)
No description
string
getSourceLanguageCode()
No description
setTargetLanguageCode($targetLanguageCode)
No description
string
getTargetLanguageCode()
No description
getTransliterationConfig()
No description
Details
setContents($contents)
No description
string[]
getContents()
No description
setGlossaryConfig(TranslateTextGlossaryConfig $glossaryConfig)
No description
TranslateTextGlossaryConfig
getGlossaryConfig()
No description
setLabels($labels)
No description
string[]
getLabels()
No description
setMimeType($mimeType)
No description
string
getMimeType()
No description
setModel($model)
No description
string
getModel()
No description
setSourceLanguageCode($sourceLanguageCode)
No description
string
getSourceLanguageCode()
No description
setTargetLanguageCode($targetLanguageCode)
No description
string
getTargetLanguageCode()
No description
setTransliterationConfig(TransliterationConfig $transliterationConfig)
No description
TransliterationConfig
getTransliterationConfig()
No description