View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OutputAudio (google_api_dialogflow v0.78.0)

Represents the natural language speech audio to be played to the end user.

Attributes

  • audio (type: String.t, default: nil) - The natural language speech audio.
  • config (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OutputAudioConfig.t, default: nil) - Instructs the speech synthesizer how to generate the speech audio.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OutputAudio{
  audio: String.t() | nil,
  config:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OutputAudioConfig.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.