Class Condition.Types.QueryTerm (2.2.0)

public sealed class QueryTerm : IMessage<Condition.Types.QueryTerm>, IEquatable<Condition.Types.QueryTerm>, IDeepCloneable<Condition.Types.QueryTerm>, IBufferMessage, IMessage

Query terms that we want to match on.

Inheritance

Object > Condition.Types.QueryTerm

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

QueryTerm()

public QueryTerm()

QueryTerm(Condition.Types.QueryTerm)

public QueryTerm(Condition.Types.QueryTerm other)
Parameter
NameDescription
otherCondition.Types.QueryTerm

Properties

FullMatch

public bool FullMatch { get; set; }

Whether this is supposed to be a full or partial match.

Property Value
TypeDescription
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. Example) "a b c" is 3 terms and allowed, " a b c d" is 4 terms and not allowed for partial match.

Property Value
TypeDescription
String