Class GoogleCloudRetailV2CustomAttribute
A custom attribute that is not explicitly modeled in Product.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2.Data
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class GoogleCloudRetailV2CustomAttribute : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Numbers
The numerical values of this custom attribute. For example, [2.3, 15.4] when the key is "lengths_cm". At
most 400 values are allowed.Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers
should be set. Otherwise, an INVALID_ARGUMENT error is returned.
Declaration
[JsonProperty("numbers")]
public virtual IList<double?> Numbers { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.Nullable<System.Double>> |
Text
The textual values of this custom attribute. For example, ["yellow", "green"] when the key is "color". At
most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a
length limit of 256 characters. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or
numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
Declaration
[JsonProperty("text")]
public virtual IList<string> Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |