Class SynthesizeSpeechRequest (2.0.0)

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

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

Attributes

NameDescription
input .cloud_tts.SynthesisInput
Required. The Synthesizer requires either plain text or SSML as input.
voice .cloud_tts.VoiceSelectionParams
Required. The desired voice of the synthesized audio.
audio_config .cloud_tts.AudioConfig
Required. The configuration of the synthesized audio.