Skip to content

Commit 853e8a2

Browse files
Google APIscopybara-github
authored andcommitted
fix: reverting unintentional breaking change: GetOpenIdConfigRequest, GetOpenIdConfigResponse
PiperOrigin-RevId: 424115592
1 parent 2e9849d commit 853e8a2

2 files changed

Lines changed: 66 additions & 0 deletions

File tree

google/container/v1/cluster_service.proto

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3384,6 +3384,39 @@ message ServiceExternalIPsConfig {
33843384
bool enabled = 1;
33853385
}
33863386

3387+
// GetOpenIDConfigRequest gets the OIDC discovery document for the
3388+
// cluster. See the OpenID Connect Discovery 1.0 specification for details.
3389+
message GetOpenIDConfigRequest {
3390+
// The cluster (project, location, cluster name) to get the discovery document
3391+
// for. Specified in the format `projects/*/locations/*/clusters/*`.
3392+
string parent = 1;
3393+
}
3394+
3395+
// GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
3396+
// See the OpenID Connect Discovery 1.0 specification for details.
3397+
message GetOpenIDConfigResponse {
3398+
// OIDC Issuer.
3399+
string issuer = 1;
3400+
3401+
// JSON Web Key uri.
3402+
string jwks_uri = 2;
3403+
3404+
// Supported response types.
3405+
repeated string response_types_supported = 3;
3406+
3407+
// Supported subject types.
3408+
repeated string subject_types_supported = 4;
3409+
3410+
// supported ID Token signing Algorithms.
3411+
repeated string id_token_signing_alg_values_supported = 5;
3412+
3413+
// Supported claims.
3414+
repeated string claims_supported = 6;
3415+
3416+
// Supported grant types.
3417+
repeated string grant_types = 7;
3418+
}
3419+
33873420
// GetJSONWebKeysRequest gets the public component of the keys used by the
33883421
// cluster to sign token requests. This will be the jwks_uri for the discover
33893422
// document returned by getOpenIDConfig. See the OpenID Connect

google/container/v1beta1/cluster_service.proto

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4266,6 +4266,39 @@ message VirtualNIC {
42664266
bool enabled = 1;
42674267
}
42684268

4269+
// GetOpenIDConfigRequest gets the OIDC discovery document for the
4270+
// cluster. See the OpenID Connect Discovery 1.0 specification for details.
4271+
message GetOpenIDConfigRequest {
4272+
// The cluster (project, location, cluster name) to get the discovery document
4273+
// for. Specified in the format `projects/*/locations/*/clusters/*`.
4274+
string parent = 1;
4275+
}
4276+
4277+
// GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
4278+
// See the OpenID Connect Discovery 1.0 specification for details.
4279+
message GetOpenIDConfigResponse {
4280+
// OIDC Issuer.
4281+
string issuer = 1;
4282+
4283+
// JSON Web Key uri.
4284+
string jwks_uri = 2;
4285+
4286+
// Supported response types.
4287+
repeated string response_types_supported = 3;
4288+
4289+
// Supported subject types.
4290+
repeated string subject_types_supported = 4;
4291+
4292+
// supported ID Token signing Algorithms.
4293+
repeated string id_token_signing_alg_values_supported = 5;
4294+
4295+
// Supported claims.
4296+
repeated string claims_supported = 6;
4297+
4298+
// Supported grant types.
4299+
repeated string grant_types = 7;
4300+
}
4301+
42694302
// GetJSONWebKeysRequest gets the public component of the keys used by the
42704303
// cluster to sign token requests. This will be the jwks_uri for the discover
42714304
// document returned by getOpenIDConfig. See the OpenID Connect

0 commit comments

Comments
 (0)