Package Classes (2.17.0)

Summary of entries of Classes for texttospeech.

Classes

TextToSpeechAsyncClient

Service that implements Google Cloud Text-to-Speech API.

TextToSpeechClient

Service that implements Google Cloud Text-to-Speech API.

TextToSpeechLongAudioSynthesizeAsyncClient

Service that implements Google Cloud Text-to-Speech API.

TextToSpeechLongAudioSynthesizeClient

Service that implements Google Cloud Text-to-Speech API.

AudioConfig

Description of audio data to be synthesized.

AudioEncoding

Configuration to set up audio encoder. The encoding determines the output audio format that we'd like.

CustomVoiceParams

Description of the custom voice to be synthesized.

ReportedUsage

Deprecated. The usage of the synthesized audio. Usage does not affect billing.

ListVoicesRequest

The top-level message sent by the client for the ListVoices method.

ListVoicesResponse

The message returned to the client by the ListVoices method.

SsmlVoiceGender

Gender of the voice as described in SSML voice element <https://www.w3.org/TR/speech-synthesis11/#edef_voice>__.

StreamingSynthesisInput

Input to be synthesized.

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

StreamingSynthesizeConfig

Provides configuration information for the StreamingSynthesize request.

StreamingSynthesizeRequest

Request message for the StreamingSynthesize method. Multiple StreamingSynthesizeRequest messages are sent in one call. The first message must contain a streaming_config that fully specifies the request configuration and must not contain input. All subsequent messages must only have input set.

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

StreamingSynthesizeResponse

StreamingSynthesizeResponse is the only message returned to the client by StreamingSynthesize method. A series of zero or more StreamingSynthesizeResponse messages are streamed back to the client.

SynthesisInput

Contains text input to be synthesized. Either text or ssml must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. The input size is limited to 5000 bytes.

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

SynthesizeLongAudioMetadata

Metadata for response returned by the SynthesizeLongAudio method.

SynthesizeLongAudioRequest

The top-level message sent by the client for the SynthesizeLongAudio method.

SynthesizeLongAudioResponse

The message returned to the client by the SynthesizeLongAudio method.

SynthesizeSpeechRequest

The top-level message sent by the client for the SynthesizeSpeech method.

SynthesizeSpeechResponse

The message returned to the client by the SynthesizeSpeech method.

Voice

Description of a voice supported by the TTS service.

VoiceSelectionParams

Description of which voice to use for a synthesis request.

TextToSpeechAsyncClient

Service that implements Google Cloud Text-to-Speech API.

TextToSpeechClient

Service that implements Google Cloud Text-to-Speech API.

TextToSpeechLongAudioSynthesizeAsyncClient

Service that implements Google Cloud Text-to-Speech API.

TextToSpeechLongAudioSynthesizeClient

Service that implements Google Cloud Text-to-Speech API.

AudioConfig

Description of audio data to be synthesized.

AudioEncoding

Configuration to set up audio encoder. The encoding determines the output audio format that we'd like.

CustomVoiceParams

Description of the custom voice to be synthesized.

ReportedUsage

Deprecated. The usage of the synthesized audio. Usage does not affect billing.

ListVoicesRequest

The top-level message sent by the client for the ListVoices method.

ListVoicesResponse

The message returned to the client by the ListVoices method.

SsmlVoiceGender

Gender of the voice as described in SSML voice element <https://www.w3.org/TR/speech-synthesis11/#edef_voice>__.

StreamingSynthesisInput

Input to be synthesized.

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

StreamingSynthesizeConfig

Provides configuration information for the StreamingSynthesize request.

StreamingSynthesizeRequest

Request message for the StreamingSynthesize method. Multiple StreamingSynthesizeRequest messages are sent in one call. The first message must contain a streaming_config that fully specifies the request configuration and must not contain input. All subsequent messages must only have input set.

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

StreamingSynthesizeResponse

StreamingSynthesizeResponse is the only message returned to the client by StreamingSynthesize method. A series of zero or more StreamingSynthesizeResponse messages are streamed back to the client.

SynthesisInput

Contains text input to be synthesized. Either text or ssml must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. The input size is limited to 5000 bytes.

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

SynthesizeLongAudioMetadata

Metadata for response returned by the SynthesizeLongAudio method.

SynthesizeLongAudioRequest

The top-level message sent by the client for the SynthesizeLongAudio method.

SynthesizeLongAudioResponse

The message returned to the client by the SynthesizeLongAudio method.

SynthesizeSpeechRequest

The top-level message sent by the client for the SynthesizeSpeech method.

TimepointType

The type of timepoint information that is returned in the response.

SynthesizeSpeechResponse

The message returned to the client by the SynthesizeSpeech method.

Timepoint

This contains a mapping between a certain point in the input text and a corresponding time in the output audio.

Voice

Description of a voice supported by the TTS service.

VoiceSelectionParams

Description of which voice to use for a synthesis request.