Class TranslateTextResponse (3.15.5)

TranslateTextResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
translations MutableSequence[google.cloud.translate_v3.types.Translation]
Text translation responses with no glossary applied. This field has the same length as [contents][google.cloud.translation.v3.TranslateTextRequest.contents].
glossary_translations MutableSequence[google.cloud.translate_v3.types.Translation]
Text translation responses if a glossary is provided in the request. This can be the same as [translations][google.cloud.translation.v3.TranslateTextResponse.translations] if no terms apply. This field has the same length as [contents][google.cloud.translation.v3.TranslateTextRequest.contents].