PredictResponse

Response message forPredictionService.Predict.

Fields
predictions[]value (Value format)

The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels'Model'sPredictSchemata'spredictionSchemaUri.

deployedModelIdstring

id of the Endpoint's DeployedModel that served this prediction.

modelstring

Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.

modelVersionIdstring

Output only. The version id of the Model which is deployed as the DeployedModel that this prediction hits.

modelDisplayNamestring

Output only. Thedisplay name of the Model which is deployed as the DeployedModel that this prediction hits.

metadatavalue (Value format)

Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.

JSON representation
{"predictions":[value],"deployedModelId":string,"model":string,"modelVersionId":string,"modelDisplayName":string,"metadata":value}

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-27 UTC.