Class StreamingTranslateSpeechResponse (0.9.4)

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 google.rpc.status_pb2.Status
Output only. If set, returns a google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
result google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult
Output only. The translation result that is currently being processed (is_final could be true or false).
speech_event_type google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResponse.SpeechEventType
Output only. Indicates the type of speech event.

Classes

SpeechEventType

SpeechEventType(value)

Indicates the type of speech event.