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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the available versions of \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3.VersionVariants.Types.Variant\u003c/code\u003e, with the latest version being 2.23.0 and a historical record going back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVersionVariants.Types.Variant\u003c/code\u003e is a class representing a single flow version with a specified traffic allocation, inheriting from \u003ccode\u003eObject\u003c/code\u003e and implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVariant\u003c/code\u003e class includes properties for managing traffic distribution such as \u003ccode\u003eIsControlGroup\u003c/code\u003e (a boolean indicating if the variant is for the control group), \u003ccode\u003eTrafficAllocation\u003c/code\u003e (a float representing the traffic percentage), and \u003ccode\u003eVersion\u003c/code\u003e (a string that holds the version identifier).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003eVariant\u003c/code\u003e class: a default constructor \u003ccode\u003eVariant()\u003c/code\u003e and an overloaded constructor \u003ccode\u003eVariant(VersionVariants.Types.Variant other)\u003c/code\u003e that allows creating a copy of an existing variant.\u003c/p\u003e\n"],["\u003cp\u003eThe class has methods inherited from \u003ccode\u003eObject\u003c/code\u003e such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e, these manage the basic operations within the object.\u003c/p\u003e\n"]]],[],null,[]]