Google AutoML v1 API - Class Image (3.4.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
Name Description
other Image

Properties

DataCase

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

HasImageBytes

public bool HasImageBytes { get; }

Gets whether the "image_bytes" field is set

Property Value
Type Description
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
Type Description
ByteString

ThumbnailUri

public string ThumbnailUri { get; set; }

Output only. HTTP URI to the thumbnail image.

Property Value
Type Description
string