diff --git a/CHANGELOG.md b/CHANGELOG.md index dc988648..13679bf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ [1]: https://pypi.org/project/google-cloud-container/#history +## [2.6.0](https://www.github.com/googleapis/python-container/compare/v2.5.0...v2.6.0) (2021-07-09) + + +### Features + +* allow updating security group on existing clusters ([#120](https://www.github.com/googleapis/python-container/issues/120)) ([28a3fc9](https://www.github.com/googleapis/python-container/commit/28a3fc94cd7587b5900408bbadf994f143b0d0c3)) +* allow updating security group on existing clusters ([#123](https://www.github.com/googleapis/python-container/issues/123)) ([e0d70e9](https://www.github.com/googleapis/python-container/commit/e0d70e98991eec24880497516829a0d4ed1dbc18)) + ## [2.5.0](https://www.github.com/googleapis/python-container/compare/v2.4.1...v2.5.0) (2021-06-30) 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_v1/types/cluster_service.py b/google/cloud/container_v1/types/cluster_service.py index 79450e44..6029eade 100644 --- a/google/cloud/container_v1/types/cluster_service.py +++ b/google/cloud/container_v1/types/cluster_service.py @@ -1401,6 +1401,9 @@ class ClusterUpdate(proto.Message): default sNAT for this cluster. desired_release_channel (google.cloud.container_v1.types.ReleaseChannel): The desired release channel configuration. + desired_authenticator_groups_config (google.cloud.container_v1.types.AuthenticatorGroupsConfig): + The desired authenticator groups config for + the cluster. desired_master_version (str): The Kubernetes version to change the master to. @@ -1464,6 +1467,9 @@ class ClusterUpdate(proto.Message): desired_release_channel = proto.Field( proto.MESSAGE, number=31, message="ReleaseChannel", ) + desired_authenticator_groups_config = proto.Field( + proto.MESSAGE, number=63, message="AuthenticatorGroupsConfig", + ) desired_master_version = proto.Field(proto.STRING, number=100,) 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): diff --git a/setup.py b/setup.py index 206956c8..e7de00d2 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ name = "google-cloud-container" description = "Google Container Engine API client library" -version = "2.5.0" +version = "2.6.0" # Should be one of: # 'Development Status :: 3 - Alpha' # 'Development Status :: 4 - Beta'