Class Image (1.0.0)

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

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

Inheritance

System.Object > Image

Implements

Google.Protobuf.IMessage<Image>, System.IEquatable<Image>, Google.Protobuf.IDeepCloneable<Image>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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