Class Image (1.3.0)

public sealed class Image : IMessage<Image>, IEquatable<Image>, IDeepCloneable<Image>, IBufferMessage, IMessage

[Product][google.cloud.retail.v2.Product] thumbnail/detail image.

Inheritance

Object > Image

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

Image()

public Image()

Image(Image)

public Image(Image other)
Parameter
NameDescription
otherImage

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
TypeDescription
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
TypeDescription
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
TypeDescription
Int32