Class StreamingTranslateSpeechResponse (0.1.1)

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

A streaming speech translation response corresponding to a portion of the audio currently processed.

Attributes

NameDescription
error .status.Status
Output only. If set, returns a google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
result .media_translation.StreamingTranslateSpeechResult
Output only. The translation result that is currently being processed (is_final could be true or false).
speech_event_type .media_translation.StreamingTranslateSpeechResponse.SpeechEventType
Output only. Indicates the type of speech event.

Classes

SpeechEventType

SpeechEventType(value)

Indicates the type of speech event.