From 28a3fc94cd7587b5900408bbadf994f143b0d0c3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 2 Jul 2021 12:17:11 -0600 Subject: [PATCH] feat: allow updating security group on existing clusters (#120) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: allow updating security group on existing clusters PiperOrigin-RevId: 382761283 Source-Link: https://github.com/googleapis/googleapis/commit/03a0afcd7e2118d89e02ddc04bcf1a6e9e4b583d Source-Link: https://github.com/googleapis/googleapis-gen/commit/93a9ded058a034498ec8cd58418e5b3d23465965 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../container_v1/services/cluster_manager/async_client.py | 2 +- .../cloud/container_v1/services/cluster_manager/client.py | 2 +- .../services/cluster_manager/async_client.py | 2 +- .../container_v1beta1/services/cluster_manager/client.py | 2 +- google/cloud/container_v1beta1/types/cluster_service.py | 6 ++++++ 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/google/cloud/container_v1/services/cluster_manager/async_client.py b/google/cloud/container_v1/services/cluster_manager/async_client.py index a98c7a65..e2af7b28 100644 --- a/google/cloud/container_v1/services/cluster_manager/async_client.py +++ b/google/cloud/container_v1/services/cluster_manager/async_client.py @@ -1212,7 +1212,7 @@ async def set_locations( """ warnings.warn( - "ClusterManagerAsyncClient.set_locations is deprecated", DeprecationWarning, + "ClusterManagerAsyncClient.set_locations is deprecated", DeprecationWarning ) # Create or coerce a protobuf request object. diff --git a/google/cloud/container_v1/services/cluster_manager/client.py b/google/cloud/container_v1/services/cluster_manager/client.py index 2121fb09..fe0a1abf 100644 --- a/google/cloud/container_v1/services/cluster_manager/client.py +++ b/google/cloud/container_v1/services/cluster_manager/client.py @@ -1367,7 +1367,7 @@ def set_locations( """ warnings.warn( - "ClusterManagerClient.set_locations is deprecated", DeprecationWarning, + "ClusterManagerClient.set_locations is deprecated", DeprecationWarning ) # Create or coerce a protobuf request object. diff --git a/google/cloud/container_v1beta1/services/cluster_manager/async_client.py b/google/cloud/container_v1beta1/services/cluster_manager/async_client.py index 5364ea41..ee546eed 100644 --- a/google/cloud/container_v1beta1/services/cluster_manager/async_client.py +++ b/google/cloud/container_v1beta1/services/cluster_manager/async_client.py @@ -1132,7 +1132,7 @@ async def set_locations( """ warnings.warn( - "ClusterManagerAsyncClient.set_locations is deprecated", DeprecationWarning, + "ClusterManagerAsyncClient.set_locations is deprecated", DeprecationWarning ) # Create or coerce a protobuf request object. diff --git a/google/cloud/container_v1beta1/services/cluster_manager/client.py b/google/cloud/container_v1beta1/services/cluster_manager/client.py index 21de5071..cba81caf 100644 --- a/google/cloud/container_v1beta1/services/cluster_manager/client.py +++ b/google/cloud/container_v1beta1/services/cluster_manager/client.py @@ -1296,7 +1296,7 @@ def set_locations( """ warnings.warn( - "ClusterManagerClient.set_locations is deprecated", DeprecationWarning, + "ClusterManagerClient.set_locations is deprecated", DeprecationWarning ) # Create or coerce a protobuf request object. diff --git a/google/cloud/container_v1beta1/types/cluster_service.py b/google/cloud/container_v1beta1/types/cluster_service.py index c40014d1..58969874 100644 --- a/google/cloud/container_v1beta1/types/cluster_service.py +++ b/google/cloud/container_v1beta1/types/cluster_service.py @@ -1720,6 +1720,9 @@ class ClusterUpdate(proto.Message): Configuration for Shielded Nodes. desired_master (google.cloud.container_v1beta1.types.Master): Configuration for master components. + desired_authenticator_groups_config (google.cloud.container_v1beta1.types.AuthenticatorGroupsConfig): + AuthenticatorGroupsConfig specifies the + config for the cluster security groups settings. """ desired_node_version = proto.Field(proto.STRING, number=4,) @@ -1785,6 +1788,9 @@ class ClusterUpdate(proto.Message): proto.MESSAGE, number=48, message="ShieldedNodes", ) desired_master = proto.Field(proto.MESSAGE, number=52, message="Master",) + desired_authenticator_groups_config = proto.Field( + proto.MESSAGE, number=63, message="AuthenticatorGroupsConfig", + ) class Operation(proto.Message):