Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::TextClassificationPredictionInstance (v1.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::TextClassificationPredictionInstance.
Prediction input format for Text Classification.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#content
defcontent()->::String
Returns
(::String) — The text snippet to make the predictions on.
#content=
defcontent=(value)->::String
Parameter
value (::String) — The text snippet to make the predictions on.
Returns
(::String) — The text snippet to make the predictions on.
#mime_type
defmime_type()->::String
Returns
(::String) —
The MIME type of the text snippet. The supported MIME types are listed
below.
text/plain
#mime_type=
defmime_type=(value)->::String
Parameter
value (::String) —
The MIME type of the text snippet. The supported MIME types are listed
below.
text/plain
Returns
(::String) —
The MIME type of the text snippet. The supported MIME types are listed
below.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-03 UTC."],[],[]]