Class: Google::Cloud::Retail::V2::Condition::QueryTerm

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/retail/v2/common.rb

Overview

Query terms that we want to match on.

Instance Attribute Summary collapse

Instance Attribute Details

#full_match::Boolean

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

Returns:

  • (::Boolean)

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



62
63
64
65
# File 'proto_docs/google/cloud/retail/v2/common.rb', line 62

class QueryTerm
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::String

Returns 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.



62
63
64
65
# File 'proto_docs/google/cloud/retail/v2/common.rb', line 62

class QueryTerm
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end