Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EventHandler
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EventHandler
- 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
-
#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::DialogflowV2beta1::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.
4089 4090 4091 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4089 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event ⇒ String
Corresponds to the JSON property event
4062 4063 4064 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4062 def event @event end |
#name ⇒ String
Corresponds to the JSON property name
4067 4068 4069 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4067 def name @name end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
4072 4073 4074 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4072 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
4077 4078 4079 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4077 def target_page @target_page end |
#target_playbook ⇒ String
Corresponds to the JSON property targetPlaybook
4082 4083 4084 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4082 def target_playbook @target_playbook end |
#trigger_fulfillment ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment
Corresponds to the JSON property triggerFulfillment
4087 4088 4089 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4087 def trigger_fulfillment @trigger_fulfillment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4094 4095 4096 4097 4098 4099 4100 4101 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4094 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 |