Class Fulfillment.Types.ConditionalCases.Types.Case (1.4.0)

public sealed class Case : IMessage<Fulfillment.Types.ConditionalCases.Types.Case>, IEquatable<Fulfillment.Types.ConditionalCases.Types.Case>, IDeepCloneable<Fulfillment.Types.ConditionalCases.Types.Case>, IBufferMessage, IMessage

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

Inheritance

Object > Fulfillment.Types.ConditionalCases.Types.Case

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

Case()

public Case()

Case(Fulfillment.Types.ConditionalCases.Types.Case)

public Case(Fulfillment.Types.ConditionalCases.Types.Case other)
Parameter
NameDescription
otherFulfillment.Types.ConditionalCases.Types.Case

Properties

CaseContent

public RepeatedField<Fulfillment.Types.ConditionalCases.Types.Case.Types.CaseContent> CaseContent { get; }

A list of case content.

Property Value
TypeDescription
RepeatedField<Fulfillment.Types.ConditionalCases.Types.Case.Types.CaseContent>

Condition

public string Condition { get; set; }

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.

Property Value
TypeDescription
String