Skip to content

Commit ea0f36f

Browse files
feat(sts): update the api
#### sts:v1 The following keys were added: - endpoints (Total Keys: 1) #### sts:v1beta The following keys were added: - endpoints (Total Keys: 1)
1 parent f78a5ef commit ea0f36f

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

docs/dyn/sts_v1.v1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h3>Method Details</h3>
115115
{ # Response message for ExchangeToken.
116116
&quot;access_boundary_session_key&quot;: &quot;A String&quot;, # 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`.
117117
&quot;access_token&quot;: &quot;A String&quot;, # 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.
118-
&quot;expires_in&quot;: 42, # The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expire. This field is absent when the `subject_token` in the request is a Google-issued, short-lived access token. In this case, the access token has the same expiration time as the `subject_token`.
118+
&quot;expires_in&quot;: 42, # The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expire. This field is absent when the `subject_token` in the request is a a short-lived access token for a Cloud Identity or Google Workspace user account. In this case, the access token has the same expiration time as the `subject_token`.
119119
&quot;issued_token_type&quot;: &quot;A String&quot;, # The token type. Always matches the value of `requested_token_type` from the request.
120120
&quot;token_type&quot;: &quot;A String&quot;, # The type of access token. Always has the value `Bearer`.
121121
}</pre>

googleapiclient/discovery_cache/documents/sts.v1.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
"description": "The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.",
77
"discoveryVersion": "v1",
88
"documentationLink": "http://cloud.google.com/iam/docs/workload-identity-federation",
9+
"endpoints": [
10+
{
11+
"description": "Regional Endpoint",
12+
"endpointUrl": "https://sts.us-east7.rep.googleapis.com/",
13+
"location": "us-east7"
14+
}
15+
],
916
"fullyEncodeReservedExpansion": true,
1017
"icons": {
1118
"x16": "http://www.google.com/images/icons/product/search-16.gif",
@@ -116,7 +123,7 @@
116123
}
117124
}
118125
},
119-
"revision": "20240904",
126+
"revision": "20241106",
120127
"rootUrl": "https://sts.googleapis.com/",
121128
"schemas": {
122129
"GoogleIamV1Binding": {
@@ -226,7 +233,7 @@
226233
"type": "string"
227234
},
228235
"expires_in": {
229-
"description": "The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expire. This field is absent when the `subject_token` in the request is a Google-issued, short-lived access token. In this case, the access token has the same expiration time as the `subject_token`.",
236+
"description": "The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expire. This field is absent when the `subject_token` in the request is a a short-lived access token for a Cloud Identity or Google Workspace user account. In this case, the access token has the same expiration time as the `subject_token`.",
230237
"format": "int32",
231238
"type": "integer"
232239
},

googleapiclient/discovery_cache/documents/sts.v1beta.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
"description": "The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.",
77
"discoveryVersion": "v1",
88
"documentationLink": "http://cloud.google.com/iam/docs/workload-identity-federation",
9+
"endpoints": [
10+
{
11+
"description": "Regional Endpoint",
12+
"endpointUrl": "https://sts.us-east7.rep.googleapis.com/",
13+
"location": "us-east7"
14+
}
15+
],
916
"fullyEncodeReservedExpansion": true,
1017
"icons": {
1118
"x16": "http://www.google.com/images/icons/product/search-16.gif",
@@ -116,7 +123,7 @@
116123
}
117124
}
118125
},
119-
"revision": "20240619",
126+
"revision": "20241106",
120127
"rootUrl": "https://sts.googleapis.com/",
121128
"schemas": {
122129
"GoogleIamV1Binding": {

0 commit comments

Comments
 (0)