class BatchTranslateTextRequest extends Collection (View source)

Properties

protected $collection_key
protected $glossariesType
protected $glossariesDataType
protected $inputConfigsType
protected $inputConfigsDataType
string[] $labels
string[] $models
protected $outputConfigType
protected $outputConfigDataType
string $sourceLanguageCode
string[] $targetLanguageCodes

Methods

setGlossaries($glossaries)

No description

setInputConfigs($inputConfigs)

No description

getInputConfigs()

No description

setLabels($labels)

No description

string[]
getLabels()

No description

setModels($models)

No description

string[]
getModels()

No description

setOutputConfig(OutputConfig $outputConfig)

No description

getOutputConfig()

No description

setSourceLanguageCode($sourceLanguageCode)

No description

string
getSourceLanguageCode()

No description

setTargetLanguageCodes($targetLanguageCodes)

No description

string[]
getTargetLanguageCodes()

No description

Details

setGlossaries($glossaries)

No description

Parameters

$glossaries

TranslateTextGlossaryConfig[] getGlossaries()

No description

setInputConfigs($inputConfigs)

No description

Parameters

$inputConfigs

InputConfig[] getInputConfigs()

No description

Return Value

InputConfig[]

setLabels($labels)

No description

Parameters

$labels

string[] getLabels()

No description

Return Value

string[]

setModels($models)

No description

Parameters

$models

string[] getModels()

No description

Return Value

string[]

setOutputConfig(OutputConfig $outputConfig)

No description

Parameters

OutputConfig $outputConfig

OutputConfig getOutputConfig()

No description

Return Value

OutputConfig

setSourceLanguageCode($sourceLanguageCode)

No description

Parameters

$sourceLanguageCode

string getSourceLanguageCode()

No description

Return Value

string

setTargetLanguageCodes($targetLanguageCodes)

No description

Parameters

$targetLanguageCodes

string[] getTargetLanguageCodes()

No description

Return Value

string[]