class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookResponse
The response message for a webhook call.
Attributes
Represents a fulfillment response to the user. Corresponds to the JSON property `fulfillmentResponse` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse]
Represents page information communicated to and from the webhook. Corresponds to the JSON property `pageInfo` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo]
Value to append directly to QueryResult.webhook_payloads. Corresponds to the JSON property `payload` @return [Hash<String,Object>]
Represents session information communicated to and from the webhook. Corresponds to the JSON property `sessionInfo` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo]
The target flow to transition to. Format: `projects//locations//agents//flows/` . Corresponds to the JSON property `targetFlow` @return [String]
The target page to transition to. Format: `projects//locations//agents//flows// pages/`. Corresponds to the JSON property `targetPage` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 5067 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 5072 def update!(**args) @fulfillment_response = args[:fulfillment_response] if args.key?(:fulfillment_response) @page_info = args[:page_info] if args.key?(:page_info) @payload = args[:payload] if args.key?(:payload) @session_info = args[:session_info] if args.key?(:session_info) @target_flow = args[:target_flow] if args.key?(:target_flow) @target_page = args[:target_page] if args.key?(:target_page) end