Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#fulfillment_response ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
Corresponds to the JSON property
fulfillmentResponse. -
#page_info ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo
Corresponds to the JSON property
pageInfo. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#session_info ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionInfo
Corresponds to the JSON property
sessionInfo. -
#target_flow ⇒ String
Corresponds to the JSON property
targetFlow. -
#target_page ⇒ String
Corresponds to the JSON property
targetPage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1WebhookResponse
constructor
A new instance of GoogleCloudDialogflowCxV3beta1WebhookResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1WebhookResponse
Returns a new instance of GoogleCloudDialogflowCxV3beta1WebhookResponse.
14444 14445 14446 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fulfillment_response ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
Corresponds to the JSON property fulfillmentResponse
14417 14418 14419 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14417 def fulfillment_response @fulfillment_response end |
#page_info ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo
Corresponds to the JSON property pageInfo
14422 14423 14424 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14422 def page_info @page_info end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
14427 14428 14429 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14427 def payload @payload end |
#session_info ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionInfo
Corresponds to the JSON property sessionInfo
14432 14433 14434 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14432 def session_info @session_info end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
14437 14438 14439 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14437 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
14442 14443 14444 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14442 def target_page @target_page end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14449 14450 14451 14452 14453 14454 14455 14456 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14449 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 |