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 webpage provides documentation for the \u003ccode\u003eVersionVariants.Types.Variant\u003c/code\u003e class within the Dialogflow v3 API, detailing its structure and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.23.0, while the page itself is specific to version 2.9.0 of the API, with many other prior version available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVersionVariants.Types.Variant\u003c/code\u003e class represents a single flow version with specified traffic allocation, allowing you to control how traffic is distributed among different versions.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eVariant\u003c/code\u003e class include \u003ccode\u003eIsControlGroup\u003c/code\u003e, \u003ccode\u003eTrafficAllocation\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e, enabling control group designation, traffic percentage allocation, and version identification, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVariant\u003c/code\u003e class implements several 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 it with core functionality for message handling, comparison, deep cloning and buffered interactions.\u003c/p\u003e\n"]]],[],null,[]]