public sealed class Image : IMessage<Image>, IEquatable<Image>, IDeepCloneable<Image>, IBufferMessage, IMessage
[Product][google.cloud.retail.v2.Product] thumbnail/detail image.
Inheritance
System.Object > ImageImplements
Google.Protobuf.IMessage<Image>, System.IEquatable<Image>, Google.Protobuf.IDeepCloneable<Image>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
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 |
System.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 |
System.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 |
System.Int32 |