Reference documentation and code samples for the Cloud Translation V3 Client class AdaptiveMtTranslateResponse.
An AdaptiveMtTranslate response.
Generated from protobuf message google.cloud.translation.v3.AdaptiveMtTranslateResponse
Namespace
Google \ Cloud \ Translate \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ translations
↳ language_code
string
Output only. The translation's language code.
↳ glossary_translations
array< Google\Cloud\Translate\V3\AdaptiveMtTranslation
>
Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.
getTranslations
Output only. The translation.
setTranslations
Output only. The translation.
$this
getLanguageCode
Output only. The translation's language code.
string
setLanguageCode
Output only. The translation's language code.
var
string
$this
getGlossaryTranslations
Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.
setGlossaryTranslations
Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.
$this