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\u003eThe latest version available is 2.23.0, part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace, and there are many previous versions ranging from 2.22.0 down to 1.0.0 accessible within the provided data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVariant\u003c/code\u003e class represents a single flow version with a specified traffic allocation and it is a component of the \u003ccode\u003eVersionVariants.Types\u003c/code\u003e collection in the namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVariant\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eVariant\u003c/code\u003e class include \u003ccode\u003eIsControlGroup\u003c/code\u003e (boolean), \u003ccode\u003eTrafficAllocation\u003c/code\u003e (float), and \u003ccode\u003eVersion\u003c/code\u003e (string), each serving to configure traffic distribution and version identification.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for creating \u003ccode\u003eVariant\u003c/code\u003e objects, one being parameterless, and the other requiring another \u003ccode\u003eVariant\u003c/code\u003e object to duplicate its properties.\u003c/p\u003e\n"]]],[],null,[]]