Class StreamingTranslateSpeechResult (0.5.4)

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

A streaming speech translation result corresponding to a portion of the audio that is currently being processed.

Attribute

NameDescription
text_translation_result google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult
Text translation result.

Classes

TextTranslationResult

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

Text translation result. .. attribute:: translation

Output only. The translated sentence.

:type: str