Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute
- 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
-
#condition ⇒ String
Corresponds to the JSON property
condition. -
#description ⇒ String
Corresponds to the JSON property
description. -
#intent ⇒ String
Corresponds to the JSON property
intent. -
#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. -
#trigger_fulfillment ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment
Corresponds to the JSON property
triggerFulfillment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRoute
constructor
A new instance of GoogleCloudDialogflowCxV3beta1TransitionRoute.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRoute
Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRoute.
6124 6125 6126 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ String
Corresponds to the JSON property condition
6092 6093 6094 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6092 def condition @condition end |
#description ⇒ String
Corresponds to the JSON property description
6097 6098 6099 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6097 def description @description end |
#intent ⇒ String
Corresponds to the JSON property intent
6102 6103 6104 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6102 def intent @intent end |
#name ⇒ String
Corresponds to the JSON property name
6107 6108 6109 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6107 def name @name end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
6112 6113 6114 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6112 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
6117 6118 6119 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6117 def target_page @target_page end |
#trigger_fulfillment ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment
Corresponds to the JSON property triggerFulfillment
6122 6123 6124 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6122 def trigger_fulfillment @trigger_fulfillment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6129 6130 6131 6132 6133 6134 6135 6136 6137 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6129 def update!(**args) @condition = args[:condition] if args.key?(:condition) @description = args[:description] if args.key?(:description) @intent = args[:intent] if args.key?(:intent) @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) @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment) end |