Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::Tile.
This field specifies the tile information including an attribute key, attribute value. More fields will be added in the future, eg: product id or product counts, etc.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#product_attribute_interval
def product_attribute_interval() -> ::Google::Cloud::Retail::V2::ProductAttributeInterval
Returns
- (::Google::Cloud::Retail::V2::ProductAttributeInterval) — The product attribute key-numeric interval.
#product_attribute_interval=
def product_attribute_interval=(value) -> ::Google::Cloud::Retail::V2::ProductAttributeInterval
Parameter
- value (::Google::Cloud::Retail::V2::ProductAttributeInterval) — The product attribute key-numeric interval.
Returns
- (::Google::Cloud::Retail::V2::ProductAttributeInterval) — The product attribute key-numeric interval.
#product_attribute_value
def product_attribute_value() -> ::Google::Cloud::Retail::V2::ProductAttributeValue
Returns
- (::Google::Cloud::Retail::V2::ProductAttributeValue) — The product attribute key-value.
#product_attribute_value=
def product_attribute_value=(value) -> ::Google::Cloud::Retail::V2::ProductAttributeValue
Parameter
- value (::Google::Cloud::Retail::V2::ProductAttributeValue) — The product attribute key-value.
Returns
- (::Google::Cloud::Retail::V2::ProductAttributeValue) — The product attribute key-value.
#representative_product_id
def representative_product_id() -> ::String
Returns
- (::String) — The representative product id for this tile.
#representative_product_id=
def representative_product_id=(value) -> ::String
Parameter
- value (::String) — The representative product id for this tile.
Returns
- (::String) — The representative product id for this tile.