Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v3/classes.rb,
generated/google/apis/dialogflow_v3/representations.rb,
generated/google/apis/dialogflow_v3/representations.rb
Overview
A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
Instance Attribute Summary collapse
-
#cases ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase>
A list of cascading if-else conditions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases
constructor
A new instance of GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases
Returns a new instance of GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases.
5182 5183 5184 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 5182 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cases ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase>
A list of cascading if-else conditions.
Corresponds to the JSON property cases
5180 5181 5182 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 5180 def cases @cases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5187 5188 5189 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 5187 def update!(**args) @cases = args[:cases] if args.key?(:cases) end |