Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

feat: allow updating security group on existing clusters #120

Merged
merged 2 commits into from Jul 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -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.
Expand Down
Expand Up @@ -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.
Expand Down
Expand Up @@ -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.
Expand Down
Expand Up @@ -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.
Expand Down
6 changes: 6 additions & 0 deletions google/cloud/container_v1beta1/types/cluster_service.py
Expand Up @@ -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,)
Expand Down Expand Up @@ -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):
Expand Down