Show / Hide Table of Contents

Class GoogleCloudRetailV2CustomAttribute

A custom attribute that is not explicitly modeled in Product.

Inheritance
System.Object
GoogleCloudRetailV2CustomAttribute
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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, [&quot;yellow&quot;, &quot;green&quot;] 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>

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top