Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5f39e35

Browse files
Google APIscopybara-github
authored andcommitted
feat: new field CopyModelRequest.custome_service_account for Model Registry CopyModel BYOSA
PiperOrigin-RevId: 899197055
1 parent a5bd611 commit 5f39e35

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/model_service.proto

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

771783
// Details of

0 commit comments

Comments
 (0)