Class TextTranslationResult (0.11.17)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
TextTranslationResult ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Attributes
Name
Description
translation
str
Output only. The translated sentence.
is_final
bool
Output only. If false
, this
StreamingTranslateSpeechResult
represents an interim
result that may change. If true
, this is the final time
the translation service will return this particular
StreamingTranslateSpeechResult
, the streaming translator
will not return any further hypotheses for this portion of
the transcript and corresponding audio.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class TextTranslationResult (0.11.17)\n\nVersion latestkeyboard_arrow_down\n\n- [0.11.17 (latest)](/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)\n- [0.11.15](/python/docs/reference/mediatranslation/0.11.15/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)\n- [0.10.0](/python/docs/reference/mediatranslation/0.10.0/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)\n- [0.9.4](/python/docs/reference/mediatranslation/0.9.4/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)\n- [0.8.2](/python/docs/reference/mediatranslation/0.8.2/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)\n- [0.7.1](/python/docs/reference/mediatranslation/0.7.1/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)\n- [0.6.0](/python/docs/reference/mediatranslation/0.6.0/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)\n- [0.5.4](/python/docs/reference/mediatranslation/0.5.4/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)\n- [0.4.0](/python/docs/reference/mediatranslation/0.4.0/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)\n- [0.3.0](/python/docs/reference/mediatranslation/0.3.0/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)\n- [0.2.0](/python/docs/reference/mediatranslation/0.2.0/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)\n- [0.1.1](/python/docs/reference/mediatranslation/0.1.1/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult) \n\n TextTranslationResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nText translation result."]]