View Source GoogleApi.TextToSpeech.V1.Model.InputAudio (google_api_text_to_speech v0.18.0)

Holds audio content and config.

Attributes

  • audioConfig (type: GoogleApi.TextToSpeech.V1.Model.InputAudioConfig.t, default: nil) - Required. Provides information that specifies how to process content.
  • content (type: String.t, default: nil) - Required. The audio data bytes encoded as specified in InputAudioConfig. Note: as with all bytes fields, proto buffers use a pure binary representation, whereas JSON representations use base64. Audio samples should be between 5-25 seconds in length.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.TextToSpeech.V1.Model.InputAudio{
  audioConfig: GoogleApi.TextToSpeech.V1.Model.InputAudioConfig.t() | nil,
  content: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.