public sealed class Definition : IMessage<Experiment.Types.Definition>, IEquatable<Experiment.Types.Definition>, IDeepCloneable<Experiment.Types.Definition>, IBufferMessage, IMessage
The condition defines which subset of sessions are selected for
this experiment. If not specified, all sessions are eligible. E.g.
"query_input.language_code=en" See the conditions
reference.
[[["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 \u003ccode\u003eExperiment.Types.Definition\u003c/code\u003e is 2.23.0, and there are multiple previous versions available, ranging from 2.22.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDefinition\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace, is used to define experiments and it 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\u003eThe class includes a \u003ccode\u003eCondition\u003c/code\u003e property, which allows for specifying a subset of sessions for the experiment using a string-based condition, and a \u003ccode\u003eVersionVariants\u003c/code\u003e property to define flow version variants for the experiment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDefinition\u003c/code\u003e class has two constructors, a default one, and another which takes an \u003ccode\u003eExperiment.Types.Definition\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a property \u003ccode\u003eVariantsCase\u003c/code\u003e, used to indicate which variant is currently selected, and has \u003ccode\u003eVariantsOneofCase\u003c/code\u003e as its \u003ccode\u003eType\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]