Skip to content

Commit

Permalink
feat: add service_account to UploadModelRequest in aiplatform v1 mode…
Browse files Browse the repository at this point in the history
…l_service.proto

PiperOrigin-RevId: 493943349
  • Loading branch information
Google APIs authored and Copybara-Service committed Dec 8, 2022
1 parent a5b266a commit 9df3838
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions google/cloud/aiplatform/v1/model_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9df3838

Please sign in to comment.