GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AudioInput (google_api_dialogflow v0.89.0)

View Source

Represents the natural language speech audio to be processed.

Attributes

  • audio (type: String.t, default: nil) - Required. The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes for virtual agent interactions.
  • config (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2InputAudioConfig.t, default: nil) - Required. Instructs the speech recognizer how to process the speech audio.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.