Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute
- 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::GoogleCloudDialogflowCxV3Fulfillment
Corresponds to the JSON property
triggerFulfillment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TransitionRoute
constructor
A new instance of GoogleCloudDialogflowCxV3TransitionRoute.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TransitionRoute
Returns a new instance of GoogleCloudDialogflowCxV3TransitionRoute.
8674 8675 8676 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8674 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ String
Corresponds to the JSON property condition
8642 8643 8644 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8642 def condition @condition end |
#description ⇒ String
Corresponds to the JSON property description
8647 8648 8649 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8647 def description @description end |
#intent ⇒ String
Corresponds to the JSON property intent
8652 8653 8654 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8652 def intent @intent end |
#name ⇒ String
Corresponds to the JSON property name
8657 8658 8659 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8657 def name @name end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
8662 8663 8664 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8662 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
8667 8668 8669 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8667 def target_page @target_page end |
#trigger_fulfillment ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment
Corresponds to the JSON property triggerFulfillment
8672 8673 8674 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8672 def trigger_fulfillment @trigger_fulfillment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8679 8680 8681 8682 8683 8684 8685 8686 8687 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8679 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 |