Retail V2 API - Class Google::Cloud::Retail::V2::ProductAttributeValue (v1.1.0)

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

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — The attribute name.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The attribute name.
Returns
  • (::String) — The attribute name.

#value

def value() -> ::String
Returns
  • (::String) — The attribute value.

#value=

def value=(value) -> ::String
Parameter
  • value (::String) — The attribute value.
Returns
  • (::String) — The attribute value.