View Source GoogleApi.TextToSpeech.V1.Model.SynthesizeSpeechRequest (google_api_text_to_speech v0.17.0)

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

Attributes

  • audioConfig (type: GoogleApi.TextToSpeech.V1.Model.AudioConfig.t, default: nil) - Required. The configuration of the synthesized audio.
  • input (type: GoogleApi.TextToSpeech.V1.Model.SynthesisInput.t, default: nil) - Required. The Synthesizer requires either plain text or SSML as input.
  • voice (type: GoogleApi.TextToSpeech.V1.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.V1.Model.SynthesizeSpeechRequest{
  audioConfig: GoogleApi.TextToSpeech.V1.Model.AudioConfig.t() | nil,
  input: GoogleApi.TextToSpeech.V1.Model.SynthesisInput.t() | nil,
  voice: GoogleApi.TextToSpeech.V1.Model.VoiceSelectionParams.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.