Skip to content

Commit d29e178

Browse files
feat(secrets): add ServiceAccountSecret entity with full support
1 parent 1a41839 commit d29e178

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 160
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-504fab16d01ad7f81914542fd0523f4dfefce87813891da391b97b1b0a70f563.yml
3-
openapi_spec_hash: 84d9d652cac365c646e01111cee89afc
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-8a0189eebf423961bd98075dab28db4377c3a939da1dcf237d1b3958724e6dcf.yml
3+
openapi_spec_hash: 48004e7605cf720584e822ec11a2eb8b
44
config_hash: acfe8cf5d6e4b26387e4fefa3bff8409

src/resources/secrets.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,11 @@ export interface SecretScope {
456456
*/
457457
projectId?: string;
458458

459+
/**
460+
* service_account_id is the Service Account ID this Secret belongs to
461+
*/
462+
serviceAccountId?: string;
463+
459464
/**
460465
* user_id is the User ID this Secret belongs to
461466
*/

src/resources/shared.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ export type ResourceType =
233233
| 'RESOURCE_TYPE_ROLE_ASSIGNMENT_CHANGED'
234234
| 'RESOURCE_TYPE_GROUP_MEMBERSHIP_CHANGED'
235235
| 'RESOURCE_TYPE_WEBHOOK'
236-
| 'RESOURCE_TYPE_SCIM_CONFIGURATION';
236+
| 'RESOURCE_TYPE_SCIM_CONFIGURATION'
237+
| 'RESOURCE_TYPE_SERVICE_ACCOUNT_SECRET';
237238

238239
export interface RunsOn {
239240
docker?: RunsOn.Docker;

0 commit comments

Comments
 (0)