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.
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
System.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>.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version available is 2.23.0, part of the `Google.Cloud.Dialogflow.Cx.V3` namespace."],["This document lists numerous versions of `VersionVariants.Types.Variant`, starting from 1.0.0 up to the most recent 2.23.0."],["The `Variant` class represents a single flow version with specific traffic allocation settings, and implements interfaces like `IMessage` and `IDeepCloneable`."],["The `Variant` class has properties such as `IsControlGroup`, `TrafficAllocation`, and `Version`, allowing for control group designation, traffic percentage routing, and flow version identification, respectively."],["The class provides two constructors, one default and one that accepts another `Variant` as a parameter, and is contained within the `Google.Cloud.Dialogflow.Cx.V3.dll` assembly."]]],[]]