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 different versions of \u003ccode\u003eVersionVariants.Types.Variant\u003c/code\u003e within the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace, ranging from version 1.0.0 to the latest version 2.23.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVariant\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVariant\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities like deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eVariant\u003c/code\u003e class include \u003ccode\u003eIsControlGroup\u003c/code\u003e, to determine if it's a control group; \u003ccode\u003eTrafficAllocation\u003c/code\u003e, which sets the traffic percentage; and \u003ccode\u003eVersion\u003c/code\u003e, specifying the flow version's resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVariant\u003c/code\u003e class provides two constructors that allow for creating a new \u003ccode\u003eVariant\u003c/code\u003e object either by using default values, or by copying properties from another \u003ccode\u003eVariant\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]