Skip to content

Commit

Permalink
fix: reverting unintentional breaking change: GetOpenIdConfigRequest,…
Browse files Browse the repository at this point in the history
… GetOpenIdConfigResponse (#186)

* fix: reverting unintentional breaking change: GetOpenIdConfigRequest, GetOpenIdConfigResponse

PiperOrigin-RevId: 424115592

Source-Link: googleapis/googleapis@853e8a2

Source-Link: googleapis/googleapis-gen@8e17f77
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGUxN2Y3N2ZiOWU0ODQzODQ1YmYwZWUxZDQ2NmRjZWUwMDFjYzJjNCJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 25, 2022
1 parent fe9570f commit f9348f3
Show file tree
Hide file tree
Showing 7 changed files with 116 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
from google.cloud.container_v1.types.cluster_service import GetJSONWebKeysRequest
from google.cloud.container_v1.types.cluster_service import GetJSONWebKeysResponse
from google.cloud.container_v1.types.cluster_service import GetNodePoolRequest
from google.cloud.container_v1.types.cluster_service import GetOpenIDConfigRequest
from google.cloud.container_v1.types.cluster_service import GetOpenIDConfigResponse
from google.cloud.container_v1.types.cluster_service import GetOperationRequest
from google.cloud.container_v1.types.cluster_service import GetServerConfigRequest
from google.cloud.container_v1.types.cluster_service import HorizontalPodAutoscaling
Expand Down Expand Up @@ -195,6 +197,8 @@
"GetJSONWebKeysRequest",
"GetJSONWebKeysResponse",
"GetNodePoolRequest",
"GetOpenIDConfigRequest",
"GetOpenIDConfigResponse",
"GetOperationRequest",
"GetServerConfigRequest",
"HorizontalPodAutoscaling",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
from .types.cluster_service import GetJSONWebKeysRequest
from .types.cluster_service import GetJSONWebKeysResponse
from .types.cluster_service import GetNodePoolRequest
from .types.cluster_service import GetOpenIDConfigRequest
from .types.cluster_service import GetOpenIDConfigResponse
from .types.cluster_service import GetOperationRequest
from .types.cluster_service import GetServerConfigRequest
from .types.cluster_service import HorizontalPodAutoscaling
Expand Down Expand Up @@ -176,6 +178,8 @@
"GetJSONWebKeysRequest",
"GetJSONWebKeysResponse",
"GetNodePoolRequest",
"GetOpenIDConfigRequest",
"GetOpenIDConfigResponse",
"GetOperationRequest",
"GetServerConfigRequest",
"HorizontalPodAutoscaling",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
GetJSONWebKeysRequest,
GetJSONWebKeysResponse,
GetNodePoolRequest,
GetOpenIDConfigRequest,
GetOpenIDConfigResponse,
GetOperationRequest,
GetServerConfigRequest,
HorizontalPodAutoscaling,
Expand Down Expand Up @@ -171,6 +173,8 @@
"GetJSONWebKeysRequest",
"GetJSONWebKeysResponse",
"GetNodePoolRequest",
"GetOpenIDConfigRequest",
"GetOpenIDConfigResponse",
"GetOperationRequest",
"GetServerConfigRequest",
"HorizontalPodAutoscaling",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
"StatusCondition",
"NetworkConfig",
"ServiceExternalIPsConfig",
"GetOpenIDConfigRequest",
"GetOpenIDConfigResponse",
"GetJSONWebKeysRequest",
"Jwk",
"GetJSONWebKeysResponse",
Expand Down Expand Up @@ -3933,6 +3935,52 @@ class ServiceExternalIPsConfig(proto.Message):
enabled = proto.Field(proto.BOOL, number=1,)


class GetOpenIDConfigRequest(proto.Message):
r"""GetOpenIDConfigRequest gets the OIDC discovery document for
the cluster. See the OpenID Connect Discovery 1.0 specification
for details.
Attributes:
parent (str):
The cluster (project, location, cluster name) to get the
discovery document for. Specified in the format
``projects/*/locations/*/clusters/*``.
"""

parent = proto.Field(proto.STRING, number=1,)


class GetOpenIDConfigResponse(proto.Message):
r"""GetOpenIDConfigResponse is an OIDC discovery document for the
cluster. See the OpenID Connect Discovery 1.0 specification for
details.
Attributes:
issuer (str):
OIDC Issuer.
jwks_uri (str):
JSON Web Key uri.
response_types_supported (Sequence[str]):
Supported response types.
subject_types_supported (Sequence[str]):
Supported subject types.
id_token_signing_alg_values_supported (Sequence[str]):
supported ID Token signing Algorithms.
claims_supported (Sequence[str]):
Supported claims.
grant_types (Sequence[str]):
Supported grant types.
"""

issuer = proto.Field(proto.STRING, number=1,)
jwks_uri = proto.Field(proto.STRING, number=2,)
response_types_supported = proto.RepeatedField(proto.STRING, number=3,)
subject_types_supported = proto.RepeatedField(proto.STRING, number=4,)
id_token_signing_alg_values_supported = proto.RepeatedField(proto.STRING, number=5,)
claims_supported = proto.RepeatedField(proto.STRING, number=6,)
grant_types = proto.RepeatedField(proto.STRING, number=7,)


class GetJSONWebKeysRequest(proto.Message):
r"""GetJSONWebKeysRequest gets the public component of the keys used by
the cluster to sign token requests. This will be the jwks_uri for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
from .types.cluster_service import GetJSONWebKeysRequest
from .types.cluster_service import GetJSONWebKeysResponse
from .types.cluster_service import GetNodePoolRequest
from .types.cluster_service import GetOpenIDConfigRequest
from .types.cluster_service import GetOpenIDConfigResponse
from .types.cluster_service import GetOperationRequest
from .types.cluster_service import GetServerConfigRequest
from .types.cluster_service import GkeBackupAgentConfig
Expand Down Expand Up @@ -196,6 +198,8 @@
"GetJSONWebKeysRequest",
"GetJSONWebKeysResponse",
"GetNodePoolRequest",
"GetOpenIDConfigRequest",
"GetOpenIDConfigResponse",
"GetOperationRequest",
"GetServerConfigRequest",
"GkeBackupAgentConfig",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
GetJSONWebKeysRequest,
GetJSONWebKeysResponse,
GetNodePoolRequest,
GetOpenIDConfigRequest,
GetOpenIDConfigResponse,
GetOperationRequest,
GetServerConfigRequest,
GkeBackupAgentConfig,
Expand Down Expand Up @@ -191,6 +193,8 @@
"GetJSONWebKeysRequest",
"GetJSONWebKeysResponse",
"GetNodePoolRequest",
"GetOpenIDConfigRequest",
"GetOpenIDConfigResponse",
"GetOperationRequest",
"GetServerConfigRequest",
"GkeBackupAgentConfig",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
"ResourceUsageExportConfig",
"ShieldedNodes",
"VirtualNIC",
"GetOpenIDConfigRequest",
"GetOpenIDConfigResponse",
"GetJSONWebKeysRequest",
"Jwk",
"GetJSONWebKeysResponse",
Expand Down Expand Up @@ -4778,6 +4780,52 @@ class VirtualNIC(proto.Message):
enabled = proto.Field(proto.BOOL, number=1,)


class GetOpenIDConfigRequest(proto.Message):
r"""GetOpenIDConfigRequest gets the OIDC discovery document for
the cluster. See the OpenID Connect Discovery 1.0 specification
for details.
Attributes:
parent (str):
The cluster (project, location, cluster name) to get the
discovery document for. Specified in the format
``projects/*/locations/*/clusters/*``.
"""

parent = proto.Field(proto.STRING, number=1,)


class GetOpenIDConfigResponse(proto.Message):
r"""GetOpenIDConfigResponse is an OIDC discovery document for the
cluster. See the OpenID Connect Discovery 1.0 specification for
details.
Attributes:
issuer (str):
OIDC Issuer.
jwks_uri (str):
JSON Web Key uri.
response_types_supported (Sequence[str]):
Supported response types.
subject_types_supported (Sequence[str]):
Supported subject types.
id_token_signing_alg_values_supported (Sequence[str]):
supported ID Token signing Algorithms.
claims_supported (Sequence[str]):
Supported claims.
grant_types (Sequence[str]):
Supported grant types.
"""

issuer = proto.Field(proto.STRING, number=1,)
jwks_uri = proto.Field(proto.STRING, number=2,)
response_types_supported = proto.RepeatedField(proto.STRING, number=3,)
subject_types_supported = proto.RepeatedField(proto.STRING, number=4,)
id_token_signing_alg_values_supported = proto.RepeatedField(proto.STRING, number=5,)
claims_supported = proto.RepeatedField(proto.STRING, number=6,)
grant_types = proto.RepeatedField(proto.STRING, number=7,)


class GetJSONWebKeysRequest(proto.Message):
r"""GetJSONWebKeysRequest gets the public component of the keys used by
the cluster to sign token requests. This will be the jwks_uri for
Expand Down

0 comments on commit f9348f3

Please sign in to comment.