Skip to content

Commit

Permalink
feat: add model_version_id to BatchPredictionJob in aiplatform v1 bat…
Browse files Browse the repository at this point in the history
…ch_prediction_job.proto

feat: add model_version_id to DeployedModel in aiplatform v1 endpoint.proto

feat: add model_version_id to PredictResponse in aiplatform v1 prediction_service.proto
PiperOrigin-RevId: 456571762
  • Loading branch information
Google APIs authored and Copybara-Service committed Jun 22, 2022
1 parent fb1c7ff commit 19bd392
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions google/cloud/aiplatform/v1/batch_prediction_job.proto
Expand Up @@ -166,6 +166,9 @@ message BatchPredictionJob {
type: "aiplatform.googleapis.com/Model"
}];

// Output only. The version ID of the Model that produces the predictions via this job.
string model_version_id = 30 [(google.api.field_behavior) = OUTPUT_ONLY];

// Contains model information necessary to perform batch prediction without
// requiring uploading to model registry.
// Exactly one of model and unmanaged_container_model must be set.
Expand Down
3 changes: 3 additions & 0 deletions google/cloud/aiplatform/v1/endpoint.proto
Expand Up @@ -166,6 +166,9 @@ message DeployedModel {
}
];

// Output only. The version ID of the model that is deployed.
string model_version_id = 18 [(google.api.field_behavior) = OUTPUT_ONLY];

// The display name of the DeployedModel. If not provided upon creation,
// the Model's display_name is used.
string display_name = 3;
Expand Down
4 changes: 4 additions & 0 deletions google/cloud/aiplatform/v1/prediction_service.proto
Expand Up @@ -133,6 +133,10 @@ message PredictResponse {
}
];

// Output only. The version ID of the Model which is deployed as the DeployedModel that
// this prediction hits.
string model_version_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The [display name][google.cloud.aiplatform.v1.Model.display_name] of the Model which is deployed as
// the DeployedModel that this prediction hits.
string model_display_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
Expand Down

0 comments on commit 19bd392

Please sign in to comment.