- 1.35.0 (latest)
- 1.34.0
- 1.33.0
- 1.32.1
- 1.31.0
- 1.30.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.1
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.39.0
- 0.38.0
- 0.37.1
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.2
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.1
- 0.10.0
Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PredictResponse.
Response message for PredictionService.Predict .
Generated from protobuf message google.cloud.aiplatform.v1.PredictResponse
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ predictions
array<Google\Protobuf\Value>
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' Model's PredictSchemata's prediction_schema_uri .
↳ deployed_model_id
string
ID of the Endpoint's DeployedModel that served this prediction.
↳ model
string
Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.
↳ model_version_id
string
Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.
↳ model_display_name
string
Output only. The display name of the Model which is deployed as the DeployedModel that this prediction hits.
getPredictions
The predictions that are the output of the predictions call.
The schema of any single prediction may be specified via Endpoint's DeployedModels' Model's PredictSchemata's prediction_schema_uri .
Generated from protobuf field repeated .google.protobuf.Value predictions = 1;
Google\Protobuf\Internal\RepeatedField
setPredictions
The predictions that are the output of the predictions call.
The schema of any single prediction may be specified via Endpoint's DeployedModels' Model's PredictSchemata's prediction_schema_uri .
Generated from protobuf field repeated .google.protobuf.Value predictions = 1;
var
array<Google\Protobuf\Value>
$this
getDeployedModelId
ID of the Endpoint's DeployedModel that served this prediction.
Generated from protobuf field string deployed_model_id = 2;
string
setDeployedModelId
ID of the Endpoint's DeployedModel that served this prediction.
Generated from protobuf field string deployed_model_id = 2;
var
string
$this
getModel
Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.
Generated from protobuf field string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
string
setModel
Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.
Generated from protobuf field string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
var
string
$this
getModelVersionId
Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.
Generated from protobuf field string model_version_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setModelVersionId
Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.
Generated from protobuf field string model_version_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this
getModelDisplayName
Output only. The display name of the Model which is deployed as the DeployedModel that this prediction hits.
Generated from protobuf field string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setModelDisplayName
Output only. The display name of the Model which is deployed as the DeployedModel that this prediction hits.
Generated from protobuf field string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this