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 is populated in the returned list of TablesAnnotation objects. The default is false.
getName
Required. Name of the model requested to serve the prediction.
Returns
Type
Description
string
setName
Required. Name of the model requested to serve the prediction.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPayload
Required. Payload to perform a prediction on. The payload must match the
problem type that the model was trained to solve.
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
is populated in the returned list of
TablesAnnotation
objects. The default is false.
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
is populated in the returned list of
TablesAnnotation
objects. The default is false.
Required. Payload to perform a prediction on. The payload must match the
problem type that the model was trained to solve.
params
array
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
is populated in the returned list of
TablesAnnotation
objects. 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-09 UTC."],[],[],null,["# Cloud AutoML V1 Client - Class PredictRequest (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-automl/latest/V1.PredictRequest)\n- [2.0.4](/php/docs/reference/cloud-automl/2.0.4/V1.PredictRequest)\n- [1.6.5](/php/docs/reference/cloud-automl/1.6.5/V1.PredictRequest)\n- [1.5.4](/php/docs/reference/cloud-automl/1.5.4/V1.PredictRequest)\n- [1.4.17](/php/docs/reference/cloud-automl/1.4.17/V1.PredictRequest) \nReference documentation and code samples for the Cloud AutoML V1 Client class PredictRequest.\n\nRequest message for [PredictionService.Predict](/php/docs/reference/cloud-automl/latest/V1.Client.PredictionServiceClient#_Google_Cloud_AutoMl_V1_Client_PredictionServiceClient__predict__).\n\nGenerated from protobuf message `google.cloud.automl.v1.PredictRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AutoMl \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Name of the model requested to serve the prediction.\n\n### setName\n\nRequired. Name of the model requested to serve the prediction.\n\n### getPayload\n\nRequired. Payload to perform a prediction on. The payload must match the\nproblem type that the model was trained to solve.\n\n### hasPayload\n\n### clearPayload\n\n### setPayload\n\nRequired. Payload to perform a prediction on. The payload must match the\nproblem type that the model was trained to solve.\n\n### getParams\n\nAdditional domain-specific parameters, any string must be up to 25000\ncharacters long.\n\nAutoML Vision Classification\n`score_threshold`\n: (float) A value from 0.0 to 1.0. When the model\nmakes predictions for an image, it will only produce results that have\nat least this confidence score. The default is 0.5.\nAutoML Vision Object Detection\n`score_threshold`\n: (float) When Model detects objects on the image,\nit will only produce bounding boxes which have at least this\nconfidence score. Value in 0 to 1 range, default is 0.5.\n`max_bounding_box_count`\n: (int64) The maximum number of bounding\nboxes returned. The default is 100. The\nnumber of returned bounding boxes might be limited by the server.\nAutoML Tables\n`feature_importance`\n: (boolean) Whether\nfeature_importance\nis populated in the returned list of\nTablesAnnotation\nobjects. The default is false.\n\n### setParams\n\nAdditional domain-specific parameters, any string must be up to 25000\ncharacters long.\n\nAutoML Vision Classification\n`score_threshold`\n: (float) A value from 0.0 to 1.0. When the model\nmakes predictions for an image, it will only produce results that have\nat least this confidence score. The default is 0.5.\nAutoML Vision Object Detection\n`score_threshold`\n: (float) When Model detects objects on the image,\nit will only produce bounding boxes which have at least this\nconfidence score. Value in 0 to 1 range, default is 0.5.\n`max_bounding_box_count`\n: (int64) The maximum number of bounding\nboxes returned. The default is 100. The\nnumber of returned bounding boxes might be limited by the server.\nAutoML Tables\n`feature_importance`\n: (boolean) Whether\nfeature_importance\nis populated in the returned list of\nTablesAnnotation\nobjects. The default is false.\n\n### static::build"]]