Skip to content

Commit 19bd392

Browse files
Google APIscopybara-github
authored andcommitted
feat: add model_version_id to BatchPredictionJob in aiplatform v1 batch_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
1 parent fb1c7ff commit 19bd392

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/batch_prediction_job.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ message BatchPredictionJob {
166166
type: "aiplatform.googleapis.com/Model"
167167
}];
168168

169+
// Output only. The version ID of the Model that produces the predictions via this job.
170+
string model_version_id = 30 [(google.api.field_behavior) = OUTPUT_ONLY];
171+
169172
// Contains model information necessary to perform batch prediction without
170173
// requiring uploading to model registry.
171174
// Exactly one of model and unmanaged_container_model must be set.

google/cloud/aiplatform/v1/endpoint.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ message DeployedModel {
166166
}
167167
];
168168

169+
// Output only. The version ID of the model that is deployed.
170+
string model_version_id = 18 [(google.api.field_behavior) = OUTPUT_ONLY];
171+
169172
// The display name of the DeployedModel. If not provided upon creation,
170173
// the Model's display_name is used.
171174
string display_name = 3;

google/cloud/aiplatform/v1/prediction_service.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ message PredictResponse {
133133
}
134134
];
135135

136+
// Output only. The version ID of the Model which is deployed as the DeployedModel that
137+
// this prediction hits.
138+
string model_version_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
139+
136140
// Output only. The [display name][google.cloud.aiplatform.v1.Model.display_name] of the Model which is deployed as
137141
// the DeployedModel that this prediction hits.
138142
string model_display_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY];

0 commit comments

Comments
 (0)