Skip to content

Commit 5572865

Browse files
Google APIscopybara-github
authored andcommitted
feat: Update cloudbuild proto with the service_account for BYOSA Triggers.
Committer: @emoryruscus PiperOrigin-RevId: 392957767
1 parent 41e44ac commit 5572865

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

google/devtools/cloudbuild/v1/cloudbuild.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,6 +1377,15 @@ message BuildTrigger {
13771377

13781378
// Optional. A Common Expression Language string.
13791379
string filter = 30 [(google.api.field_behavior) = OPTIONAL];
1380+
1381+
// The service account used for all user-controlled operations including
1382+
// UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild.
1383+
// If no service account is set, then the standard Cloud Build service account
1384+
// ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead.
1385+
// Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}`
1386+
string service_account = 33 [(google.api.resource_reference) = {
1387+
type: "iam.googleapis.com/ServiceAccount"
1388+
}];
13801389
}
13811390

13821391
// GitHubEventsConfig describes the configuration of a trigger that creates a

0 commit comments

Comments
 (0)