Dialogflow v3 API - Class VersionVariants.Types.Variant (2.4.0)

public sealed class 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.

Inheritance

Object > VersionVariants.Types.Variant

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
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
Single

Version

public string Version { get; set; }

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

Property Value
TypeDescription
String