Retail v2 API - Class Condition.Types.QueryTerm (2.3.0)

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.

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. 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
TypeDescription
System.String