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 webpage documents the \u003ccode\u003eVariant\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace, which represents a single flow version with specified traffic allocation in the Google Cloud Dialogflow CX environment.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists multiple versions of the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3.VersionVariants.Types.Variant\u003c/code\u003e class, from version 1.0.0 up to the latest version, 2.23.0, providing links to the documentation for each.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVariant\u003c/code\u003e class, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, is used to define traffic distribution and manage flow versioning, and includes constructors for creating instances of itself.\u003c/p\u003e\n"],["\u003cp\u003eThe class exposes properties including \u003ccode\u003eIsControlGroup\u003c/code\u003e, \u003ccode\u003eTrafficAllocation\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e, which allow control over designating a variant for the control group, how traffic is allocated, and the version ID, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe content contains a list of all the inherited members, such as: \u003ccode\u003eObject.GetHashCode()\u003c/code\u003e, \u003ccode\u003eObject.GetType()\u003c/code\u003e, \u003ccode\u003eObject.MemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eObject.ToString()\u003c/code\u003e, giving extra information about the inherited members.\u003c/p\u003e\n"]]],[],null,[]]