class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2WebhookRequest
The request message for a webhook call.
Attributes
Represents the contents of the original request that was passed to the `[ Streaming]DetectIntent` call. Corresponds to the JSON property `originalDetectIntentRequest` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2OriginalDetectIntentRequest]
Represents the result of conversational query or event processing. Corresponds to the JSON property `queryResult` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2QueryResult]
The unique identifier of the response. Contains the same value as `[Streaming] DetectIntentResponse.response_id`. Corresponds to the JSON property `responseId` @return [String]
The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Format: `projects//agent/sessions/`, or `projects//agent/environments//users//sessions/`. Corresponds to the JSON property `session` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 7381 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 7386 def update!(**args) @original_detect_intent_request = args[:original_detect_intent_request] if args.key?(:original_detect_intent_request) @query_result = args[:query_result] if args.key?(:query_result) @response_id = args[:response_id] if args.key?(:response_id) @session = args[:session] if args.key?(:session) end