Google AutoML v1 API - Class Image (3.2.0)

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

Reference documentation and code samples for the Google AutoML v1 API class Image.

A representation of an image. Only images up to 30MB in size are supported.

Inheritance

object > Image

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

Image()

public Image()

Image(Image)

public Image(Image other)
Parameter
NameDescription
otherImage

Properties

DataCase

public Image.DataOneofCase DataCase { get; }
Property Value
TypeDescription
ImageDataOneofCase

HasImageBytes

public bool HasImageBytes { get; }

Gets whether the "image_bytes" field is set

Property Value
TypeDescription
bool

ImageBytes

public ByteString ImageBytes { get; set; }

Image content represented as a stream of bytes. Note: As with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.

Property Value
TypeDescription
ByteString

ThumbnailUri

public string ThumbnailUri { get; set; }

Output only. HTTP URI to the thumbnail image.

Property Value
TypeDescription
string