Class Case (1.36.0)

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.

Attributes

Name Description
condition str
The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters][Form.parameters] or [session parameters][SessionInfo.parameters]. See the `conditions reference
case_content MutableSequence[google.cloud.dialogflowcx_v3.types.Fulfillment.ConditionalCases.Case.CaseContent]
A list of case content.

Classes

CaseContent

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

The list of messages or conditional cases to activate for this case.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields