google_api_dialogflow v0.6.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2DetectIntentResponse View Source

The message returned from the DetectIntent method.

Attributes

  • outputAudio (binary()): The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the `query_result.fulfillment_messages` field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty. Defaults to: null.
  • outputAudioConfig (GoogleCloudDialogflowV2OutputAudioConfig): The config used by the speech synthesizer to generate the output audio. Defaults to: null.
  • queryResult (GoogleCloudDialogflowV2QueryResult): The selected results of the conversational query or event processing. See `alternative_query_results` for additional potential results. Defaults to: null.
  • responseId (String.t): The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues. Defaults to: null.
  • webhookStatus (GoogleRpcStatus): Specifies the status of the webhook request. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2DetectIntentResponse{
    outputAudio: any(),
    outputAudioConfig:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OutputAudioConfig.t(),
    queryResult:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2QueryResult.t(),
    responseId: any(),
    webhookStatus: GoogleApi.Dialogflow.V2.Model.GoogleRpcStatus.t()
  }

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.