Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler
- 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::GoogleCloudDialogflowCxV3Fulfillment
Corresponds to the JSON property
triggerFulfillment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3EventHandler
constructor
A new instance of GoogleCloudDialogflowCxV3EventHandler.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3EventHandler
Returns a new instance of GoogleCloudDialogflowCxV3EventHandler.
2104 2105 2106 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2104 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event ⇒ String
Corresponds to the JSON property event
2077 2078 2079 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2077 def event @event end |
#name ⇒ String
Corresponds to the JSON property name
2082 2083 2084 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2082 def name @name end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
2087 2088 2089 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2087 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
2092 2093 2094 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2092 def target_page @target_page end |
#target_playbook ⇒ String
Corresponds to the JSON property targetPlaybook
2097 2098 2099 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2097 def target_playbook @target_playbook end |
#trigger_fulfillment ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment
Corresponds to the JSON property triggerFulfillment
2102 2103 2104 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2102 def trigger_fulfillment @trigger_fulfillment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2109 2110 2111 2112 2113 2114 2115 2116 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2109 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 |