Class: Google::Cloud::Retail::V2::ProductAttributeValue
- Inherits:
-
Object
- Object
- Google::Cloud::Retail::V2::ProductAttributeValue
- 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
-
#name ⇒ ::String
The attribute name.
-
#value ⇒ ::String
The attribute value.
Instance Attribute Details
#name ⇒ ::String
Returns 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.
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 |