Skip to content

Commit 90ffc0e

Browse files
fix(developerconnect): update the API
#### developerconnect:v1 The following keys were changed: - schemas.BitbucketCloudConfig.properties.webhookSecretSecretVersion.description - schemas.BitbucketDataCenterConfig.properties.webhookSecretSecretVersion.description - schemas.GitHubEnterpriseConfig.properties.privateKeySecretVersion.description - schemas.GitHubEnterpriseConfig.properties.webhookSecretSecretVersion.description - schemas.GitLabConfig.properties.webhookSecretSecretVersion.description - schemas.GitLabEnterpriseConfig.properties.webhookSecretSecretVersion.description - schemas.OAuthCredential.properties.oauthTokenSecretVersion.description - schemas.UserCredential.properties.userTokenSecretVersion.description
1 parent 68deafd commit 90ffc0e

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

discovery/developerconnect-v1.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@
16061606
}
16071607
}
16081608
},
1609-
"revision": "20251113",
1609+
"revision": "20251201",
16101610
"rootUrl": "https://developerconnect.googleapis.com/",
16111611
"schemas": {
16121612
"AccountConnector": {
@@ -1735,7 +1735,7 @@
17351735
"description": "Required. An access token with the minimum `repository` access. It can either be a workspace, project or repository access token. It's recommended to use a system account to generate the credentials."
17361736
},
17371737
"webhookSecretSecretVersion": {
1738-
"description": "Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`. This is used to validate and create webhooks.",
1738+
"description": "Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate and create webhooks.",
17391739
"type": "string"
17401740
},
17411741
"workspace": {
@@ -1775,7 +1775,7 @@
17751775
"type": "string"
17761776
},
17771777
"webhookSecretSecretVersion": {
1778-
"description": "Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`. This is used to validate webhooks.",
1778+
"description": "Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks.",
17791779
"type": "string"
17801780
}
17811781
},
@@ -2134,7 +2134,7 @@
21342134
"type": "string"
21352135
},
21362136
"privateKeySecretVersion": {
2137-
"description": "Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.",
2137+
"description": "Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).",
21382138
"type": "string"
21392139
},
21402140
"serverVersion": {
@@ -2151,7 +2151,7 @@
21512151
"type": "string"
21522152
},
21532153
"webhookSecretSecretVersion": {
2154-
"description": "Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.",
2154+
"description": "Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).",
21552155
"type": "string"
21562156
}
21572157
},
@@ -2170,7 +2170,7 @@
21702170
"description": "Required. A GitLab personal access token with the minimum `read_api` scope access and a minimum role of `reporter`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to."
21712171
},
21722172
"webhookSecretSecretVersion": {
2173-
"description": "Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/*/secrets/*/versions/*`. This is used to validate webhooks.",
2173+
"description": "Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks.",
21742174
"type": "string"
21752175
}
21762176
},
@@ -2206,7 +2206,7 @@
22062206
"type": "string"
22072207
},
22082208
"webhookSecretSecretVersion": {
2209-
"description": "Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/*/secrets/*/versions/*`. This is used to validate webhooks.",
2209+
"description": "Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks.",
22102210
"type": "string"
22112211
}
22122212
},
@@ -2717,7 +2717,7 @@
27172717
"id": "OAuthCredential",
27182718
"properties": {
27192719
"oauthTokenSecretVersion": {
2720-
"description": "Required. A SecretManager resource containing the OAuth token that authorizes the connection. Format: `projects/*/secrets/*/versions/*`.",
2720+
"description": "Required. A SecretManager resource containing the OAuth token that authorizes the connection. Format: `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).",
27212721
"type": "string"
27222722
},
27232723
"username": {
@@ -3019,7 +3019,7 @@
30193019
"id": "UserCredential",
30203020
"properties": {
30213021
"userTokenSecretVersion": {
3022-
"description": "Required. A SecretManager resource containing the user token that authorizes the Developer Connect connection. Format: `projects/*/secrets/*/versions/*`.",
3022+
"description": "Required. A SecretManager resource containing the user token that authorizes the Developer Connect connection. Format: `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).",
30233023
"type": "string"
30243024
},
30253025
"username": {

src/apis/developerconnect/v1.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export namespace developerconnect_v1 {
225225
*/
226226
readAuthorizerCredential?: Schema$UserCredential;
227227
/**
228-
* Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/x/secrets/x/versions/x`. This is used to validate and create webhooks.
228+
* Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/x/secrets/x/versions/x` or `projects/x/locations/x/secrets/x/versions/x` (if regional secrets are supported in that location). This is used to validate and create webhooks.
229229
*/
230230
webhookSecretSecretVersion?: string | null;
231231
/**
@@ -262,7 +262,7 @@ export namespace developerconnect_v1 {
262262
*/
263263
sslCaCertificate?: string | null;
264264
/**
265-
* Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/x/secrets/x/versions/x`. This is used to validate webhooks.
265+
* Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/x/secrets/x/versions/x` or `projects/x/locations/x/secrets/x/versions/x` (if regional secrets are supported in that location). This is used to validate webhooks.
266266
*/
267267
webhookSecretSecretVersion?: string | null;
268268
}
@@ -525,7 +525,7 @@ export namespace developerconnect_v1 {
525525
*/
526526
installationUri?: string | null;
527527
/**
528-
* Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/x/secrets/x/versions/x`.
528+
* Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/x/secrets/x/versions/x` or `projects/x/locations/x/secrets/x/versions/x` (if regional secrets are supported in that location).
529529
*/
530530
privateKeySecretVersion?: string | null;
531531
/**
@@ -541,7 +541,7 @@ export namespace developerconnect_v1 {
541541
*/
542542
sslCaCertificate?: string | null;
543543
/**
544-
* Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/x/secrets/x/versions/x`.
544+
* Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/x/secrets/x/versions/x` or `projects/x/locations/x/secrets/x/versions/x` (if regional secrets are supported in that location).
545545
*/
546546
webhookSecretSecretVersion?: string | null;
547547
}
@@ -558,7 +558,7 @@ export namespace developerconnect_v1 {
558558
*/
559559
readAuthorizerCredential?: Schema$UserCredential;
560560
/**
561-
* Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/x/secrets/x/versions/x`. This is used to validate webhooks.
561+
* Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/x/secrets/x/versions/x` or `projects/x/locations/x/secrets/x/versions/x` (if regional secrets are supported in that location). This is used to validate webhooks.
562562
*/
563563
webhookSecretSecretVersion?: string | null;
564564
}
@@ -591,7 +591,7 @@ export namespace developerconnect_v1 {
591591
*/
592592
sslCaCertificate?: string | null;
593593
/**
594-
* Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/x/secrets/x/versions/x`. This is used to validate webhooks.
594+
* Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/x/secrets/x/versions/x` or `projects/x/locations/x/secrets/x/versions/x` (if regional secrets are supported in that location). This is used to validate webhooks.
595595
*/
596596
webhookSecretSecretVersion?: string | null;
597597
}
@@ -955,7 +955,7 @@ export namespace developerconnect_v1 {
955955
*/
956956
export interface Schema$OAuthCredential {
957957
/**
958-
* Required. A SecretManager resource containing the OAuth token that authorizes the connection. Format: `projects/x/secrets/x/versions/x`.
958+
* Required. A SecretManager resource containing the OAuth token that authorizes the connection. Format: `projects/x/secrets/x/versions/x` or `projects/x/locations/x/secrets/x/versions/x` (if regional secrets are supported in that location).
959959
*/
960960
oauthTokenSecretVersion?: string | null;
961961
/**
@@ -1164,7 +1164,7 @@ export namespace developerconnect_v1 {
11641164
*/
11651165
username?: string | null;
11661166
/**
1167-
* Required. A SecretManager resource containing the user token that authorizes the Developer Connect connection. Format: `projects/x/secrets/x/versions/x`.
1167+
* Required. A SecretManager resource containing the user token that authorizes the Developer Connect connection. Format: `projects/x/secrets/x/versions/x` or `projects/x/locations/x/secrets/x/versions/x` (if regional secrets are supported in that location).
11681168
*/
11691169
userTokenSecretVersion?: string | null;
11701170
}

0 commit comments

Comments
 (0)