Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::ImageClassificationPredictionInstance.
Prediction input format for Image Classification.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String
- (::String) — The image bytes or Cloud Storage URI to make the prediction on.
#content=
def content=(value) -> ::String
- value (::String) — The image bytes or Cloud Storage URI to make the prediction on.
- (::String) — The image bytes or Cloud Storage URI to make the prediction on.
#mime_type
def mime_type() -> ::String
-
(::String) —
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
#mime_type=
def mime_type=(value) -> ::String
-
value (::String) —
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
-
(::String) —
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