Optional. Query regex to match the whole search query.
Cannot be set when
[Condition.query_terms][google.cloud.discoveryengine.v1beta.Condition.query_terms]
is set. This is currently supporting promotion use case.
public RepeatedField<Condition.Types.QueryTerm> QueryTerms { get; }
Search only
A list of terms to match the query on.
Cannot be set when
[Condition.query_regex][google.cloud.discoveryengine.v1beta.Condition.query_regex]
is set.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eCondition\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API, specifically the latest version 1.0.0-beta18.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCondition\u003c/code\u003e class is used to define the criteria that must be met before a particular behavior is allowed within the Discovery Engine.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the .NET \u003ccode\u003eobject\u003c/code\u003e class and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties such as \u003ccode\u003eActiveTimeRange\u003c/code\u003e, which specifies timeframes for when the condition is active, \u003ccode\u003eQueryRegex\u003c/code\u003e, for matching search queries with a regular expression, and \u003ccode\u003eQueryTerms\u003c/code\u003e, a list of search query terms.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eCondition\u003c/code\u003e class: a parameterless constructor and one that takes another \u003ccode\u003eCondition\u003c/code\u003e object as a parameter for creating a copy.\u003c/p\u003e\n"]]],[],null,[]]