Skip to content

Commit 62e4ecb

Browse files
Google APIscopybara-github
authored andcommitted
feat: Model Registry CopyModel BYOSA
PiperOrigin-RevId: 899215526
1 parent 8c6e404 commit 62e4ecb

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/model_service.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,18 @@ message CopyModelRequest {
768768
// Customer-managed encryption key options. If this is set,
769769
// then the Model copy will be encrypted with the provided encryption key.
770770
EncryptionSpec encryption_spec = 3;
771+
772+
// Optional. The user-provided custom service account to use to do the copy
773+
// model. If empty, [Vertex AI Service
774+
// Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents)
775+
// will be used to access resources needed to upload the model. This account
776+
// must belong to the destination project where the model is copied to,
777+
// i.e., the project specified in the `parent` field of this request and
778+
// have the Vertex AI Service Agent role in the source project.
779+
//
780+
// Requires the user copying the Model to have the
781+
// `iam.serviceAccounts.actAs` permission on this service account.
782+
string custom_service_account = 7 [(google.api.field_behavior) = OPTIONAL];
771783
}
772784

773785
// Details of

0 commit comments

Comments
 (0)