public sealed class VersionVariants.Types.Variant : IMessage<VersionVariants.Types.Variant>, IEquatable<VersionVariants.Types.Variant>, IDeepCloneable<VersionVariants.Types.Variant>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class VersionVariants.Types.Variant.
A single flow version with specified traffic allocation.
[[["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 of the Dialogflow v3 API class VersionVariants.Types.Variant is 2.23.0, with numerous earlier versions available for reference, spanning from 1.0.0 to the present 2.23.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVersionVariants.Types.Variant\u003c/code\u003e class, which implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, represents a single flow version with specific traffic allocation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVariant\u003c/code\u003e class includes properties like \u003ccode\u003eIsControlGroup\u003c/code\u003e, which indicates if the variant is part of the control group, \u003ccode\u003eTrafficAllocation\u003c/code\u003e, which specifies the traffic percentage directed to the version, and \u003ccode\u003eVersion\u003c/code\u003e, which denotes the unique identifier of the flow version.\u003c/p\u003e\n"],["\u003cp\u003eThere are 2 constructors for the class Variant, one being a default constructor and the other an overloaded constructor which takes in another Variant as an argument to initialize this new object.\u003c/p\u003e\n"],["\u003cp\u003eThe class is under the namespace \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e and is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]