Class ConditionalCases (1.27.0)

ConditionalCases(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.

Attribute

NameDescription
cases MutableSequence[google.cloud.dialogflowcx_v3.types.Fulfillment.ConditionalCases.Case]
A list of cascading if-else conditions.

Classes

Case

Case(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.