class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookResponse

The response message for a webhook call.

Attributes

fulfillment_response[RW]

Represents a fulfillment response to the user. Corresponds to the JSON property `fulfillmentResponse` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse]

page_info[RW]

Represents page information communicated to and from the webhook. Corresponds to the JSON property `pageInfo` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo]

payload[RW]

Value to append directly to QueryResult.webhook_payloads. Corresponds to the JSON property `payload` @return [Hash<String,Object>]

session_info[RW]

Represents session information communicated to and from the webhook. Corresponds to the JSON property `sessionInfo` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo]

target_flow[RW]

The target flow to transition to. Format: `projects//locations//agents//flows/` . Corresponds to the JSON property `targetFlow` @return [String]

target_page[RW]

The target page to transition to. Format: `projects//locations//agents//flows// pages/`. Corresponds to the JSON property `targetPage` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 2526
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 2531
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