Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/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::DialogflowV3beta1::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.
13452 13453 13454 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13452 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ String
Corresponds to the JSON property condition
13420 13421 13422 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13420 def condition @condition end |
#description ⇒ String
Corresponds to the JSON property description
13425 13426 13427 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13425 def description @description end |
#intent ⇒ String
Corresponds to the JSON property intent
13430 13431 13432 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13430 def intent @intent end |
#name ⇒ String
Corresponds to the JSON property name
13435 13436 13437 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13435 def name @name end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
13440 13441 13442 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13440 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
13445 13446 13447 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13445 def target_page @target_page end |
#trigger_fulfillment ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment
Corresponds to the JSON property triggerFulfillment
13450 13451 13452 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13450 def trigger_fulfillment @trigger_fulfillment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13457 13458 13459 13460 13461 13462 13463 13464 13465 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13457 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 |