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 page provides documentation for the \u003ccode\u003eVersionVariants.Types.Variant\u003c/code\u003e class within the Google Cloud Dialogflow Cx v3 API, specifically within the .NET framework.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eVersionVariants.Types.Variant\u003c/code\u003e represents a single flow version with a specified traffic allocation, implementing multiple interfaces like \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\u003eThe latest version of the Dialogflow Cx v3 API available on this page is 2.23.0, with numerous older versions also being listed and accessible, down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a constructor that can take another object of the same type as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eVersionVariants.Types.Variant\u003c/code\u003e class include \u003ccode\u003eIsControlGroup\u003c/code\u003e (a boolean), \u003ccode\u003eTrafficAllocation\u003c/code\u003e (a float representing the percentage of traffic), and \u003ccode\u003eVersion\u003c/code\u003e (a string containing the version's resource name).\u003c/p\u003e\n"]]],[],null,[]]