Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v3beta1/classes.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb,
generated/google/apis/dialogflow_v3beta1/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::DialogflowV3beta1::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.
3625 3626 3627 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3625 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cases ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase>
A list of cascading if-else conditions.
Corresponds to the JSON property cases
3623 3624 3625 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3623 def cases @cases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3630 3631 3632 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3630 def update!(**args) @cases = args[:cases] if args.key?(:cases) end |