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

Commit

Permalink
feat: allow updating security group on existing clusters (#120)
Browse files Browse the repository at this point in the history
* feat: allow updating security group on existing clusters

PiperOrigin-RevId: 382761283

Source-Link: googleapis/googleapis@03a0afc

Source-Link: googleapis/googleapis-gen@93a9ded

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/master/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] committed Jul 2, 2021
1 parent 48700c2 commit 28a3fc9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
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

0 comments on commit 28a3fc9

Please sign in to comment.