Class: Google::Cloud::Retail::V2::ProductAttributeValue

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

Overview

Product attribute which structured by an attribute name and value. This structure is used in conversational search filters and answers. For example, if we have name=color and value=red, this means that the color is red.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns The attribute name.

Returns:

  • (::String)

    The attribute name.



33
34
35
36
# File 'proto_docs/google/cloud/retail/v2/search_service.rb', line 33

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

#value::String

Returns The attribute value.

Returns:

  • (::String)

    The attribute value.



33
34
35
36
# File 'proto_docs/google/cloud/retail/v2/search_service.rb', line 33

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