From f9348f32a71b635b21eefe2917c960136fdf7720 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 25 Jan 2022 16:52:34 -0500 Subject: [PATCH] fix: reverting unintentional breaking change: GetOpenIdConfigRequest, GetOpenIdConfigResponse (#186) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: reverting unintentional breaking change: GetOpenIdConfigRequest, GetOpenIdConfigResponse PiperOrigin-RevId: 424115592 Source-Link: https://github.com/googleapis/googleapis/commit/853e8a29cecd0816c8b003b299032c3a5168ef8b Source-Link: https://github.com/googleapis/googleapis-gen/commit/8e17f77fb9e4843845bf0ee1d466dcee001cc2c4 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 --- .../google/cloud/container/__init__.py | 4 ++ .../google/cloud/container_v1/__init__.py | 4 ++ .../cloud/container_v1/types/__init__.py | 4 ++ .../container_v1/types/cluster_service.py | 48 +++++++++++++++++++ .../cloud/container_v1beta1/__init__.py | 4 ++ .../cloud/container_v1beta1/types/__init__.py | 4 ++ .../types/cluster_service.py | 48 +++++++++++++++++++ 7 files changed, 116 insertions(+) diff --git a/packages/google-cloud-container/google/cloud/container/__init__.py b/packages/google-cloud-container/google/cloud/container/__init__.py index d214421b9a19..692427cb15b6 100644 --- a/packages/google-cloud-container/google/cloud/container/__init__.py +++ b/packages/google-cloud-container/google/cloud/container/__init__.py @@ -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 @@ -195,6 +197,8 @@ "GetJSONWebKeysRequest", "GetJSONWebKeysResponse", "GetNodePoolRequest", + "GetOpenIDConfigRequest", + "GetOpenIDConfigResponse", "GetOperationRequest", "GetServerConfigRequest", "HorizontalPodAutoscaling", diff --git a/packages/google-cloud-container/google/cloud/container_v1/__init__.py b/packages/google-cloud-container/google/cloud/container_v1/__init__.py index d5fffb051306..bf8d5fc2ef73 100644 --- a/packages/google-cloud-container/google/cloud/container_v1/__init__.py +++ b/packages/google-cloud-container/google/cloud/container_v1/__init__.py @@ -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 @@ -176,6 +178,8 @@ "GetJSONWebKeysRequest", "GetJSONWebKeysResponse", "GetNodePoolRequest", + "GetOpenIDConfigRequest", + "GetOpenIDConfigResponse", "GetOperationRequest", "GetServerConfigRequest", "HorizontalPodAutoscaling", diff --git a/packages/google-cloud-container/google/cloud/container_v1/types/__init__.py b/packages/google-cloud-container/google/cloud/container_v1/types/__init__.py index 3aa624926b76..6cb3f214d56e 100644 --- a/packages/google-cloud-container/google/cloud/container_v1/types/__init__.py +++ b/packages/google-cloud-container/google/cloud/container_v1/types/__init__.py @@ -47,6 +47,8 @@ GetJSONWebKeysRequest, GetJSONWebKeysResponse, GetNodePoolRequest, + GetOpenIDConfigRequest, + GetOpenIDConfigResponse, GetOperationRequest, GetServerConfigRequest, HorizontalPodAutoscaling, @@ -171,6 +173,8 @@ "GetJSONWebKeysRequest", "GetJSONWebKeysResponse", "GetNodePoolRequest", + "GetOpenIDConfigRequest", + "GetOpenIDConfigResponse", "GetOperationRequest", "GetServerConfigRequest", "HorizontalPodAutoscaling", diff --git a/packages/google-cloud-container/google/cloud/container_v1/types/cluster_service.py b/packages/google-cloud-container/google/cloud/container_v1/types/cluster_service.py index d944bcc18a33..04be455a8b85 100644 --- a/packages/google-cloud-container/google/cloud/container_v1/types/cluster_service.py +++ b/packages/google-cloud-container/google/cloud/container_v1/types/cluster_service.py @@ -115,6 +115,8 @@ "StatusCondition", "NetworkConfig", "ServiceExternalIPsConfig", + "GetOpenIDConfigRequest", + "GetOpenIDConfigResponse", "GetJSONWebKeysRequest", "Jwk", "GetJSONWebKeysResponse", @@ -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 diff --git a/packages/google-cloud-container/google/cloud/container_v1beta1/__init__.py b/packages/google-cloud-container/google/cloud/container_v1beta1/__init__.py index 512f51309a88..5be405ae834f 100644 --- a/packages/google-cloud-container/google/cloud/container_v1beta1/__init__.py +++ b/packages/google-cloud-container/google/cloud/container_v1beta1/__init__.py @@ -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 @@ -196,6 +198,8 @@ "GetJSONWebKeysRequest", "GetJSONWebKeysResponse", "GetNodePoolRequest", + "GetOpenIDConfigRequest", + "GetOpenIDConfigResponse", "GetOperationRequest", "GetServerConfigRequest", "GkeBackupAgentConfig", diff --git a/packages/google-cloud-container/google/cloud/container_v1beta1/types/__init__.py b/packages/google-cloud-container/google/cloud/container_v1beta1/types/__init__.py index e9923f6f8f7a..346265297f80 100644 --- a/packages/google-cloud-container/google/cloud/container_v1beta1/types/__init__.py +++ b/packages/google-cloud-container/google/cloud/container_v1beta1/types/__init__.py @@ -49,6 +49,8 @@ GetJSONWebKeysRequest, GetJSONWebKeysResponse, GetNodePoolRequest, + GetOpenIDConfigRequest, + GetOpenIDConfigResponse, GetOperationRequest, GetServerConfigRequest, GkeBackupAgentConfig, @@ -191,6 +193,8 @@ "GetJSONWebKeysRequest", "GetJSONWebKeysResponse", "GetNodePoolRequest", + "GetOpenIDConfigRequest", + "GetOpenIDConfigResponse", "GetOperationRequest", "GetServerConfigRequest", "GkeBackupAgentConfig", diff --git a/packages/google-cloud-container/google/cloud/container_v1beta1/types/cluster_service.py b/packages/google-cloud-container/google/cloud/container_v1beta1/types/cluster_service.py index 21b2e4a4e1b3..c217b297ab4a 100644 --- a/packages/google-cloud-container/google/cloud/container_v1beta1/types/cluster_service.py +++ b/packages/google-cloud-container/google/cloud/container_v1beta1/types/cluster_service.py @@ -147,6 +147,8 @@ "ResourceUsageExportConfig", "ShieldedNodes", "VirtualNIC", + "GetOpenIDConfigRequest", + "GetOpenIDConfigResponse", "GetJSONWebKeysRequest", "Jwk", "GetJSONWebKeysResponse", @@ -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