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."],[[["The webpage provides documentation for the `Variant` class within the `Google.Cloud.Dialogflow.Cx.V3` namespace, specifically version 1.7.0, but with links to versions going back as far as 1.0.0 and up to 2.23.0."],["`Variant` is a class that represents a single flow version with a specific traffic allocation in the context of Dialogflow CX, used to specify traffic routing to different versions."],["The `Variant` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for message handling, equality comparisons, deep cloning, and buffer manipulation, respectively."],["Key properties of the `Variant` class include `IsControlGroup`, a boolean indicating if the variant is a control group, `TrafficAllocation`, a float representing the percentage of traffic routed, and `Version`, a string that contains the full path to a specific flow version."],["The `Variant` class has two constructors: a default constructor and one that takes another `Variant` object as a parameter, allowing for the creation of new `Variant` instances or the creation of a copy."]]],[]]