View Source GoogleApi.TextToSpeech.V1beta1.Model.SynthesizeLongAudioRequest (google_api_text_to_speech v0.17.0)

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

Attributes

  • audioConfig (type: GoogleApi.TextToSpeech.V1beta1.Model.AudioConfig.t, default: nil) - Required. The configuration of the synthesized audio.
  • input (type: GoogleApi.TextToSpeech.V1beta1.Model.SynthesisInput.t, default: nil) - Required. The Synthesizer requires either plain text or SSML as input. While Long Audio is in preview, SSML is temporarily unsupported.
  • outputGcsUri (type: String.t, default: nil) - 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 (type: GoogleApi.TextToSpeech.V1beta1.Model.VoiceSelectionParams.t, default: nil) - Required. The desired voice of the synthesized audio.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.TextToSpeech.V1beta1.Model.SynthesizeLongAudioRequest{
  audioConfig: GoogleApi.TextToSpeech.V1beta1.Model.AudioConfig.t() | nil,
  input: GoogleApi.TextToSpeech.V1beta1.Model.SynthesisInput.t() | nil,
  outputGcsUri: String.t() | nil,
  voice: GoogleApi.TextToSpeech.V1beta1.Model.VoiceSelectionParams.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.