GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2DetectIntentResponse (google_api_dialogflow v0.66.2) View Source

The message returned from the DetectIntent method.


  • outputAudio (type: String.t, default: nil) - 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. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
  • outputAudioConfig (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OutputAudioConfig.t, default: nil) - The config used by the speech synthesizer to generate the output audio.
  • queryResult (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2QueryResult.t, default: nil) - The selected results of the conversational query or event processing. See alternative_query_results for additional potential results.
  • responseId (type: String.t, default: nil) - The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
  • webhookStatus (type: GoogleApi.Dialogflow.V2.Model.GoogleRpcStatus.t, default: nil) - Specifies the status of the webhook request.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() ::
    outputAudio: String.t() | nil,
      | nil,
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2QueryResult.t() | nil,
    responseId: String.t() | nil,
    webhookStatus: GoogleApi.Dialogflow.V2.Model.GoogleRpcStatus.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.