public sealed class QueryTerm : IMessage<Condition.Types.QueryTerm>, IEquatable<Condition.Types.QueryTerm>, IDeepCloneable<Condition.Types.QueryTerm>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class Condition.Types.QueryTerm.
Query terms that we want to match on.
Implements
IMessage<Condition.Types.QueryTerm>, IEquatable<Condition.Types.QueryTerm>, IDeepCloneable<Condition.Types.QueryTerm>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
QueryTerm()
public QueryTerm()
QueryTerm(Condition.Types.QueryTerm)
public QueryTerm(Condition.Types.QueryTerm other)
Parameter | |
---|---|
Name | Description |
other | Condition.Types.QueryTerm |
Properties
FullMatch
public bool FullMatch { get; set; }
Whether this is supposed to be a full or partial match.
Property Value | |
---|---|
Type | Description |
Boolean |
Value
public string Value { get; set; }
The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.
Property Value | |
---|---|
Type | Description |
System.String |