google_api_dialogflow v0.6.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2WebhookRequest View Source
The request message for a webhook call.
Attributes
- originalDetectIntentRequest (GoogleCloudDialogflowV2OriginalDetectIntentRequest): Optional. The contents of the original request that was passed to `[Streaming]DetectIntent` call. Defaults to:
null
. - queryResult (GoogleCloudDialogflowV2QueryResult): The result of the conversational query or event processing. Contains the same value as `[Streaming]DetectIntentResponse.query_result`. Defaults to:
null
. - responseId (String.t): The unique identifier of the response. Contains the same value as `[Streaming]DetectIntentResponse.response_id`. Defaults to:
null
. - session (String.t): The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Format: `projects/<Project ID>/agent/sessions/<Session ID>`, or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>`. 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()
View Source
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2WebhookRequest{
originalDetectIntentRequest:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OriginalDetectIntentRequest.t(),
queryResult:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2QueryResult.t(),
responseId: any(),
session: any()
}
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2WebhookRequest{ originalDetectIntentRequest: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OriginalDetectIntentRequest.t(), queryResult: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2QueryResult.t(), responseId: any(), session: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.