Class VersionVariants.Types.Variant (1.0.0)

public sealed class Variant : IMessage<VersionVariants.Types.Variant>, IEquatable<VersionVariants.Types.Variant>, IDeepCloneable<VersionVariants.Types.Variant>, IBufferMessage, IMessage

A single flow version with specified traffic allocation.

Inheritance

System.Object > VersionVariants.Types.Variant

Implements

Google.Protobuf.IMessage<VersionVariants.Types.Variant>, System.IEquatable<VersionVariants.Types.Variant>, Google.Protobuf.IDeepCloneable<VersionVariants.Types.Variant>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

Variant()

public Variant()

Variant(VersionVariants.Types.Variant)

public Variant(VersionVariants.Types.Variant other)
Parameter
NameDescription
otherVersionVariants.Types.Variant

Properties

IsControlGroup

public bool IsControlGroup { get; set; }

Whether the variant is for the control group.

Property Value
TypeDescription
System.Boolean

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
TypeDescription
System.Single

Version

public string Version { get; set; }

The name of the flow version. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/flows/&lt;Flow ID>/versions/&lt;Version ID>.

Property Value
TypeDescription
System.String