Class SynthesizeSpeechRequest (2.2.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.
enable_time_pointing Sequence[.cloud_tts.SynthesizeSpeechRequest.TimepointType]
Whether and what timepoints should be returned in the response.

Classes

TimepointType

TimepointType(value)

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