public sealed class ProductAttributeValue : IMessage<ProductAttributeValue>, IEquatable<ProductAttributeValue>, IDeepCloneable<ProductAttributeValue>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API 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
.
Implements
IMessageProductAttributeValue, IEquatableProductAttributeValue, IDeepCloneableProductAttributeValue, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
ProductAttributeValue()
public ProductAttributeValue()
ProductAttributeValue(ProductAttributeValue)
public ProductAttributeValue(ProductAttributeValue other)
Parameter | |
---|---|
Name | Description |
other |
ProductAttributeValue |
Properties
Name
public string Name { get; set; }
The attribute name.
Property Value | |
---|---|
Type | Description |
string |
Value
public string Value { get; set; }
The attribute value.
Property Value | |
---|---|
Type | Description |
string |