Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCases
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCases
- 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
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::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase>
A list of cascading if-else conditions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FulfillmentConditionalCases
constructor
A new instance of GoogleCloudDialogflowCxV3FulfillmentConditionalCases.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FulfillmentConditionalCases
Returns a new instance of GoogleCloudDialogflowCxV3FulfillmentConditionalCases.
1257 1258 1259 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1257 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cases ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase>
A list of cascading if-else conditions.
Corresponds to the JSON property cases
1255 1256 1257 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1255 def cases @cases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1262 1263 1264 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1262 def update!(**args) @cases = args[:cases] if args.key?(:cases) end |