class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1WebhookRequest
The request message for a webhook call.
Attributes
Alternative query results from KnowledgeService. Corresponds to the JSON property `alternativeQueryResults` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult>]
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::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest]
Represents the result of conversational query or event processing. Corresponds to the JSON property `queryResult` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult]
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. Supported formats: - `projects//agent/ sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/ environments//users//sessions/`, - `projects//locations//agent/environments// users//sessions/`, Corresponds to the JSON property `session` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 14401 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 14406 def update!(**args) @alternative_query_results = args[:alternative_query_results] if args.key?(:alternative_query_results) @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