Reference documentation and code samples for the Cloud Translation V3 Client class TranslateTextResponse.
Generated from protobuf message google.cloud.translation.v3.TranslateTextResponse
Namespace
Google \ Cloud \ Translate \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ translations
array< Translation
>
Text translation responses with no glossary applied. This field has the same length as contents
.
↳ glossary_translations
array< Translation
>
Text translation responses if a glossary is provided in the request. This can be the same as translations
if no terms apply. This field has the same length as contents
.
getTranslations
Text translation responses with no glossary applied.
This field has the same length as contents
.
setTranslations
Text translation responses with no glossary applied.
This field has the same length as contents
.
$this
getGlossaryTranslations
Text translation responses if a glossary is provided in the request.
This can be the same as translations
if no terms apply. This field has the same length as contents
.
setGlossaryTranslations
Text translation responses if a glossary is provided in the request.
This can be the same as translations
if no terms apply. This field has the same length as contents
.
$this