Skip to content

Commit

Permalink
fix(sts): update the API
Browse files Browse the repository at this point in the history
#### sts:v1

The following keys were changed:
- schemas.GoogleIdentityStsV1ExchangeTokenRequest.properties.requestedTokenType.description
- schemas.GoogleIdentityStsV1ExchangeTokenResponse.properties.access_boundary_session_key.description
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 10, 2024
1 parent 921c64d commit 73354e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions discovery/sts-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}
}
},
"revision": "20240704",
"revision": "20240904",
"rootUrl": "https://sts.googleapis.com/",
"schemas": {
"GoogleIamV1Binding": {
Expand Down Expand Up @@ -194,7 +194,7 @@
"type": "string"
},
"requestedTokenType": {
"description": "Required. An identifier for the type of requested security token. Can be `urn:ietf:params:oauth:token-type:access_token` or `urn:ietf:params:oauth:token-type:access_boundary_intermediate_token`.",
"description": "Required. An identifier for the type of requested security token. Can be `urn:ietf:params:oauth:token-type:access_token` or `urn:ietf:params:oauth:token-type:access_boundary_intermediary_token`.",
"type": "string"
},
"scope": {
Expand All @@ -217,7 +217,7 @@
"id": "GoogleIdentityStsV1ExchangeTokenResponse",
"properties": {
"access_boundary_session_key": {
"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`.",
"description": "The access boundary session key. This key is used along with the access boundary intermediary 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_intermediary_token`.",
"format": "byte",
"type": "string"
},
Expand Down
4 changes: 2 additions & 2 deletions src/apis/sts/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export namespace sts_v1 {
*/
options?: string | null;
/**
* Required. An identifier for the type of requested security token. Can be `urn:ietf:params:oauth:token-type:access_token` or `urn:ietf:params:oauth:token-type:access_boundary_intermediate_token`.
* Required. An identifier for the type of requested security token. Can be `urn:ietf:params:oauth:token-type:access_token` or `urn:ietf:params:oauth:token-type:access_boundary_intermediary_token`.
*/
requestedTokenType?: string | null;
/**
Expand All @@ -244,7 +244,7 @@ export namespace sts_v1 {
*/
export interface Schema$GoogleIdentityStsV1ExchangeTokenResponse {
/**
* 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`.
* The access boundary session key. This key is used along with the access boundary intermediary 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_intermediary_token`.
*/
access_boundary_session_key?: string | null;
/**
Expand Down

0 comments on commit 73354e6

Please # to comment.