# Package Classes (0.14.1)

0.14.1 (latest) 0.14.0 0.13.0 0.12.0 0.11.17 0.10.0 0.9.4 0.8.2 0.7.1 0.6.0 0.5.4 0.4.0 0.3.0 0.2.0 0.1.1 Summary of entries of Classes for mediatranslation.

## Classes

### [SpeechTranslationServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient)

Provides translation from/to media types.

### [SpeechTranslationServiceClient](https://docs.cloud.google.com/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient)

Provides translation from/to media types.

### [StreamingTranslateSpeechConfig](https://docs.cloud.google.com/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechConfig)

Config used for streaming translation.

### [StreamingTranslateSpeechRequest](https://docs.cloud.google.com/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechRequest)

The top-level message sent by the client for the
`StreamingTranslateSpeech` method. Multiple
`StreamingTranslateSpeechRequest` messages are sent. The first
message must contain a `streaming_config` message and must not
contain `audio_content` data. All subsequent messages must contain
`audio_content` data and must not contain a `streaming_config`
message.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [StreamingTranslateSpeechResponse](https://docs.cloud.google.com/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResponse)

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

### [SpeechEventType](https://docs.cloud.google.com/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResponse.SpeechEventType)

Indicates the type of speech event.

### [StreamingTranslateSpeechResult](https://docs.cloud.google.com/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult)

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

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [TextTranslationResult](https://docs.cloud.google.com/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult.TextTranslationResult)

Text translation result.

### [TranslateSpeechConfig](https://docs.cloud.google.com/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.types.TranslateSpeechConfig)

Provides information to the speech translation that specifies
how to process the request.