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.
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."],[[["This document outlines the different versions of `VersionVariants.Types.Variant` within the `Google.Cloud.Dialogflow.Cx.V3` namespace, ranging from version 1.0.0 to the latest version 2.23.0."],["The `Variant` class, implemented as a sealed class, is used to manage traffic allocation to different flow versions and includes methods and properties related to managing versions."],["The `Variant` class inherits from `Object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities like deep cloning and message handling."],["Key properties of the `Variant` class include `IsControlGroup`, to determine if it's a control group; `TrafficAllocation`, which sets the traffic percentage; and `Version`, specifying the flow version's resource name."],["The `Variant` class provides two constructors that allow for creating a new `Variant` object either by using default values, or by copying properties from another `Variant` object."]]],[]]