Send feedback
PredictRequest
Stay organized with collections
Save and categorize content based on your preferences.
Request message for PredictionService.Predict
.
JSON representation
{
"endpoint" : string ,
"instances" : [
value
] ,
"parameters" : value
}
Fields
endpoint
string
Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}
instances[]
value (Value
format)
Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request. In case of customer-created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified on the Endpoint's DeployedModels.
parameters
value (Value
format)
The parameters that govern the prediction. The schema of the parameters may be specified on the Endpoint's DeployedModels.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-05 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-03-05 UTC."}