Class SynthesizeSpeechRequest (2.21.0)

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

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

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

Attributes

Name Description
input google.cloud.texttospeech_v1beta1.types.SynthesisInput
Required. The Synthesizer requires either plain text or SSML as input.
voice google.cloud.texttospeech_v1beta1.types.VoiceSelectionParams
Required. The desired voice of the synthesized audio.
audio_config google.cloud.texttospeech_v1beta1.types.AudioConfig
Required. The configuration of the synthesized audio.
enable_time_pointing MutableSequence[google.cloud.texttospeech_v1beta1.types.SynthesizeSpeechRequest.TimepointType]
Whether and what timepoints are returned in the response.
advanced_voice_options google.cloud.texttospeech_v1beta1.types.AdvancedVoiceOptions
Advanced voice options. This field is a member of oneof_ _advanced_voice_options.

Classes

TimepointType

TimepointType(value)

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