Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases.
A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cases
def cases() -> ::Array<::Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases::Case>
Returns
- (::Array<::Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases::Case>) — A list of cascading if-else conditions.
#cases=
def cases=(value) -> ::Array<::Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases::Case>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases::Case>) — A list of cascading if-else conditions.
Returns
- (::Array<::Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases::Case>) — A list of cascading if-else conditions.