Class: Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::ImageClassificationPredictionInstance
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::ImageClassificationPredictionInstance
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.rb
Overview
Prediction input format for Image Classification.
Instance Attribute Summary collapse
-
#content ⇒ ::String
The image bytes or Cloud Storage URI to make the prediction on.
-
#mime_type ⇒ ::String
The MIME type of the content of the image.
Instance Attribute Details
#content ⇒ ::String
Returns The image bytes or Cloud Storage URI to make the prediction on.
42 43 44 45 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.rb', line 42 class ImageClassificationPredictionInstance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mime_type ⇒ ::String
Returns 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.
42 43 44 45 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.rb', line 42 class ImageClassificationPredictionInstance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |