public sealed class ImageClassificationPredictionInstance : IMessage<ImageClassificationPredictionInstance>, IEquatable<ImageClassificationPredictionInstance>, IDeepCloneable<ImageClassificationPredictionInstance>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class ImageClassificationPredictionInstance.
Prediction input format for Image Classification.
Implements
IMessageImageClassificationPredictionInstance, IEquatableImageClassificationPredictionInstance, IDeepCloneableImageClassificationPredictionInstance, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.InstanceAssembly
Google.Cloud.AIPlatform.V1Beta1.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 |
|