Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TransitionRoute
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TransitionRoute
- 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::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.
2774 2775 2776 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2774 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ String
Corresponds to the JSON property condition
2742 2743 2744 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2742 def condition @condition end |
#description ⇒ String
Corresponds to the JSON property description
2747 2748 2749 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2747 def description @description end |
#intent ⇒ String
Corresponds to the JSON property intent
2752 2753 2754 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2752 def intent @intent end |
#name ⇒ String
Corresponds to the JSON property name
2757 2758 2759 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2757 def name @name end |
#target_flow ⇒ String
Corresponds to the JSON property targetFlow
2762 2763 2764 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2762 def target_flow @target_flow end |
#target_page ⇒ String
Corresponds to the JSON property targetPage
2767 2768 2769 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2767 def target_page @target_page end |
#trigger_fulfillment ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Fulfillment
Corresponds to the JSON property triggerFulfillment
2772 2773 2774 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2772 def trigger_fulfillment @trigger_fulfillment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2779 2780 2781 2782 2783 2784 2785 2786 2787 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2779 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 |