Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#fulfillment_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
Corresponds to the JSON property
fulfillmentResponse. -
#page_info ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo
Corresponds to the JSON property
pageInfo. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#session_info ⇒ Google::Apis::DialogflowV2::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.
6714 6715 6716 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6714 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fulfillment_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
Corresponds to the JSON property fulfillmentResponse
6687 6688 6689 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6687 def fulfillment_response @fulfillment_response end |
#page_info ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo
Corresponds to the JSON property pageInfo
6692 6693 6694 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6692 def page_info @page_info end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
6697 6698 6699 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6697 def payload @payload end |
#session_info ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo
Corresponds to the JSON property sessionInfo
6702 6703 6704 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6702 def session_info @session_info end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
6707 6708 6709 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6707 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
6712 6713 6714 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6712 def target_page @target_page end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6719 6720 6721 6722 6723 6724 6725 6726 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6719 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 |