Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TransitionRoute
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TransitionRoute
- 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::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.
2762 2763 2764 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2762 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ String
Corresponds to the JSON property condition
2730 2731 2732 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2730 def condition @condition end |
#description ⇒ String
Corresponds to the JSON property description
2735 2736 2737 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2735 def description @description end |
#intent ⇒ String
Corresponds to the JSON property intent
2740 2741 2742 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2740 def intent @intent end |
#name ⇒ String
Corresponds to the JSON property name
2745 2746 2747 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2745 def name @name end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
2750 2751 2752 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2750 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
2755 2756 2757 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2755 def target_page @target_page end |
#trigger_fulfillment ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment
Corresponds to the JSON property triggerFulfillment
2760 2761 2762 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2760 def trigger_fulfillment @trigger_fulfillment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2767 2768 2769 2770 2771 2772 2773 2774 2775 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2767 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 |