Skip to content

Commit 9f4b7de

Browse files
yoshi-automationsofisl
authored andcommitted
feat(sts)!: update the API
BREAKING CHANGE: This release has breaking changes. #### sts:v1beta The following keys were deleted: - schemas.GoogleIdentityStsV1Options.properties.audiences.description - schemas.GoogleIdentityStsV1Options.properties.audiences.items.type - schemas.GoogleIdentityStsV1Options.properties.audiences.type - schemas.GoogleIdentityStsV1betaOptions.properties.audiences.description - schemas.GoogleIdentityStsV1betaOptions.properties.audiences.items.type - schemas.GoogleIdentityStsV1betaOptions.properties.audiences.type #### sts:v1 The following keys were deleted: - schemas.GoogleIdentityStsV1Options.properties.audiences.description - schemas.GoogleIdentityStsV1Options.properties.audiences.items.type - schemas.GoogleIdentityStsV1Options.properties.audiences.type - schemas.GoogleIdentityStsV1betaOptions.properties.audiences.description - schemas.GoogleIdentityStsV1betaOptions.properties.audiences.items.type - schemas.GoogleIdentityStsV1betaOptions.properties.audiences.type
1 parent 5a509c1 commit 9f4b7de

4 files changed

Lines changed: 2 additions & 46 deletions

File tree

discovery/sts-v1.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
}
117117
}
118118
},
119-
"revision": "20240417",
119+
"revision": "20240425",
120120
"rootUrl": "https://sts.googleapis.com/",
121121
"schemas": {
122122
"GoogleIamV1Binding": {
@@ -244,13 +244,6 @@
244244
"$ref": "GoogleIdentityStsV1AccessBoundary",
245245
"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters."
246246
},
247-
"audiences": {
248-
"description": "The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `[\"https://pubsub.googleapis.com/\", \"https://storage.googleapis.com/\"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.",
249-
"items": {
250-
"type": "string"
251-
},
252-
"type": "array"
253-
},
254247
"userProject": {
255248
"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.",
256249
"type": "string"
@@ -302,13 +295,6 @@
302295
"$ref": "GoogleIdentityStsV1betaAccessBoundary",
303296
"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters."
304297
},
305-
"audiences": {
306-
"description": "The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `[\"https://pubsub.googleapis.com/\", \"https://storage.googleapis.com/\"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.",
307-
"items": {
308-
"type": "string"
309-
},
310-
"type": "array"
311-
},
312298
"userProject": {
313299
"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.",
314300
"type": "string"

discovery/sts-v1beta.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
}
117117
}
118118
},
119-
"revision": "20240129",
119+
"revision": "20240425",
120120
"rootUrl": "https://sts.googleapis.com/",
121121
"schemas": {
122122
"GoogleIamV1Binding": {
@@ -185,13 +185,6 @@
185185
"$ref": "GoogleIdentityStsV1AccessBoundary",
186186
"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters."
187187
},
188-
"audiences": {
189-
"description": "The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `[\"https://pubsub.googleapis.com/\", \"https://storage.googleapis.com/\"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.",
190-
"items": {
191-
"type": "string"
192-
},
193-
"type": "array"
194-
},
195188
"userProject": {
196189
"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.",
197190
"type": "string"
@@ -302,13 +295,6 @@
302295
"$ref": "GoogleIdentityStsV1betaAccessBoundary",
303296
"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters."
304297
},
305-
"audiences": {
306-
"description": "The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `[\"https://pubsub.googleapis.com/\", \"https://storage.googleapis.com/\"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.",
307-
"items": {
308-
"type": "string"
309-
},
310-
"type": "array"
311-
},
312298
"userProject": {
313299
"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.",
314300
"type": "string"

src/apis/sts/v1.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,6 @@ export namespace sts_v1 {
201201
* An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters.
202202
*/
203203
accessBoundary?: Schema$GoogleIdentityStsV1betaAccessBoundary;
204-
/**
205-
* The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.
206-
*/
207-
audiences?: string[] | null;
208204
/**
209205
* A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.
210206
*/
@@ -272,10 +268,6 @@ export namespace sts_v1 {
272268
* An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters.
273269
*/
274270
accessBoundary?: Schema$GoogleIdentityStsV1AccessBoundary;
275-
/**
276-
* The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.
277-
*/
278-
audiences?: string[] | null;
279271
/**
280272
* A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.
281273
*/

src/apis/sts/v1beta.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,6 @@ export namespace sts_v1beta {
255255
* An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters.
256256
*/
257257
accessBoundary?: Schema$GoogleIdentityStsV1betaAccessBoundary;
258-
/**
259-
* The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.
260-
*/
261-
audiences?: string[] | null;
262258
/**
263259
* A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.
264260
*/
@@ -272,10 +268,6 @@ export namespace sts_v1beta {
272268
* An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters.
273269
*/
274270
accessBoundary?: Schema$GoogleIdentityStsV1AccessBoundary;
275-
/**
276-
* The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.
277-
*/
278-
audiences?: string[] | null;
279271
/**
280272
* A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.
281273
*/

0 commit comments

Comments
 (0)