Class ImageClassificationPredictionInstance (2.0.0)

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

Prediction input format for Image Classification.

Inheritance

Object > ImageClassificationPredictionInstance

Namespace

Google.Cloud.AIPlatform.V1.Schema.Predict.Instance

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

ImageClassificationPredictionInstance()

public ImageClassificationPredictionInstance()

ImageClassificationPredictionInstance(ImageClassificationPredictionInstance)

public ImageClassificationPredictionInstance(ImageClassificationPredictionInstance other)
Parameter
NameDescription
otherImageClassificationPredictionInstance

Properties

Content

public string Content { get; set; }

The image bytes or Cloud Storage URI to make the prediction on.

Property Value
TypeDescription
String

MimeType

public string MimeType { get; set; }

The MIME type of the content of the image. Only the images in below listed MIME types are supported.

  • image/jpeg
  • image/gif
  • image/png
  • image/webp
  • image/bmp
  • image/tiff
  • image/vnd.microsoft.icon
Property Value
TypeDescription
String