Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::ImageSegmentationPredictionInstance (v1.38.0)
Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::ImageSegmentationPredictionInstance.
Prediction input format for Image Segmentation.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#content
defcontent()->::String
Returns
(::String) — The image bytes to make the predictions on.
#content=
defcontent=(value)->::String
Parameter
value (::String) — The image bytes to make the predictions on.
Returns
(::String) — The image bytes to make the predictions on.
#mime_type
defmime_type()->::String
Returns
(::String) —
The MIME type of the content of the image. Only the images in below listed
MIME types are supported.
image/jpeg
image/png
#mime_type=
defmime_type=(value)->::String
Parameter
value (::String) —
The MIME type of the content of the image. Only the images in below listed
MIME types are supported.
image/jpeg
image/png
Returns
(::String) —
The MIME type of the content of the image. Only the images in below listed
MIME types are supported.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-31 UTC."],[],[]]