Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventHandler
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventHandler
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#event ⇒ String
Corresponds to the JSON property
event. -
#name ⇒ String
Corresponds to the JSON property
name. -
#target_flow ⇒ String
Corresponds to the JSON property
targetFlow. -
#target_page ⇒ String
Corresponds to the JSON property
targetPage. -
#target_playbook ⇒ String
Corresponds to the JSON property
targetPlaybook. -
#trigger_fulfillment ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment
Corresponds to the JSON property
triggerFulfillment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1EventHandler
constructor
A new instance of GoogleCloudDialogflowCxV3beta1EventHandler.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1EventHandler
Returns a new instance of GoogleCloudDialogflowCxV3beta1EventHandler.
10414 10415 10416 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10414 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event ⇒ String
Corresponds to the JSON property event
10387 10388 10389 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10387 def event @event end |
#name ⇒ String
Corresponds to the JSON property name
10392 10393 10394 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10392 def name @name end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
10397 10398 10399 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10397 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
10402 10403 10404 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10402 def target_page @target_page end |
#target_playbook ⇒ String
Corresponds to the JSON property targetPlaybook
10407 10408 10409 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10407 def target_playbook @target_playbook end |
#trigger_fulfillment ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment
Corresponds to the JSON property triggerFulfillment
10412 10413 10414 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10412 def trigger_fulfillment @trigger_fulfillment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10419 10420 10421 10422 10423 10424 10425 10426 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10419 def update!(**args) @event = args[:event] if args.key?(:event) @name = args[:name] if args.key?(:name) @target_flow = args[:target_flow] if args.key?(:target_flow) @target_page = args[:target_page] if args.key?(:target_page) @target_playbook = args[:target_playbook] if args.key?(:target_playbook) @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment) end |