Reference documentation and code samples for the Google Cloud Retail V2 Client class 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
.
Generated from protobuf message google.cloud.retail.v2.ProductAttributeValue
Namespace
Google \ Cloud \ Retail \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The attribute name.
↳ value
string
The attribute value.
getName
The attribute name.
string
setName
The attribute name.
var
string
$this
getValue
The attribute value.
string
setValue
The attribute value.
var
string
$this