Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TransitionRoute
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TransitionRoute
- 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
-
#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::DialogflowV3::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.
12455 12456 12457 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12455 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ String
Corresponds to the JSON property condition
12423 12424 12425 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12423 def condition @condition end |
#description ⇒ String
Corresponds to the JSON property description
12428 12429 12430 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12428 def description @description end |
#intent ⇒ String
Corresponds to the JSON property intent
12433 12434 12435 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12433 def intent @intent end |
#name ⇒ String
Corresponds to the JSON property name
12438 12439 12440 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12438 def name @name end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
12443 12444 12445 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12443 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
12448 12449 12450 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12448 def target_page @target_page end |
#trigger_fulfillment ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment
Corresponds to the JSON property triggerFulfillment
12453 12454 12455 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12453 def trigger_fulfillment @trigger_fulfillment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12460 12461 12462 12463 12464 12465 12466 12467 12468 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12460 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 |