public sealed class Image : IMessage<Image>, IEquatable<Image>, IDeepCloneable<Image>, IBufferMessage, IMessage
[Product][google.cloud.retail.v2.Product] thumbnail/detail image.
Namespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
Image()
public Image()
Image(Image)
public Image(Image other)
Parameter | |
---|---|
Name | Description |
other | Image |
Properties
Height
public int Height { get; set; }
Height of the image in number of pixels.
This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
Property Value | |
---|---|
Type | Description |
Int32 |
Uri
public string Uri { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |
Width
public int Width { get; set; }
Width of the image in number of pixels.
This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
Property Value | |
---|---|
Type | Description |
Int32 |