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
System.Object > Fulfillment.Types.ConditionalCases.Types.CaseImplements
Google.Protobuf.IMessage<Fulfillment.Types.ConditionalCases.Types.Case>, System.IEquatable<Fulfillment.Types.ConditionalCases.Types.Case>, Google.Protobuf.IDeepCloneable<Fulfillment.Types.ConditionalCases.Types.Case>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
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 | |
---|---|
Name | Description |
other | Fulfillment.Types.ConditionalCases.Types.Case |
Properties
CaseContent
public RepeatedField<Fulfillment.Types.ConditionalCases.Types.Case.Types.CaseContent> CaseContent { get; }
A list of case content.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.Collections.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 | |
---|---|
Type | Description |
System.String |