Skip to content

Commit 6e5182c

Browse files
yoshi-automationsofisl
authored andcommitted
feat(sts): update the API
#### sts:v1 The following keys were added: - schemas.GoogleIdentityStsV1ExchangeTokenResponse.properties.access_boundary_session_key.description - schemas.GoogleIdentityStsV1ExchangeTokenResponse.properties.access_boundary_session_key.format - schemas.GoogleIdentityStsV1ExchangeTokenResponse.properties.access_boundary_session_key.type
1 parent d42b431 commit 6e5182c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

discovery/sts-v1.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
}
117117
}
118118
},
119-
"revision": "20240501",
119+
"revision": "20240704",
120120
"rootUrl": "https://sts.googleapis.com/",
121121
"schemas": {
122122
"GoogleIamV1Binding": {
@@ -216,6 +216,11 @@
216216
"description": "Response message for ExchangeToken.",
217217
"id": "GoogleIdentityStsV1ExchangeTokenResponse",
218218
"properties": {
219+
"access_boundary_session_key": {
220+
"description": "The access boundary session key. This key is used along with the access boundary intermediate token to generate Credential Access Boundary tokens at client side. This field is absent when the `requested_token_type` from the request is not `urn:ietf:params:oauth:token-type:access_boundary_intermediate_token`.",
221+
"format": "byte",
222+
"type": "string"
223+
},
219224
"access_token": {
220225
"description": "An OAuth 2.0 security token, issued by Google, in response to the token exchange request. Tokens can vary in size, depending in part on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time.",
221226
"type": "string"

src/apis/sts/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,10 @@ export namespace sts_v1 {
243243
* Response message for ExchangeToken.
244244
*/
245245
export interface Schema$GoogleIdentityStsV1ExchangeTokenResponse {
246+
/**
247+
* The access boundary session key. This key is used along with the access boundary intermediate token to generate Credential Access Boundary tokens at client side. This field is absent when the `requested_token_type` from the request is not `urn:ietf:params:oauth:token-type:access_boundary_intermediate_token`.
248+
*/
249+
access_boundary_session_key?: string | null;
246250
/**
247251
* An OAuth 2.0 security token, issued by Google, in response to the token exchange request. Tokens can vary in size, depending in part on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time.
248252
*/

0 commit comments

Comments
 (0)