(::Google::Protobuf::Map{::String => ::String}) — Additional domain-specific parameters, any string must be up to 25000
characters long.
AutoML Vision Classification
score_threshold
: (float) A value from 0.0 to 1.0. When the model
makes predictions for an image, it will only produce results that have
at least this confidence score. The default is 0.5.
AutoML Vision Object Detection
score_threshold
: (float) When Model detects objects on the image,
it will only produce bounding boxes which have at least this
confidence score. Value in 0 to 1 range, default is 0.5.
max_bounding_box_count
: (int64) The maximum number of bounding
boxes returned. The default is 100. The
number of returned bounding boxes might be limited by the server.
AutoML Tables
feature_importance
: (boolean) Whether
[feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
is populated in the returned list of
[TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
objects. The default is false.
value (::Google::Protobuf::Map{::String => ::String}) — Additional domain-specific parameters, any string must be up to 25000
characters long.
AutoML Vision Classification
score_threshold
: (float) A value from 0.0 to 1.0. When the model
makes predictions for an image, it will only produce results that have
at least this confidence score. The default is 0.5.
AutoML Vision Object Detection
score_threshold
: (float) When Model detects objects on the image,
it will only produce bounding boxes which have at least this
confidence score. Value in 0 to 1 range, default is 0.5.
max_bounding_box_count
: (int64) The maximum number of bounding
boxes returned. The default is 100. The
number of returned bounding boxes might be limited by the server.
AutoML Tables
feature_importance
: (boolean) Whether
[feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
is populated in the returned list of
[TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
objects. The default is false.
Returns
(::Google::Protobuf::Map{::String => ::String}) — Additional domain-specific parameters, any string must be up to 25000
characters long.
AutoML Vision Classification
score_threshold
: (float) A value from 0.0 to 1.0. When the model
makes predictions for an image, it will only produce results that have
at least this confidence score. The default is 0.5.
AutoML Vision Object Detection
score_threshold
: (float) When Model detects objects on the image,
it will only produce bounding boxes which have at least this
confidence score. Value in 0 to 1 range, default is 0.5.
max_bounding_box_count
: (int64) The maximum number of bounding
boxes returned. The default is 100. The
number of returned bounding boxes might be limited by the server.
AutoML Tables
feature_importance
: (boolean) Whether
[feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
is populated in the returned list of
[TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
objects. The default is false.
value (::Google::Cloud::AutoML::V1::ExamplePayload) — Required. Payload to perform a prediction on. The payload must match the
problem type that the model was trained to solve.
[[["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 2025-08-28 UTC."],[],[],null,["# Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::PredictRequest (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-PredictRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-automl-v1/1.3.0/Google-Cloud-AutoML-V1-PredictRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-automl-v1/1.2.1/Google-Cloud-AutoML-V1-PredictRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-automl-v1/1.1.0/Google-Cloud-AutoML-V1-PredictRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-automl-v1/1.0.1/Google-Cloud-AutoML-V1-PredictRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-automl-v1/0.10.0/Google-Cloud-AutoML-V1-PredictRequest)\n- [0.9.2](/ruby/docs/reference/google-cloud-automl-v1/0.9.2/Google-Cloud-AutoML-V1-PredictRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-automl-v1/0.8.0/Google-Cloud-AutoML-V1-PredictRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-automl-v1/0.7.0/Google-Cloud-AutoML-V1-PredictRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-automl-v1/0.6.0/Google-Cloud-AutoML-V1-PredictRequest)\n- [0.5.1](/ruby/docs/reference/google-cloud-automl-v1/0.5.1/Google-Cloud-AutoML-V1-PredictRequest)\n- [0.4.8](/ruby/docs/reference/google-cloud-automl-v1/0.4.8/Google-Cloud-AutoML-V1-PredictRequest) \nReference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::PredictRequest.\n\nRequest message for [PredictionService.Predict](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-PredictionService-Client#Google__Cloud__AutoML__V1__PredictionService__Client_predict_instance_ \"Google::Cloud::AutoML::V1::PredictionService::Client#predict (method)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Name of the model requested to serve the prediction.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Name of the model requested to serve the prediction. \n**Returns**\n\n- (::String) --- Required. Name of the model requested to serve the prediction.\n\n### #params\n\n def params() -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Additional domain-specific parameters, any string must be up to 25000 characters long.\n\n AutoML Vision Classification\n\n `score_threshold`\n : (float) A value from 0.0 to 1.0. When the model\n makes predictions for an image, it will only produce results that have\n at least this confidence score. The default is 0.5.\n\n AutoML Vision Object Detection\n\n `score_threshold`\n : (float) When Model detects objects on the image,\n it will only produce bounding boxes which have at least this\n confidence score. Value in 0 to 1 range, default is 0.5.\n\n `max_bounding_box_count`\n : (int64) The maximum number of bounding\n boxes returned. The default is 100. The\n number of returned bounding boxes might be limited by the server.\n\n AutoML Tables\n\n `feature_importance`\n : (boolean) Whether\n \\[feature_importance\\]\\[google.cloud.automl.v1.TablesModelColumnInfo.feature_importance\\]\n is populated in the returned list of\n \\[TablesAnnotation\\]\\[google.cloud.automl.v1.TablesAnnotation\\]\n objects. The default is false.\n\n### #params=\n\n def params=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Additional domain-specific parameters, any string must be up to 25000 characters long.\n\n\n AutoML Vision Classification\n\n `score_threshold`\n : (float) A value from 0.0 to 1.0. When the model\n makes predictions for an image, it will only produce results that have\n at least this confidence score. The default is 0.5.\n\n AutoML Vision Object Detection\n\n `score_threshold`\n : (float) When Model detects objects on the image,\n it will only produce bounding boxes which have at least this\n confidence score. Value in 0 to 1 range, default is 0.5.\n\n `max_bounding_box_count`\n : (int64) The maximum number of bounding\n boxes returned. The default is 100. The\n number of returned bounding boxes might be limited by the server.\n\n AutoML Tables\n\n `feature_importance`\n : (boolean) Whether\n \\[feature_importance\\]\\[google.cloud.automl.v1.TablesModelColumnInfo.feature_importance\\]\n is populated in the returned list of\n \\[TablesAnnotation\\]\\[google.cloud.automl.v1.TablesAnnotation\\]\nobjects. The default is false. \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Additional domain-specific parameters, any string must be up to 25000 characters long.\n\n AutoML Vision Classification\n\n `score_threshold`\n : (float) A value from 0.0 to 1.0. When the model\n makes predictions for an image, it will only produce results that have\n at least this confidence score. The default is 0.5.\n\n AutoML Vision Object Detection\n\n `score_threshold`\n : (float) When Model detects objects on the image,\n it will only produce bounding boxes which have at least this\n confidence score. Value in 0 to 1 range, default is 0.5.\n\n `max_bounding_box_count`\n : (int64) The maximum number of bounding\n boxes returned. The default is 100. The\n number of returned bounding boxes might be limited by the server.\n\n AutoML Tables\n\n `feature_importance`\n : (boolean) Whether\n \\[feature_importance\\]\\[google.cloud.automl.v1.TablesModelColumnInfo.feature_importance\\]\n is populated in the returned list of\n \\[TablesAnnotation\\]\\[google.cloud.automl.v1.TablesAnnotation\\]\n objects. The default is false.\n\n### #payload\n\n def payload() -\u003e ::Google::Cloud::AutoML::V1::ExamplePayload\n\n**Returns**\n\n- ([::Google::Cloud::AutoML::V1::ExamplePayload](./Google-Cloud-AutoML-V1-ExamplePayload)) --- Required. Payload to perform a prediction on. The payload must match the problem type that the model was trained to solve.\n\n### #payload=\n\n def payload=(value) -\u003e ::Google::Cloud::AutoML::V1::ExamplePayload\n\n**Parameter**\n\n- **value** ([::Google::Cloud::AutoML::V1::ExamplePayload](./Google-Cloud-AutoML-V1-ExamplePayload)) --- Required. Payload to perform a prediction on. The payload must match the problem type that the model was trained to solve. \n**Returns**\n\n- ([::Google::Cloud::AutoML::V1::ExamplePayload](./Google-Cloud-AutoML-V1-ExamplePayload)) --- Required. Payload to perform a prediction on. The payload must match the problem type that the model was trained to solve."]]