Class GoogleCloudRetailV2alphaImage
Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha.Data
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class GoogleCloudRetailV2alphaImage : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Height
Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
Declaration
[JsonProperty("height")]
public virtual int? Height { get; set; }
Property Value
Type | Description |
---|---|
int? |
Uri
Required. URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property image_link. Schema.org property Product.image.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type | Description |
---|---|
string |
Width
Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
Declaration
[JsonProperty("width")]
public virtual int? Width { get; set; }
Property Value
Type | Description |
---|---|
int? |