public sealed class VersionVariants.Types.Variant : IMessage<VersionVariants.Types.Variant>, IEquatable<VersionVariants.Types.Variant>, IDeepCloneable<VersionVariants.Types.Variant>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class VersionVariants.Types.Variant.
A single flow version with specified traffic allocation.
Implements
IMessageVersionVariantsTypesVariant, IEquatableVersionVariantsTypesVariant, IDeepCloneableVersionVariantsTypesVariant, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
Variant()
public Variant()
Variant(Variant)
public Variant(VersionVariants.Types.Variant other)
Parameter | |
---|---|
Name | Description |
other |
VersionVariantsTypesVariant |
Properties
IsControlGroup
public bool IsControlGroup { get; set; }
Whether the variant is for the control group.
Property Value | |
---|---|
Type | Description |
bool |
TrafficAllocation
public float TrafficAllocation { get; set; }
Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
Property Value | |
---|---|
Type | Description |
float |
Version
public string Version { get; set; }
The name of the flow version.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>
.
Property Value | |
---|---|
Type | Description |
string |