Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookResponse
- 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::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
Corresponds to the JSON property
fulfillmentResponse. -
#page_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo
Corresponds to the JSON property
pageInfo. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#session_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo
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) ⇒ GoogleCloudDialogflowCxV3WebhookResponse
constructor
A new instance of GoogleCloudDialogflowCxV3WebhookResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3WebhookResponse
Returns a new instance of GoogleCloudDialogflowCxV3WebhookResponse.
3334 3335 3336 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3334 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fulfillment_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
Corresponds to the JSON property fulfillmentResponse
3307 3308 3309 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3307 def fulfillment_response @fulfillment_response end |
#page_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo
Corresponds to the JSON property pageInfo
3312 3313 3314 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3312 def page_info @page_info end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
3317 3318 3319 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3317 def payload @payload end |
#session_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo
Corresponds to the JSON property sessionInfo
3322 3323 3324 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3322 def session_info @session_info end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
3327 3328 3329 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3327 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
3332 3333 3334 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3332 def target_page @target_page end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3339 3340 3341 3342 3343 3344 3345 3346 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3339 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 |