GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1WebhookRequest (google_api_dialogflow v0.47.0) View Source

The request message for a webhook call.

Attributes

  • alternativeQueryResults (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1QueryResult.t), default: nil) - Alternative query results from KnowledgeService.
  • originalDetectIntentRequest (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest.t, default: nil) - Optional. The contents of the original request that was passed to [Streaming]DetectIntent call.
  • queryResult (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1QueryResult.t, default: nil) - The result of the conversational query or event processing. Contains the same value as [Streaming]DetectIntentResponse.query_result.
  • responseId (type: String.t, default: nil) - The unique identifier of the response. Contains the same value as [Streaming]DetectIntentResponse.response_id.
  • session (type: String.t, default: nil) - The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Supported formats: - projects//agent/sessions/, -projects//locations//agent/sessions/, -projects//agent/environments//users//sessions/, -projects//locations//agent/environments//users//sessions/`,

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1WebhookRequest{
    alternativeQueryResults: [
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1QueryResult.t()
    ],
    originalDetectIntentRequest:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest.t(),
    queryResult:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1QueryResult.t(),
    responseId: String.t(),
    session: String.t()
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.