class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2WebhookRequest

The request message for a webhook call.

Attributes

original_detect_intent_request[RW]

Represents the contents of the original request that was passed to the `[ Streaming]DetectIntent` call. Corresponds to the JSON property `originalDetectIntentRequest` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2OriginalDetectIntentRequest]

query_result[RW]

Represents the result of conversational query or event processing. Corresponds to the JSON property `queryResult` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2QueryResult]

response_id[RW]

The unique identifier of the response. Contains the same value as `[Streaming] DetectIntentResponse.response_id`. Corresponds to the JSON property `responseId` @return [String]

session[RW]

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

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 10712
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 10717
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