From 9df383800509d1fb24fe961123011bb7cc8de450 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 8 Dec 2022 11:04:24 -0800 Subject: [PATCH] feat: add service_account to UploadModelRequest in aiplatform v1 model_service.proto PiperOrigin-RevId: 493943349 --- google/cloud/aiplatform/v1/model_service.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/google/cloud/aiplatform/v1/model_service.proto b/google/cloud/aiplatform/v1/model_service.proto index 9ea6c56c4a83e..b20d32d316613 100644 --- a/google/cloud/aiplatform/v1/model_service.proto +++ b/google/cloud/aiplatform/v1/model_service.proto @@ -218,6 +218,15 @@ message UploadModelRequest { // Required. The Model to create. Model model = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The user-provided custom service account to use to do the model + // upload. If empty, [Vertex AI Service + // Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) + // will be used. Users uploading the Model must have the + // `iam.serviceAccounts.actAs` permission on this service account. Also, this + // account must belong to the project specified in the `parent` field and have + // all necessary read permissions. + string service_account = 6 [(google.api.field_behavior) = OPTIONAL]; } // Details of [ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel] operation.