Class TranslateTextResponse (3.0.2)

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

Attributes

NameDescription
translations Sequence[.translation_service.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[.translation_service.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].