Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#fulfillment_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
Corresponds to the JSON property
fulfillmentResponse. -
#page_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo
Corresponds to the JSON property
pageInfo. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#session_info ⇒ Google::Apis::DialogflowV2beta1::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.
6690 6691 6692 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6690 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fulfillment_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
Corresponds to the JSON property fulfillmentResponse
6663 6664 6665 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6663 def fulfillment_response @fulfillment_response end |
#page_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo
Corresponds to the JSON property pageInfo
6668 6669 6670 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6668 def page_info @page_info end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
6673 6674 6675 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6673 def payload @payload end |
#session_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo
Corresponds to the JSON property sessionInfo
6678 6679 6680 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6678 def session_info @session_info end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
6683 6684 6685 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6683 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
6688 6689 6690 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6688 def target_page @target_page end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6695 6696 6697 6698 6699 6700 6701 6702 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6695 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 |