Cloud AI Platform v1 API - Class ImageClassificationPredictionInstance (3.11.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class ImageClassificationPredictionInstance.

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
Name Description
other ImageClassificationPredictionInstance

Properties

Content

public string Content { get; set; }

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

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