Additional domain-specific parameters, any string must be up to 25000
characters long.
For Image 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.
For Image 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) No more than this number of bounding
boxes will be returned in the response. Default is 100, the
requested value may be limited by server.
For Tables:
feature_importance - (boolean) Whether feature importance
should be populated in the returned TablesAnnotation.
The default is false.
value (::Google::Protobuf::Map{::String => ::String}) —
Additional domain-specific parameters, any string must be up to 25000
characters long.
For Image 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.
For Image 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) No more than this number of bounding
boxes will be returned in the response. Default is 100, the
requested value may be limited by server.
For Tables:
feature_importance - (boolean) Whether feature importance
should be populated in the returned TablesAnnotation.
The default is false.
Returns
(::Google::Protobuf::Map{::String => ::String}) —
Additional domain-specific parameters, any string must be up to 25000
characters long.
For Image 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.
For Image 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) No more than this number of bounding
boxes will be returned in the response. Default is 100, the
requested value may be limited by server.
For Tables:
feature_importance - (boolean) Whether feature importance
should be populated in the returned TablesAnnotation.
The default is false.
[[["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-09-04 UTC."],[],[],null,["# Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::PredictRequest (v0.14.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.1 (latest)](/ruby/docs/reference/google-cloud-automl-v1beta1/latest/Google-Cloud-AutoML-V1beta1-PredictRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-automl-v1beta1/0.14.0/Google-Cloud-AutoML-V1beta1-PredictRequest)\n- [0.13.1](/ruby/docs/reference/google-cloud-automl-v1beta1/0.13.1/Google-Cloud-AutoML-V1beta1-PredictRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-automl-v1beta1/0.12.0/Google-Cloud-AutoML-V1beta1-PredictRequest)\n- [0.11.1](/ruby/docs/reference/google-cloud-automl-v1beta1/0.11.1/Google-Cloud-AutoML-V1beta1-PredictRequest)\n- [0.10.2](/ruby/docs/reference/google-cloud-automl-v1beta1/0.10.2/Google-Cloud-AutoML-V1beta1-PredictRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-automl-v1beta1/0.9.0/Google-Cloud-AutoML-V1beta1-PredictRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-automl-v1beta1/0.8.0/Google-Cloud-AutoML-V1beta1-PredictRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-automl-v1beta1/0.7.0/Google-Cloud-AutoML-V1beta1-PredictRequest)\n- [0.6.1](/ruby/docs/reference/google-cloud-automl-v1beta1/0.6.1/Google-Cloud-AutoML-V1beta1-PredictRequest)\n- [0.5.5](/ruby/docs/reference/google-cloud-automl-v1beta1/0.5.5/Google-Cloud-AutoML-V1beta1-PredictRequest) \nReference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::PredictRequest.\n\nRequest message for [PredictionService.Predict](/ruby/docs/reference/google-cloud-automl-v1beta1/latest/Google-Cloud-AutoML-V1beta1-PredictionService-Client#Google__Cloud__AutoML__V1beta1__PredictionService__Client_predict_instance_ \"Google::Cloud::AutoML::V1beta1::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\n characters long.\n\n - For Image Classification:\n\n `score_threshold` - (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 - For Image 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) No more than this number of bounding boxes will be returned in the response. Default is 100, the requested value may be limited by server.\n - For Tables: feature_importance - (boolean) Whether feature importance should be populated in the returned TablesAnnotation. 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}) ---\n\n Additional domain-specific parameters, any string must be up to 25000\n characters long.\n - For Image Classification:\n\n `score_threshold` - (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 - For Image 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) No more than this number of bounding boxes will be returned in the response. Default is 100, the requested value may be limited by server.\n- For Tables: feature_importance - (boolean) Whether feature importance should be populated in the returned TablesAnnotation. 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\n characters long.\n\n - For Image Classification:\n\n `score_threshold` - (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 - For Image 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) No more than this number of bounding boxes will be returned in the response. Default is 100, the requested value may be limited by server.\n - For Tables: feature_importance - (boolean) Whether feature importance should be populated in the returned TablesAnnotation. The default is false.\n\n### #payload\n\n def payload() -\u003e ::Google::Cloud::AutoML::V1beta1::ExamplePayload\n\n**Returns**\n\n- ([::Google::Cloud::AutoML::V1beta1::ExamplePayload](./Google-Cloud-AutoML-V1beta1-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::V1beta1::ExamplePayload\n\n**Parameter**\n\n- **value** ([::Google::Cloud::AutoML::V1beta1::ExamplePayload](./Google-Cloud-AutoML-V1beta1-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::V1beta1::ExamplePayload](./Google-Cloud-AutoML-V1beta1-ExamplePayload)) --- Required. Payload to perform a prediction on. The payload must match the problem type that the model was trained to solve."]]