Class SynthesizeLongAudioRequest (2.16.2)

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

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

Attributes

NameDescription
parent str
The resource states of the request in the form of projects/*/locations/*.
input google.cloud.texttospeech_v1.types.SynthesisInput
Required. The Synthesizer requires either plain text or SSML as input. While Long Audio is in preview, SSML is temporarily unsupported.
audio_config google.cloud.texttospeech_v1.types.AudioConfig
Required. The configuration of the synthesized audio.
output_gcs_uri str
Required. Specifies a Cloud Storage URI for the synthesis results. Must be specified in the format: gs://bucket_name/object_name, and the bucket must already exist.
voice google.cloud.texttospeech_v1.types.VoiceSelectionParams
Required. The desired voice of the synthesized audio.