Retail V2 API - Class Google::Cloud::Retail::V2::Condition::QueryTerm (v0.18.0)

Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::Condition::QueryTerm.

Query terms that we want to match on.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#full_match

def full_match() -> ::Boolean
Returns
  • (::Boolean) — Whether this is supposed to be a full or partial match.

#full_match=

def full_match=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether this is supposed to be a full or partial match.
Returns
  • (::Boolean) — Whether this is supposed to be a full or partial match.

#value

def value() -> ::String
Returns
  • (::String) — 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.

#value=

def value=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.