Class TranslateTextResponse (3.3.2)

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

Attributes

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