From 3065b9285a9ea61e8f30e4e9875f48fb1f9b499b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 31 Jan 2023 07:08:00 +0000 Subject: [PATCH] feat(sts): update the api #### sts:v1 The following keys were added: - schemas.GoogleIdentityStsV1ExchangeOauthTokenResponse.properties.id_token.type (Total Keys: 1) --- docs/dyn/sts_v1.v1.html | 3 ++- googleapiclient/discovery_cache/documents/sts.v1.json | 8 ++++++-- googleapiclient/discovery_cache/documents/sts.v1beta.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/dyn/sts_v1.v1.html b/docs/dyn/sts_v1.v1.html index daeea36120f..5230aa1f265 100644 --- a/docs/dyn/sts_v1.v1.html +++ b/docs/dyn/sts_v1.v1.html @@ -154,9 +154,10 @@

Method Details

{ # Response message for ExchangeOauthToken. see https://www.rfc-editor.org/rfc/rfc6749#section-5.1 "access_token": "A String", # An OAuth 2.0 security token, issued by Google, in response to the Oauth token exchange request for the authorization code and refresh token flows. The returned [access token](https://www.rfc-editor.org/rfc/rfc6749#section-4.1.4). 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. "expires_in": 42, # The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expires. + "id_token": "A String", # Google issued ID token in response to the OAuth token exchange request for ID token flow. "refresh_token": "A String", # A refresh token, issued by Google, in response to the OAuth token exchange request for refresh token flow "scope": "A String", # A list of scopes associated with the returned token. - "token_type": "A String", # The type of token. Field reserved for RFC compliance. See https://www.rfc-editor.org/rfc/rfc6749#section-5.1 Note: No token_type is returned for current implementation + "token_type": "A String", # The type of token. Field reserved for RFC compliance. See https://www.rfc-editor.org/rfc/rfc6749#section-5.1 } diff --git a/googleapiclient/discovery_cache/documents/sts.v1.json b/googleapiclient/discovery_cache/documents/sts.v1.json index 38a5cf7a27f..1a9040f8e24 100644 --- a/googleapiclient/discovery_cache/documents/sts.v1.json +++ b/googleapiclient/discovery_cache/documents/sts.v1.json @@ -146,7 +146,7 @@ } } }, - "revision": "20230114", + "revision": "20230121", "rootUrl": "https://sts.googleapis.com/", "schemas": { "GoogleIamV1Binding": { @@ -255,6 +255,10 @@ "format": "int32", "type": "integer" }, + "id_token": { + "description": "Google issued ID token in response to the OAuth token exchange request for ID token flow.", + "type": "string" + }, "refresh_token": { "description": "A refresh token, issued by Google, in response to the OAuth token exchange request for refresh token flow", "type": "string" @@ -264,7 +268,7 @@ "type": "string" }, "token_type": { - "description": "The type of token. Field reserved for RFC compliance. See https://www.rfc-editor.org/rfc/rfc6749#section-5.1 Note: No token_type is returned for current implementation", + "description": "The type of token. Field reserved for RFC compliance. See https://www.rfc-editor.org/rfc/rfc6749#section-5.1", "type": "string" } }, diff --git a/googleapiclient/discovery_cache/documents/sts.v1beta.json b/googleapiclient/discovery_cache/documents/sts.v1beta.json index de7b091f4a6..babd8e80cdf 100644 --- a/googleapiclient/discovery_cache/documents/sts.v1beta.json +++ b/googleapiclient/discovery_cache/documents/sts.v1beta.json @@ -116,7 +116,7 @@ } } }, - "revision": "20230114", + "revision": "20230121", "rootUrl": "https://sts.googleapis.com/", "schemas": { "GoogleIamV1Binding": {