From 6afc050f21c57a2d0eda3327c07510f2226aa6a6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 19 Feb 2020 14:39:59 -0800 Subject: [PATCH] feat: make `project_id`, `zone`, `cluster_id`, `node_pool` optional arguments to methods in `cluster_manager_client`; change default timeout config; add 2.7 sunset warning; bump copyright year to 2020 (via synth)(#8) --- google/cloud/container.py | 2 +- google/cloud/container_v1/__init__.py | 13 +- .../gapic/cluster_manager_client.py | 944 ++---- google/cloud/container_v1/gapic/enums.py | 2 +- .../cluster_manager_grpc_transport.py | 2 +- .../container_v1/proto/cluster_service.proto | 649 ++-- .../container_v1/proto/cluster_service_pb2.py | 1073 +++---- google/cloud/container_v1/types.py | 2 +- google/cloud/container_v1beta1/__init__.py | 13 +- .../gapic/cluster_manager_client.py | 381 +-- .../gapic/cluster_manager_client_config.py | 68 +- google/cloud/container_v1beta1/gapic/enums.py | 22 +- .../cluster_manager_grpc_transport.py | 37 +- .../proto/cluster_service.proto | 1049 +++++-- .../proto/cluster_service_pb2.py | 2740 ++++++++++++----- .../proto/cluster_service_pb2_grpc.py | 35 +- google/cloud/container_v1beta1/types.py | 5 +- noxfile.py | 3 +- synth.metadata | 27 +- .../v1/test_cluster_manager_client_v1.py | 615 +--- .../test_cluster_manager_client_v1beta1.py | 4 +- 21 files changed, 4262 insertions(+), 3424 deletions(-) diff --git a/google/cloud/container.py b/google/cloud/container.py index aa663f73..c6a8496a 100644 --- a/google/cloud/container.py +++ b/google/cloud/container.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/container_v1/__init__.py b/google/cloud/container_v1/__init__.py index ffa2273e..ffb8fd72 100644 --- a/google/cloud/container_v1/__init__.py +++ b/google/cloud/container_v1/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,12 +16,23 @@ from __future__ import absolute_import +import sys +import warnings from google.cloud.container_v1 import types from google.cloud.container_v1.gapic import cluster_manager_client from google.cloud.container_v1.gapic import enums +if sys.version_info[:2] == (2, 7): + message = ( + "A future version of this library will drop support for Python 2.7." + "More details about Python 2 support for Google Cloud Client Libraries" + "can be found at https://cloud.google.com/python/docs/python2-sunset/" + ) + warnings.warn(message, DeprecationWarning) + + class ClusterManagerClient(cluster_manager_client.ClusterManagerClient): __doc__ = cluster_manager_client.ClusterManagerClient.__doc__ enums = enums diff --git a/google/cloud/container_v1/gapic/cluster_manager_client.py b/google/cloud/container_v1/gapic/cluster_manager_client.py index c7894cd2..1206d169 100644 --- a/google/cloud/container_v1/gapic/cluster_manager_client.py +++ b/google/cloud/container_v1/gapic/cluster_manager_client.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -188,8 +188,8 @@ def __init__( # Service calls def list_clusters( self, - project_id, - zone, + project_id=None, + zone=None, parent=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -204,19 +204,13 @@ def list_clusters( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> response = client.list_clusters(project_id, zone) + >>> response = client.list_clusters() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the parent field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the parent field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field. @@ -275,9 +269,9 @@ def list_clusters( def get_cluster( self, - project_id, - zone, - cluster_id, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -291,26 +285,17 @@ def get_cluster( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> response = client.get_cluster(project_id, zone, cluster_id) + >>> response = client.get_cluster() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to retrieve. + cluster_id (str): Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster) of the cluster to retrieve. Specified in the format 'projects/*/locations/*/clusters/\*'. @@ -366,9 +351,9 @@ def get_cluster( def create_cluster( self, - project_id, - zone, cluster, + project_id=None, + zone=None, parent=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -393,30 +378,24 @@ def create_cluster( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> >>> # TODO: Initialize `cluster`: >>> cluster = {} >>> - >>> response = client.create_cluster(project_id, zone, cluster) + >>> response = client.create_cluster(cluster) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the parent field. - zone (str): Required. Deprecated. The name of the Google Compute Engine - `zone `__ in - which the cluster resides. This field has been deprecated and replaced - by the parent field. cluster (Union[dict, ~google.cloud.container_v1.types.Cluster]): Required. A `cluster resource `__ If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1.types.Cluster` + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the parent field. + zone (str): Deprecated. The name of the Google Compute Engine + `zone `__ in + which the cluster resides. This field has been deprecated and replaced + by the parent field. parent (str): The parent (project and location) where the cluster will be created. Specified in the format 'projects/*/locations/*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -450,7 +429,7 @@ def create_cluster( ) request = cluster_service_pb2.CreateClusterRequest( - project_id=project_id, zone=zone, cluster=cluster, parent=parent + cluster=cluster, project_id=project_id, zone=zone, parent=parent ) if metadata is None: metadata = [] @@ -471,10 +450,10 @@ def create_cluster( def update_cluster( self, - project_id, - zone, - cluster_id, update, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -488,34 +467,25 @@ def update_cluster( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> >>> # TODO: Initialize `update`: >>> update = {} >>> - >>> response = client.update_cluster(project_id, zone, cluster_id, update) + >>> response = client.update_cluster(update) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine - `zone `__ in - which the cluster resides. This field has been deprecated and replaced - by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. - This field has been deprecated and replaced by the name field. update (Union[dict, ~google.cloud.container_v1.types.ClusterUpdate]): Required. A description of the update. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1.types.ClusterUpdate` + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine + `zone `__ in + which the cluster resides. This field has been deprecated and replaced + by the name field. + cluster_id (str): Deprecated. The name of the cluster to upgrade. + This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster) of the cluster to update. Specified in the format 'projects/*/locations/*/clusters/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -549,10 +519,10 @@ def update_cluster( ) request = cluster_service_pb2.UpdateClusterRequest( + update=update, project_id=project_id, zone=zone, cluster_id=cluster_id, - update=update, name=name, ) if metadata is None: @@ -574,12 +544,12 @@ def update_cluster( def update_node_pool( self, - project_id, - zone, - cluster_id, - node_pool_id, node_version, image_type, + project_id=None, + zone=None, + cluster_id=None, + node_pool_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -593,38 +563,15 @@ def update_node_pool( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> # TODO: Initialize `node_pool_id`: - >>> node_pool_id = '' - >>> >>> # TODO: Initialize `node_version`: >>> node_version = '' >>> >>> # TODO: Initialize `image_type`: >>> image_type = '' >>> - >>> response = client.update_node_pool(project_id, zone, cluster_id, node_pool_id, node_version, image_type) + >>> response = client.update_node_pool(node_version, image_type) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine - `zone `__ in - which the cluster resides. This field has been deprecated and replaced - by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. - This field has been deprecated and replaced by the name field. - node_pool_id (str): Required. Deprecated. The name of the node pool to upgrade. - This field has been deprecated and replaced by the name field. node_version (str): Required. The Kubernetes version to change the nodes to (typically an upgrade). @@ -637,6 +584,17 @@ def update_node_pool( - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version image_type (str): Required. The desired image type for the node pool. + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine + `zone `__ in + which the cluster resides. This field has been deprecated and replaced + by the name field. + cluster_id (str): Deprecated. The name of the cluster to upgrade. + This field has been deprecated and replaced by the name field. + node_pool_id (str): Deprecated. The name of the node pool to upgrade. + This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster, node pool) of the node pool to update. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. @@ -671,12 +629,12 @@ def update_node_pool( ) request = cluster_service_pb2.UpdateNodePoolRequest( + node_version=node_version, + image_type=image_type, project_id=project_id, zone=zone, cluster_id=cluster_id, node_pool_id=node_pool_id, - node_version=node_version, - image_type=image_type, name=name, ) if metadata is None: @@ -698,11 +656,11 @@ def update_node_pool( def set_node_pool_autoscaling( self, - project_id, - zone, - cluster_id, - node_pool_id, autoscaling, + project_id=None, + zone=None, + cluster_id=None, + node_pool_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -716,39 +674,27 @@ def set_node_pool_autoscaling( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> # TODO: Initialize `node_pool_id`: - >>> node_pool_id = '' - >>> >>> # TODO: Initialize `autoscaling`: >>> autoscaling = {} >>> - >>> response = client.set_node_pool_autoscaling(project_id, zone, cluster_id, node_pool_id, autoscaling) + >>> response = client.set_node_pool_autoscaling(autoscaling) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + autoscaling (Union[dict, ~google.cloud.container_v1.types.NodePoolAutoscaling]): Required. Autoscaling configuration for the node pool. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.cloud.container_v1.types.NodePoolAutoscaling` + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. + cluster_id (str): Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. - node_pool_id (str): Required. Deprecated. The name of the node pool to upgrade. + node_pool_id (str): Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field. - autoscaling (Union[dict, ~google.cloud.container_v1.types.NodePoolAutoscaling]): Required. Autoscaling configuration for the node pool. - - If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.cloud.container_v1.types.NodePoolAutoscaling` name (str): The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. @@ -783,11 +729,11 @@ def set_node_pool_autoscaling( ) request = cluster_service_pb2.SetNodePoolAutoscalingRequest( + autoscaling=autoscaling, project_id=project_id, zone=zone, cluster_id=cluster_id, node_pool_id=node_pool_id, - autoscaling=autoscaling, name=name, ) if metadata is None: @@ -809,10 +755,10 @@ def set_node_pool_autoscaling( def set_logging_service( self, - project_id, - zone, - cluster_id, logging_service, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -826,35 +772,26 @@ def set_logging_service( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> >>> # TODO: Initialize `logging_service`: >>> logging_service = '' >>> - >>> response = client.set_logging_service(project_id, zone, cluster_id, logging_service) + >>> response = client.set_logging_service(logging_service) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine - `zone `__ in - which the cluster resides. This field has been deprecated and replaced - by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. - This field has been deprecated and replaced by the name field. logging_service (str): Required. The logging service the cluster should use to write metrics. Currently available options: - "logging.googleapis.com" - the Google Cloud Logging service - "none" - no metrics will be exported from the cluster + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine + `zone `__ in + which the cluster resides. This field has been deprecated and replaced + by the name field. + cluster_id (str): Deprecated. The name of the cluster to upgrade. + This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster) of the cluster to set logging. Specified in the format 'projects/*/locations/*/clusters/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -888,10 +825,10 @@ def set_logging_service( ) request = cluster_service_pb2.SetLoggingServiceRequest( + logging_service=logging_service, project_id=project_id, zone=zone, cluster_id=cluster_id, - logging_service=logging_service, name=name, ) if metadata is None: @@ -913,10 +850,10 @@ def set_logging_service( def set_monitoring_service( self, - project_id, - zone, - cluster_id, monitoring_service, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -930,30 +867,12 @@ def set_monitoring_service( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> >>> # TODO: Initialize `monitoring_service`: >>> monitoring_service = '' >>> - >>> response = client.set_monitoring_service(project_id, zone, cluster_id, monitoring_service) + >>> response = client.set_monitoring_service(monitoring_service) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine - `zone `__ in - which the cluster resides. This field has been deprecated and replaced - by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. - This field has been deprecated and replaced by the name field. monitoring_service (str): Required. The monitoring service the cluster should use to write metrics. Currently available options: @@ -961,6 +880,15 @@ def set_monitoring_service( service with Kubernetes-native resource model - "monitoring.googleapis.com" - the Google Cloud Monitoring service - "none" - no metrics will be exported from the cluster + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine + `zone `__ in + which the cluster resides. This field has been deprecated and replaced + by the name field. + cluster_id (str): Deprecated. The name of the cluster to upgrade. + This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster) of the cluster to set monitoring. Specified in the format 'projects/*/locations/*/clusters/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -994,10 +922,10 @@ def set_monitoring_service( ) request = cluster_service_pb2.SetMonitoringServiceRequest( + monitoring_service=monitoring_service, project_id=project_id, zone=zone, cluster_id=cluster_id, - monitoring_service=monitoring_service, name=name, ) if metadata is None: @@ -1019,10 +947,10 @@ def set_monitoring_service( def set_addons_config( self, - project_id, - zone, - cluster_id, addons_config, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -1036,35 +964,26 @@ def set_addons_config( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> >>> # TODO: Initialize `addons_config`: >>> addons_config = {} >>> - >>> response = client.set_addons_config(project_id, zone, cluster_id, addons_config) + >>> response = client.set_addons_config(addons_config) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine - `zone `__ in - which the cluster resides. This field has been deprecated and replaced - by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. - This field has been deprecated and replaced by the name field. addons_config (Union[dict, ~google.cloud.container_v1.types.AddonsConfig]): Required. The desired configurations for the various addons available to run in the cluster. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1.types.AddonsConfig` + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine + `zone `__ in + which the cluster resides. This field has been deprecated and replaced + by the name field. + cluster_id (str): Deprecated. The name of the cluster to upgrade. + This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster) of the cluster to set addons. Specified in the format 'projects/*/locations/*/clusters/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1098,10 +1017,10 @@ def set_addons_config( ) request = cluster_service_pb2.SetAddonsConfigRequest( + addons_config=addons_config, project_id=project_id, zone=zone, cluster_id=cluster_id, - addons_config=addons_config, name=name, ) if metadata is None: @@ -1123,10 +1042,10 @@ def set_addons_config( def set_locations( self, - project_id, - zone, - cluster_id, locations, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -1140,30 +1059,12 @@ def set_locations( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> >>> # TODO: Initialize `locations`: >>> locations = [] >>> - >>> response = client.set_locations(project_id, zone, cluster_id, locations) + >>> response = client.set_locations(locations) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine - `zone `__ in - which the cluster resides. This field has been deprecated and replaced - by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. - This field has been deprecated and replaced by the name field. locations (list[str]): Required. The desired list of Google Compute Engine `zones `__ in which the cluster's nodes should be located. Changing the locations a @@ -1171,6 +1072,15 @@ def set_locations( the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone. + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine + `zone `__ in + which the cluster resides. This field has been deprecated and replaced + by the name field. + cluster_id (str): Deprecated. The name of the cluster to upgrade. + This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster) of the cluster to set locations. Specified in the format 'projects/*/locations/*/clusters/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1204,10 +1114,10 @@ def set_locations( ) request = cluster_service_pb2.SetLocationsRequest( + locations=locations, project_id=project_id, zone=zone, cluster_id=cluster_id, - locations=locations, name=name, ) if metadata is None: @@ -1229,10 +1139,10 @@ def set_locations( def update_master( self, - project_id, - zone, - cluster_id, master_version, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -1246,30 +1156,12 @@ def update_master( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> >>> # TODO: Initialize `master_version`: >>> master_version = '' >>> - >>> response = client.update_master(project_id, zone, cluster_id, master_version) + >>> response = client.update_master(master_version) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine - `zone `__ in - which the cluster resides. This field has been deprecated and replaced - by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. - This field has been deprecated and replaced by the name field. master_version (str): Required. The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or @@ -1280,6 +1172,15 @@ def update_master( - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default Kubernetes version + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine + `zone `__ in + which the cluster resides. This field has been deprecated and replaced + by the name field. + cluster_id (str): Deprecated. The name of the cluster to upgrade. + This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster) of the cluster to update. Specified in the format 'projects/*/locations/*/clusters/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1313,10 +1214,10 @@ def update_master( ) request = cluster_service_pb2.UpdateMasterRequest( + master_version=master_version, project_id=project_id, zone=zone, cluster_id=cluster_id, - master_version=master_version, name=name, ) if metadata is None: @@ -1338,11 +1239,11 @@ def update_master( def set_master_auth( self, - project_id, - zone, - cluster_id, action, update, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -1359,38 +1260,29 @@ def set_master_auth( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> >>> # TODO: Initialize `action`: >>> action = enums.SetMasterAuthRequest.Action.UNKNOWN >>> >>> # TODO: Initialize `update`: >>> update = {} >>> - >>> response = client.set_master_auth(project_id, zone, cluster_id, action, update) + >>> response = client.set_master_auth(action, update) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine - `zone `__ in - which the cluster resides. This field has been deprecated and replaced - by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. - This field has been deprecated and replaced by the name field. action (~google.cloud.container_v1.types.Action): Required. The exact form of action to be taken on the master auth. update (Union[dict, ~google.cloud.container_v1.types.MasterAuth]): Required. A description of the update. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1.types.MasterAuth` + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine + `zone `__ in + which the cluster resides. This field has been deprecated and replaced + by the name field. + cluster_id (str): Deprecated. The name of the cluster to upgrade. + This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster) of the cluster to set auth. Specified in the format 'projects/*/locations/*/clusters/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1424,11 +1316,11 @@ def set_master_auth( ) request = cluster_service_pb2.SetMasterAuthRequest( + action=action, + update=update, project_id=project_id, zone=zone, cluster_id=cluster_id, - action=action, - update=update, name=name, ) if metadata is None: @@ -1450,9 +1342,9 @@ def set_master_auth( def delete_cluster( self, - project_id, - zone, - cluster_id, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -1474,26 +1366,17 @@ def delete_cluster( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> response = client.delete_cluster(project_id, zone, cluster_id) + >>> response = client.delete_cluster() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to delete. + cluster_id (str): Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster) of the cluster to delete. Specified in the format 'projects/*/locations/*/clusters/\*'. @@ -1549,8 +1432,8 @@ def delete_cluster( def list_operations( self, - project_id, - zone, + project_id=None, + zone=None, parent=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -1564,19 +1447,13 @@ def list_operations( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> response = client.list_operations(project_id, zone) + >>> response = client.list_operations() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the parent field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the parent field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ to return operations for, or ``-`` for all zones. This field has been deprecated and replaced by the parent field. @@ -1635,9 +1512,9 @@ def list_operations( def get_operation( self, - project_id, - zone, - operation_id, + project_id=None, + zone=None, + operation_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -1651,27 +1528,18 @@ def get_operation( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `operation_id`: - >>> operation_id = '' - >>> - >>> response = client.get_operation(project_id, zone, operation_id) + >>> response = client.get_operation() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - operation_id (str): Required. Deprecated. The server-assigned ``name`` of the operation. - This field has been deprecated and replaced by the name field. + operation_id (str): Deprecated. The server-assigned ``name`` of the operation. This field + has been deprecated and replaced by the name field. name (str): The name (project, location, operation id) of the operation to get. Specified in the format 'projects/*/locations/*/operations/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1726,9 +1594,9 @@ def get_operation( def cancel_operation( self, - project_id, - zone, - operation_id, + project_id=None, + zone=None, + operation_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -1742,27 +1610,18 @@ def cancel_operation( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `operation_id`: - >>> operation_id = '' - >>> - >>> client.cancel_operation(project_id, zone, operation_id) + >>> client.cancel_operation() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the operation resides. This field has been deprecated and replaced by the name field. - operation_id (str): Required. Deprecated. The server-assigned ``name`` of the operation. - This field has been deprecated and replaced by the name field. + operation_id (str): Deprecated. The server-assigned ``name`` of the operation. This field + has been deprecated and replaced by the name field. name (str): The name (project, location, operation id) of the operation to cancel. Specified in the format 'projects/*/locations/*/operations/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1814,8 +1673,8 @@ def cancel_operation( def get_server_config( self, - project_id, - zone, + project_id=None, + zone=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -1829,19 +1688,13 @@ def get_server_config( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> response = client.get_server_config(project_id, zone) + >>> response = client.get_server_config() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ to return operations for. This field has been deprecated and replaced by the name field. @@ -1899,9 +1752,9 @@ def get_server_config( def list_node_pools( self, - project_id, - zone, - cluster_id, + project_id=None, + zone=None, + cluster_id=None, parent=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -1915,27 +1768,17 @@ def list_node_pools( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> response = client.list_node_pools(project_id, zone, cluster_id) + >>> response = client.list_node_pools() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project + project_id (str): Deprecated. The Google Developers Console `project ID or project number `__. This field has been deprecated and replaced by the parent field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the parent field. - cluster_id (str): Required. Deprecated. The name of the cluster. + cluster_id (str): Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field. parent (str): The parent (project, location, cluster id) where the node pools will be listed. Specified in the format 'projects/*/locations/*/clusters/\*'. @@ -1991,10 +1834,10 @@ def list_node_pools( def get_node_pool( self, - project_id, - zone, - cluster_id, - node_pool_id, + project_id=None, + zone=None, + cluster_id=None, + node_pool_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -2008,32 +1851,19 @@ def get_node_pool( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> # TODO: Initialize `node_pool_id`: - >>> node_pool_id = '' - >>> - >>> response = client.get_node_pool(project_id, zone, cluster_id, node_pool_id) + >>> response = client.get_node_pool() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project + project_id (str): Deprecated. The Google Developers Console `project ID or project number `__. This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster. + cluster_id (str): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. - node_pool_id (str): Required. Deprecated. The name of the node pool. + node_pool_id (str): Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format @@ -2094,10 +1924,10 @@ def get_node_pool( def create_node_pool( self, - project_id, - zone, - cluster_id, node_pool, + project_id=None, + zone=None, + cluster_id=None, parent=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -2111,35 +1941,25 @@ def create_node_pool( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> >>> # TODO: Initialize `node_pool`: >>> node_pool = {} >>> - >>> response = client.create_node_pool(project_id, zone, cluster_id, node_pool) + >>> response = client.create_node_pool(node_pool) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project + node_pool (Union[dict, ~google.cloud.container_v1.types.NodePool]): Required. The node pool to create. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.cloud.container_v1.types.NodePool` + project_id (str): Deprecated. The Google Developers Console `project ID or project number `__. This field has been deprecated and replaced by the parent field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the parent field. - cluster_id (str): Required. Deprecated. The name of the cluster. + cluster_id (str): Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field. - node_pool (Union[dict, ~google.cloud.container_v1.types.NodePool]): Required. The node pool to create. - - If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.cloud.container_v1.types.NodePool` parent (str): The parent (project, location, cluster id) where the node pool will be created. Specified in the format 'projects/*/locations/*/clusters/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -2173,10 +1993,10 @@ def create_node_pool( ) request = cluster_service_pb2.CreateNodePoolRequest( + node_pool=node_pool, project_id=project_id, zone=zone, cluster_id=cluster_id, - node_pool=node_pool, parent=parent, ) if metadata is None: @@ -2198,10 +2018,10 @@ def create_node_pool( def delete_node_pool( self, - project_id, - zone, - cluster_id, - node_pool_id, + project_id=None, + zone=None, + cluster_id=None, + node_pool_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -2215,32 +2035,19 @@ def delete_node_pool( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> # TODO: Initialize `node_pool_id`: - >>> node_pool_id = '' - >>> - >>> response = client.delete_node_pool(project_id, zone, cluster_id, node_pool_id) + >>> response = client.delete_node_pool() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project + project_id (str): Deprecated. The Google Developers Console `project ID or project number `__. This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster. + cluster_id (str): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. - node_pool_id (str): Required. Deprecated. The name of the node pool to delete. + node_pool_id (str): Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format @@ -2301,10 +2108,10 @@ def delete_node_pool( def rollback_node_pool_upgrade( self, - project_id, - zone, - cluster_id, - node_pool_id, + project_id=None, + zone=None, + cluster_id=None, + node_pool_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -2319,31 +2126,19 @@ def rollback_node_pool_upgrade( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> # TODO: Initialize `node_pool_id`: - >>> node_pool_id = '' - >>> - >>> response = client.rollback_node_pool_upgrade(project_id, zone, cluster_id, node_pool_id) + >>> response = client.rollback_node_pool_upgrade() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to rollback. + cluster_id (str): Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field. - node_pool_id (str): Required. Deprecated. The name of the node pool to rollback. + node_pool_id (str): Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format @@ -2404,11 +2199,11 @@ def rollback_node_pool_upgrade( def set_node_pool_management( self, - project_id, - zone, - cluster_id, - node_pool_id, management, + project_id=None, + zone=None, + cluster_id=None, + node_pool_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -2422,39 +2217,27 @@ def set_node_pool_management( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> # TODO: Initialize `node_pool_id`: - >>> node_pool_id = '' - >>> >>> # TODO: Initialize `management`: >>> management = {} >>> - >>> response = client.set_node_pool_management(project_id, zone, cluster_id, node_pool_id, management) + >>> response = client.set_node_pool_management(management) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + management (Union[dict, ~google.cloud.container_v1.types.NodeManagement]): Required. NodeManagement configuration for the node pool. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.cloud.container_v1.types.NodeManagement` + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to update. + cluster_id (str): Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. - node_pool_id (str): Required. Deprecated. The name of the node pool to update. + node_pool_id (str): Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field. - management (Union[dict, ~google.cloud.container_v1.types.NodeManagement]): Required. NodeManagement configuration for the node pool. - - If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.cloud.container_v1.types.NodeManagement` name (str): The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. @@ -2489,11 +2272,11 @@ def set_node_pool_management( ) request = cluster_service_pb2.SetNodePoolManagementRequest( + management=management, project_id=project_id, zone=zone, cluster_id=cluster_id, node_pool_id=node_pool_id, - management=management, name=name, ) if metadata is None: @@ -2515,11 +2298,11 @@ def set_node_pool_management( def set_labels( self, - project_id, - zone, - cluster_id, resource_labels, label_fingerprint, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -2533,34 +2316,15 @@ def set_labels( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> >>> # TODO: Initialize `resource_labels`: >>> resource_labels = {} >>> >>> # TODO: Initialize `label_fingerprint`: >>> label_fingerprint = '' >>> - >>> response = client.set_labels(project_id, zone, cluster_id, resource_labels, label_fingerprint) + >>> response = client.set_labels(resource_labels, label_fingerprint) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project - number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine - `zone `__ in - which the cluster resides. This field has been deprecated and replaced - by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster. - This field has been deprecated and replaced by the name field. resource_labels (dict[str -> str]): Required. The labels to set for that cluster. label_fingerprint (str): Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by @@ -2568,6 +2332,15 @@ def set_labels( labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a get() request to the resource to get the latest fingerprint. + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. + This field has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine + `zone `__ in + which the cluster resides. This field has been deprecated and replaced + by the name field. + cluster_id (str): Deprecated. The name of the cluster. + This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster id) of the cluster to set labels. Specified in the format 'projects/*/locations/*/clusters/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -2601,11 +2374,11 @@ def set_labels( ) request = cluster_service_pb2.SetLabelsRequest( + resource_labels=resource_labels, + label_fingerprint=label_fingerprint, project_id=project_id, zone=zone, cluster_id=cluster_id, - resource_labels=resource_labels, - label_fingerprint=label_fingerprint, name=name, ) if metadata is None: @@ -2627,10 +2400,10 @@ def set_labels( def set_legacy_abac( self, - project_id, - zone, - cluster_id, enabled, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -2644,31 +2417,22 @@ def set_legacy_abac( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> >>> # TODO: Initialize `enabled`: >>> enabled = False >>> - >>> response = client.set_legacy_abac(project_id, zone, cluster_id, enabled) + >>> response = client.set_legacy_abac(enabled) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + enabled (bool): Required. Whether ABAC authorization will be enabled in the cluster. + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to update. + cluster_id (str): Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. - enabled (bool): Required. Whether ABAC authorization will be enabled in the cluster. name (str): The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format 'projects/*/locations/*/clusters/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -2702,10 +2466,10 @@ def set_legacy_abac( ) request = cluster_service_pb2.SetLegacyAbacRequest( + enabled=enabled, project_id=project_id, zone=zone, cluster_id=cluster_id, - enabled=enabled, name=name, ) if metadata is None: @@ -2727,9 +2491,9 @@ def set_legacy_abac( def start_i_p_rotation( self, - project_id, - zone, - cluster_id, + project_id=None, + zone=None, + cluster_id=None, name=None, rotate_credentials=None, retry=google.api_core.gapic_v1.method.DEFAULT, @@ -2744,27 +2508,17 @@ def start_i_p_rotation( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> response = client.start_i_p_rotation(project_id, zone, cluster_id) + >>> response = client.start_i_p_rotation() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project + project_id (str): Deprecated. The Google Developers Console `project ID or project number `__. This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster. + cluster_id (str): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format 'projects/*/locations/*/clusters/\*'. @@ -2825,9 +2579,9 @@ def start_i_p_rotation( def complete_i_p_rotation( self, - project_id, - zone, - cluster_id, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -2841,27 +2595,17 @@ def complete_i_p_rotation( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> response = client.complete_i_p_rotation(project_id, zone, cluster_id) + >>> response = client.complete_i_p_rotation() Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project + project_id (str): Deprecated. The Google Developers Console `project ID or project number `__. This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster. + cluster_id (str): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format 'projects/*/locations/*/clusters/\*'. @@ -2917,11 +2661,11 @@ def complete_i_p_rotation( def set_node_pool_size( self, - project_id, - zone, - cluster_id, - node_pool_id, node_count, + project_id=None, + zone=None, + cluster_id=None, + node_pool_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -2935,36 +2679,24 @@ def set_node_pool_size( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> - >>> # TODO: Initialize `node_pool_id`: - >>> node_pool_id = '' - >>> >>> # TODO: Initialize `node_count`: >>> node_count = 0 >>> - >>> response = client.set_node_pool_size(project_id, zone, cluster_id, node_pool_id, node_count) + >>> response = client.set_node_pool_size(node_count) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project number `__. - This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + node_count (int): Required. The desired node count for the pool. + project_id (str): Deprecated. The Google Developers Console `project ID or project + number `__. This field + has been deprecated and replaced by the name field. + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster to update. + cluster_id (str): Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. - node_pool_id (str): Required. Deprecated. The name of the node pool to update. + node_pool_id (str): Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field. - node_count (int): Required. The desired node count for the pool. name (str): The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. @@ -2999,11 +2731,11 @@ def set_node_pool_size( ) request = cluster_service_pb2.SetNodePoolSizeRequest( + node_count=node_count, project_id=project_id, zone=zone, cluster_id=cluster_id, node_pool_id=node_pool_id, - node_count=node_count, name=name, ) if metadata is None: @@ -3025,10 +2757,10 @@ def set_node_pool_size( def set_network_policy( self, - project_id, - zone, - cluster_id, network_policy, + project_id=None, + zone=None, + cluster_id=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -3042,35 +2774,25 @@ def set_network_policy( >>> >>> client = container_v1.ClusterManagerClient() >>> - >>> # TODO: Initialize `project_id`: - >>> project_id = '' - >>> - >>> # TODO: Initialize `zone`: - >>> zone = '' - >>> - >>> # TODO: Initialize `cluster_id`: - >>> cluster_id = '' - >>> >>> # TODO: Initialize `network_policy`: >>> network_policy = {} >>> - >>> response = client.set_network_policy(project_id, zone, cluster_id, network_policy) + >>> response = client.set_network_policy(network_policy) Args: - project_id (str): Required. Deprecated. The Google Developers Console `project ID or - project + network_policy (Union[dict, ~google.cloud.container_v1.types.NetworkPolicy]): Required. Configuration options for the NetworkPolicy feature. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.cloud.container_v1.types.NetworkPolicy` + project_id (str): Deprecated. The Google Developers Console `project ID or project number `__. This field has been deprecated and replaced by the name field. - zone (str): Required. Deprecated. The name of the Google Compute Engine + zone (str): Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Required. Deprecated. The name of the cluster. + cluster_id (str): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. - network_policy (Union[dict, ~google.cloud.container_v1.types.NetworkPolicy]): Required. Configuration options for the NetworkPolicy feature. - - If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.cloud.container_v1.types.NetworkPolicy` name (str): The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format 'projects/*/locations/*/clusters/\*'. @@ -3105,10 +2827,10 @@ def set_network_policy( ) request = cluster_service_pb2.SetNetworkPolicyRequest( + network_policy=network_policy, project_id=project_id, zone=zone, cluster_id=cluster_id, - network_policy=network_policy, name=name, ) if metadata is None: diff --git a/google/cloud/container_v1/gapic/enums.py b/google/cloud/container_v1/gapic/enums.py index 91a90e6e..eb8928a0 100644 --- a/google/cloud/container_v1/gapic/enums.py +++ b/google/cloud/container_v1/gapic/enums.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/container_v1/gapic/transports/cluster_manager_grpc_transport.py b/google/cloud/container_v1/gapic/transports/cluster_manager_grpc_transport.py index e0a6e5b8..5fad469c 100644 --- a/google/cloud/container_v1/gapic/transports/cluster_manager_grpc_transport.py +++ b/google/cloud/container_v1/gapic/transports/cluster_manager_grpc_transport.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/container_v1/proto/cluster_service.proto b/google/cloud/container_v1/proto/cluster_service.proto index 86475baa..6330645a 100644 --- a/google/cloud/container_v1/proto/cluster_service.proto +++ b/google/cloud/container_v1/proto/cluster_service.proto @@ -45,6 +45,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone"; + option (google.api.method_signature) = "parent"; } // Gets the details of a specific cluster. @@ -56,6 +57,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id"; + option (google.api.method_signature) = "name"; } // Creates a cluster, consisting of the specified number and type of Google @@ -81,6 +83,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster"; + option (google.api.method_signature) = "parent,cluster"; } // Updates the settings of a specific cluster. @@ -94,6 +97,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,update"; + option (google.api.method_signature) = "name,update"; } // Updates the version and/or image type for the specified node pool. @@ -131,6 +135,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,logging_service"; + option (google.api.method_signature) = "name,logging_service"; } // Sets the monitoring service for a specific cluster. @@ -144,6 +149,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,monitoring_service"; + option (google.api.method_signature) = "name,monitoring_service"; } // Sets the addons for a specific cluster. @@ -157,6 +163,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,addons_config"; + option (google.api.method_signature) = "name,addons_config"; } // Sets the locations for a specific cluster. @@ -170,6 +177,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,locations"; + option (google.api.method_signature) = "name,locations"; } // Updates the master for a specific cluster. @@ -183,6 +191,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,master_version"; + option (google.api.method_signature) = "name,master_version"; } // Sets master auth materials. Currently supports changing the admin password @@ -216,6 +225,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id"; + option (google.api.method_signature) = "name"; } // Lists all operations in a project in a specific zone or all zones. @@ -251,6 +261,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,operation_id"; + option (google.api.method_signature) = "name"; } // Returns configuration info about the Google Kubernetes Engine service. @@ -262,6 +273,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone"; + option (google.api.method_signature) = "name"; } // Lists the node pools for a cluster. @@ -273,6 +285,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id"; + option (google.api.method_signature) = "parent"; } // Retrieves the requested node pool. @@ -284,6 +297,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool_id"; + option (google.api.method_signature) = "name"; } // Creates a node pool for a cluster. @@ -297,6 +311,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool"; + option (google.api.method_signature) = "parent,node_pool"; } // Deletes a node pool from a cluster. @@ -308,6 +323,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool_id"; + option (google.api.method_signature) = "name"; } // Rolls back a previously Aborted or Failed NodePool upgrade. @@ -322,6 +338,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool_id"; + option (google.api.method_signature) = "name"; } // Sets the NodeManagement options for a node pool. @@ -359,6 +376,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,enabled"; + option (google.api.method_signature) = "name,enabled"; } // Starts master IP rotation. @@ -372,6 +390,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id"; + option (google.api.method_signature) = "name"; } // Completes master IP rotation. @@ -385,6 +404,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id"; + option (google.api.method_signature) = "name"; } // Sets the size for a specific node pool. @@ -410,6 +430,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,network_policy"; + option (google.api.method_signature) = "name,network_policy"; } // Sets the maintenance policy for a cluster. @@ -423,6 +444,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,maintenance_policy"; + option (google.api.method_signature) = "name,maintenance_policy"; } // Lists subnetworks that are usable for creating clusters in a project. @@ -1422,22 +1444,16 @@ message Operation { // CreateClusterRequest creates a cluster. message CreateClusterRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the parent field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the parent field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; // Required. A [cluster // resource](/container-engine/reference/rest/v1/projects.zones.clusters) @@ -1450,29 +1466,20 @@ message CreateClusterRequest { // GetClusterRequest gets the settings of a cluster. message GetClusterRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to retrieve. + // Deprecated. The name of the cluster to retrieve. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // The name (project, location, cluster) of the cluster to retrieve. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1481,29 +1488,20 @@ message GetClusterRequest { // UpdateClusterRequest updates the settings of a cluster. message UpdateClusterRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. A description of the update. ClusterUpdate update = 4 [(google.api.field_behavior) = REQUIRED]; @@ -1515,36 +1513,24 @@ message UpdateClusterRequest { // UpdateNodePoolRequests update a node pool's image and/or version. message UpdateNodePoolRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to upgrade. + // Deprecated. The name of the node pool to upgrade. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // Required. The Kubernetes version to change the nodes to (typically an // upgrade). @@ -1570,36 +1556,24 @@ message UpdateNodePoolRequest { // SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. message SetNodePoolAutoscalingRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to upgrade. + // Deprecated. The name of the node pool to upgrade. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // Required. Autoscaling configuration for the node pool. NodePoolAutoscaling autoscaling = 5 [(google.api.field_behavior) = REQUIRED]; @@ -1612,26 +1586,20 @@ message SetNodePoolAutoscalingRequest { // SetLoggingServiceRequest sets the logging service of a cluster. message SetLoggingServiceRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [(google.api.field_behavior) = REQUIRED]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The logging service the cluster should use to write metrics. // Currently available options: @@ -1647,29 +1615,20 @@ message SetLoggingServiceRequest { // SetMonitoringServiceRequest sets the monitoring service of a cluster. message SetMonitoringServiceRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The monitoring service the cluster should use to write metrics. // Currently available options: @@ -1687,29 +1646,20 @@ message SetMonitoringServiceRequest { // SetAddonsConfigRequest sets the addons associated with the cluster. message SetAddonsConfigRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The desired configurations for the various addons available to run in the // cluster. @@ -1722,29 +1672,20 @@ message SetAddonsConfigRequest { // SetLocationsRequest sets the locations of the cluster. message SetLocationsRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The desired list of Google Compute Engine // [zones](/compute/docs/zones#available) in which the cluster's nodes @@ -1762,29 +1703,20 @@ message SetLocationsRequest { // UpdateMasterRequest updates the master of the cluster. message UpdateMasterRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The Kubernetes version to change the master to. // @@ -1823,29 +1755,20 @@ message SetMasterAuthRequest { SET_USERNAME = 3; } - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The exact form of action to be taken on the master auth. Action action = 4 [(google.api.field_behavior) = REQUIRED]; @@ -1860,29 +1783,20 @@ message SetMasterAuthRequest { // DeleteClusterRequest deletes a cluster. message DeleteClusterRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to delete. + // Deprecated. The name of the cluster to delete. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // The name (project, location, cluster) of the cluster to delete. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1891,22 +1805,16 @@ message DeleteClusterRequest { // ListClustersRequest lists clusters. message ListClustersRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the parent field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides, or "-" for all zones. // This field has been deprecated and replaced by the parent field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; // The parent (project and location) where the clusters will be listed. // Specified in the format 'projects/*/locations/*'. @@ -1927,29 +1835,20 @@ message ListClustersResponse { // GetOperationRequest gets a single operation. message GetOperationRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The server-assigned `name` of the operation. + // Deprecated. The server-assigned `name` of the operation. // This field has been deprecated and replaced by the name field. - string operation_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string operation_id = 3 [deprecated = true]; // The name (project, location, operation id) of the operation to get. // Specified in the format 'projects/*/locations/*/operations/*'. @@ -1958,21 +1857,15 @@ message GetOperationRequest { // ListOperationsRequest lists operations. message ListOperationsRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the parent field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) to return operations for, or `-` for // all zones. This field has been deprecated and replaced by the parent field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; // The parent (project and location) where the operations will be listed. // Specified in the format 'projects/*/locations/*'. @@ -1982,28 +1875,19 @@ message ListOperationsRequest { // CancelOperationRequest cancels a single operation. message CancelOperationRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the operation resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The server-assigned `name` of the operation. + // Deprecated. The server-assigned `name` of the operation. // This field has been deprecated and replaced by the name field. - string operation_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string operation_id = 3 [deprecated = true]; // The name (project, location, operation id) of the operation to cancel. // Specified in the format 'projects/*/locations/*/operations/*'. @@ -2022,21 +1906,15 @@ message ListOperationsResponse { // Gets the current Kubernetes Engine service configuration. message GetServerConfigRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) to return operations for. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; // The name (project and location) of the server config to get, // specified in the format 'projects/*/locations/*'. @@ -2063,29 +1941,20 @@ message ServerConfig { // CreateNodePoolRequest creates a node pool for a cluster. message CreateNodePoolRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the parent field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the parent field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the parent field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The node pool to create. NodePool node_pool = 4 [(google.api.field_behavior) = REQUIRED]; @@ -2098,36 +1967,24 @@ message CreateNodePoolRequest { // DeleteNodePoolRequest deletes a node pool for a cluster. message DeleteNodePoolRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to delete. + // Deprecated. The name of the node pool to delete. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // The name (project, location, cluster, node pool id) of the node pool to // delete. Specified in the format @@ -2137,29 +1994,20 @@ message DeleteNodePoolRequest { // ListNodePoolsRequest lists the node pool(s) for a cluster. message ListNodePoolsRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the parent field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the parent field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the parent field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // The parent (project, location, cluster id) where the node pools will be // listed. Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2168,36 +2016,24 @@ message ListNodePoolsRequest { // GetNodePoolRequest retrieves a node pool for a cluster. message GetNodePoolRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool. + // Deprecated. The name of the node pool. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // The name (project, location, cluster, node pool id) of the node pool to // get. Specified in the format @@ -2414,36 +2250,24 @@ message DailyMaintenanceWindow { // SetNodePoolManagementRequest sets the node management properties of a node // pool. message SetNodePoolManagementRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to update. + // Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to update. + // Deprecated. The name of the node pool to update. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // Required. NodeManagement configuration for the node pool. NodeManagement management = 5 [(google.api.field_behavior) = REQUIRED]; @@ -2457,36 +2281,24 @@ message SetNodePoolManagementRequest { // SetNodePoolSizeRequest sets the size a node // pool. message SetNodePoolSizeRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to update. + // Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to update. + // Deprecated. The name of the node pool to update. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // Required. The desired node count for the pool. int32 node_count = 5 [(google.api.field_behavior) = REQUIRED]; @@ -2501,36 +2313,24 @@ message SetNodePoolSizeRequest { // NodePool upgrade. This will be an no-op if the last upgrade successfully // completed. message RollbackNodePoolUpgradeRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to rollback. + // Deprecated. The name of the cluster to rollback. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to rollback. + // Deprecated. The name of the node pool to rollback. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // The name (project, location, cluster, node pool id) of the node poll to // rollback upgrade. @@ -2612,29 +2412,20 @@ message NodePoolAutoscaling { // Engine cluster, which will in turn set them for Google Compute Engine // resources used by that cluster message SetLabelsRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The labels to set for that cluster. map resource_labels = 4 [(google.api.field_behavior) = REQUIRED]; @@ -2655,29 +2446,20 @@ message SetLabelsRequest { // SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for // a cluster. message SetLegacyAbacRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to update. + // Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. Whether ABAC authorization will be enabled in the cluster. bool enabled = 4 [(google.api.field_behavior) = REQUIRED]; @@ -2690,29 +2472,20 @@ message SetLegacyAbacRequest { // StartIPRotationRequest creates a new IP for the cluster and then performs // a node upgrade on each node pool to point to the new IP. message StartIPRotationRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // The name (project, location, cluster id) of the cluster to start IP // rotation. Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2724,29 +2497,20 @@ message StartIPRotationRequest { // CompleteIPRotationRequest moves the cluster master back into single-IP mode. message CompleteIPRotationRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // The name (project, location, cluster id) of the cluster to complete IP // rotation. Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2765,29 +2529,20 @@ message AcceleratorConfig { // SetNetworkPolicyRequest enables/disables network policy for a cluster. message SetNetworkPolicyRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. Configuration options for the NetworkPolicy feature. NetworkPolicy network_policy = 4 [(google.api.field_behavior) = REQUIRED]; diff --git a/google/cloud/container_v1/proto/cluster_service_pb2.py b/google/cloud/container_v1/proto/cluster_service_pb2.py index cc473062..a869d705 100644 --- a/google/cloud/container_v1/proto/cluster_service_pb2.py +++ b/google/cloud/container_v1/proto/cluster_service_pb2.py @@ -31,7 +31,7 @@ "\n\027com.google.container.v1B\023ClusterServiceProtoP\001Z\n\x16\x44\x61ilyMaintenanceWindow\x12\x12\n\nstart_time\x18\x02 \x01(\t\x12\x10\n\x08\x64uration\x18\x03 \x01(\t"\xd2\x01\n\x1cSetNodePoolManagementRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0cnode_pool_id\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12<\n\nmanagement\x18\x05 \x01(\x0b\x32#.google.container.v1.NodeManagementB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t"\xa7\x01\n\x16SetNodePoolSizeRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0cnode_pool_id\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x17\n\nnode_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t"\x96\x01\n\x1eRollbackNodePoolUpgradeRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0cnode_pool_id\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"J\n\x15ListNodePoolsResponse\x12\x31\n\nnode_pools\x18\x01 \x03(\x0b\x32\x1d.google.container.v1.NodePool"\xff\x01\n\x12\x43lusterAutoscaling\x12$\n\x1c\x65nable_node_autoprovisioning\x18\x01 \x01(\x08\x12;\n\x0fresource_limits\x18\x02 \x03(\x0b\x32".google.container.v1.ResourceLimit\x12\x62\n#autoprovisioning_node_pool_defaults\x18\x04 \x01(\x0b\x32\x35.google.container.v1.AutoprovisioningNodePoolDefaults\x12"\n\x1a\x61utoprovisioning_locations\x18\x05 \x03(\t"Q\n AutoprovisioningNodePoolDefaults\x12\x14\n\x0coauth_scopes\x18\x01 \x03(\t\x12\x17\n\x0fservice_account\x18\x02 \x01(\t"H\n\rResourceLimit\x12\x15\n\rresource_type\x18\x01 \x01(\t\x12\x0f\n\x07minimum\x18\x02 \x01(\x03\x12\x0f\n\x07maximum\x18\x03 \x01(\x03"o\n\x13NodePoolAutoscaling\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x16\n\x0emin_node_count\x18\x02 \x01(\x05\x12\x16\n\x0emax_node_count\x18\x03 \x01(\x05\x12\x17\n\x0f\x61utoprovisioned\x18\x04 \x01(\x08"\x9b\x02\n\x10SetLabelsRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12W\n\x0fresource_labels\x18\x04 \x03(\x0b\x32\x39.google.container.v1.SetLabelsRequest.ResourceLabelsEntryB\x03\xe0\x41\x02\x12\x1e\n\x11label_fingerprint\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t\x1a\x35\n\x13ResourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x85\x01\n\x14SetLegacyAbacRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x14\n\x07\x65nabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"\x8d\x01\n\x16StartIPRotationRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x1a\n\x12rotate_credentials\x18\x07 \x01(\x08"t\n\x19\x43ompleteIPRotationRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t"H\n\x11\x41\x63\x63\x65leratorConfig\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x01 \x01(\x03\x12\x18\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\t"\xb3\x01\n\x17SetNetworkPolicyRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12?\n\x0enetwork_policy\x18\x04 \x01(\x0b\x32".google.container.v1.NetworkPolicyB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"\xb9\x01\n\x1bSetMaintenancePolicyRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04zone\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ncluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12G\n\x12maintenance_policy\x18\x04 \x01(\x0b\x32&.google.container.v1.MaintenancePolicyB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x05 \x01(\t"\xea\x01\n\x0fStatusCondition\x12\x37\n\x04\x63ode\x18\x01 \x01(\x0e\x32).google.container.v1.StatusCondition.Code\x12\x0f\n\x07message\x18\x02 \x01(\t"\x8c\x01\n\x04\x43ode\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x10\n\x0cGCE_STOCKOUT\x10\x01\x12\x1f\n\x1bGKE_SERVICE_ACCOUNT_DELETED\x10\x02\x12\x16\n\x12GCE_QUOTA_EXCEEDED\x10\x03\x12\x13\n\x0fSET_BY_OPERATOR\x10\x04\x12\x17\n\x13\x43LOUD_KMS_KEY_ERROR\x10\x07"Z\n\rNetworkConfig\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x12\n\nsubnetwork\x18\x02 \x01(\t\x12$\n\x1c\x65nable_intra_node_visibility\x18\x05 \x01(\x08",\n\x19IntraNodeVisibilityConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08".\n\x11MaxPodsConstraint\x12\x19\n\x11max_pods_per_node\x18\x01 \x01(\x03"\x98\x01\n\x12\x44\x61tabaseEncryption\x12<\n\x05state\x18\x02 \x01(\x0e\x32-.google.container.v1.DatabaseEncryption.State\x12\x10\n\x08key_name\x18\x01 \x01(\t"2\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tENCRYPTED\x10\x01\x12\r\n\tDECRYPTED\x10\x02"e\n\x1cListUsableSubnetworksRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"t\n\x1dListUsableSubnetworksResponse\x12:\n\x0bsubnetworks\x18\x01 \x03(\x0b\x32%.google.container.v1.UsableSubnetwork\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x80\x02\n\x1eUsableSubnetworkSecondaryRange\x12\x12\n\nrange_name\x18\x01 \x01(\t\x12\x15\n\rip_cidr_range\x18\x02 \x01(\t\x12J\n\x06status\x18\x03 \x01(\x0e\x32:.google.container.v1.UsableSubnetworkSecondaryRange.Status"g\n\x06Status\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06UNUSED\x10\x01\x12\x12\n\x0eIN_USE_SERVICE\x10\x02\x12\x18\n\x14IN_USE_SHAREABLE_POD\x10\x03\x12\x16\n\x12IN_USE_MANAGED_POD\x10\x04"\xb8\x01\n\x10UsableSubnetwork\x12\x12\n\nsubnetwork\x18\x01 \x01(\t\x12\x0f\n\x07network\x18\x02 \x01(\t\x12\x15\n\rip_cidr_range\x18\x03 \x01(\t\x12P\n\x13secondary_ip_ranges\x18\x04 \x03(\x0b\x32\x33.google.container.v1.UsableSubnetworkSecondaryRange\x12\x16\n\x0estatus_message\x18\x05 \x01(\t"\xed\x02\n\x19ResourceUsageExportConfig\x12`\n\x14\x62igquery_destination\x18\x01 \x01(\x0b\x32\x42.google.container.v1.ResourceUsageExportConfig.BigQueryDestination\x12&\n\x1e\x65nable_network_egress_metering\x18\x02 \x01(\x08\x12m\n\x1b\x63onsumption_metering_config\x18\x03 \x01(\x0b\x32H.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig\x1a)\n\x13\x42igQueryDestination\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x1a,\n\x19\x43onsumptionMeteringConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08")\n\x16VerticalPodAutoscaling\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x32\xa1\x42\n\x0e\x43lusterManager\x12\xde\x01\n\x0cListClusters\x12(.google.container.v1.ListClustersRequest\x1a).google.container.v1.ListClustersResponse"y\x82\xd3\xe4\x93\x02\x61\x12,/v1/{parent=projects/*/locations/*}/clustersZ1\x12//v1/projects/{project_id}/zones/{zone}/clusters\xda\x41\x0fproject_id,zone\x12\xe6\x01\n\nGetCluster\x12&.google.container.v1.GetClusterRequest\x1a\x1c.google.container.v1.Cluster"\x91\x01\x82\xd3\xe4\x93\x02n\x12,/v1/{name=projects/*/locations/*/clusters/*}Z>\x12*/v1/{name=projects/*/locations/*/clusters/*}:setResourceLabels:\x01*ZP"K/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels:\x01*\x12\x96\x02\n\rSetLegacyAbac\x12).google.container.v1.SetLegacyAbacRequest\x1a\x1e.google.container.v1.Operation"\xb9\x01\x82\xd3\xe4\x93\x02\x8d\x01":/v1/{name=projects/*/locations/*/clusters/*}:setLegacyAbac:\x01*ZL"G/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/legacyAbac:\x01*\xda\x41"project_id,zone,cluster_id,enabled\x12\x99\x02\n\x0fStartIPRotation\x12+.google.container.v1.StartIPRotationRequest\x1a\x1e.google.container.v1.Operation"\xb8\x01\x82\xd3\xe4\x93\x02\x94\x01"\n\x16\x44\x61ilyMaintenanceWindow\x12\x12\n\nstart_time\x18\x02 \x01(\t\x12\x10\n\x08\x64uration\x18\x03 \x01(\t"\xc6\x01\n\x1cSetNodePoolManagementRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x18\n\x0cnode_pool_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\nmanagement\x18\x05 \x01(\x0b\x32#.google.container.v1.NodeManagementB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t"\x9b\x01\n\x16SetNodePoolSizeRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x18\n\x0cnode_pool_id\x18\x04 \x01(\tB\x02\x18\x01\x12\x17\n\nnode_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t"\x8a\x01\n\x1eRollbackNodePoolUpgradeRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x18\n\x0cnode_pool_id\x18\x04 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x06 \x01(\t"J\n\x15ListNodePoolsResponse\x12\x31\n\nnode_pools\x18\x01 \x03(\x0b\x32\x1d.google.container.v1.NodePool"\xff\x01\n\x12\x43lusterAutoscaling\x12$\n\x1c\x65nable_node_autoprovisioning\x18\x01 \x01(\x08\x12;\n\x0fresource_limits\x18\x02 \x03(\x0b\x32".google.container.v1.ResourceLimit\x12\x62\n#autoprovisioning_node_pool_defaults\x18\x04 \x01(\x0b\x32\x35.google.container.v1.AutoprovisioningNodePoolDefaults\x12"\n\x1a\x61utoprovisioning_locations\x18\x05 \x03(\t"Q\n AutoprovisioningNodePoolDefaults\x12\x14\n\x0coauth_scopes\x18\x01 \x03(\t\x12\x17\n\x0fservice_account\x18\x02 \x01(\t"H\n\rResourceLimit\x12\x15\n\rresource_type\x18\x01 \x01(\t\x12\x0f\n\x07minimum\x18\x02 \x01(\x03\x12\x0f\n\x07maximum\x18\x03 \x01(\x03"o\n\x13NodePoolAutoscaling\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x16\n\x0emin_node_count\x18\x02 \x01(\x05\x12\x16\n\x0emax_node_count\x18\x03 \x01(\x05\x12\x17\n\x0f\x61utoprovisioned\x18\x04 \x01(\x08"\x92\x02\n\x10SetLabelsRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12W\n\x0fresource_labels\x18\x04 \x03(\x0b\x32\x39.google.container.v1.SetLabelsRequest.ResourceLabelsEntryB\x03\xe0\x41\x02\x12\x1e\n\x11label_fingerprint\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t\x1a\x35\n\x13ResourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"|\n\x14SetLegacyAbacRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x14\n\x07\x65nabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"\x84\x01\n\x16StartIPRotationRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x1a\n\x12rotate_credentials\x18\x07 \x01(\x08"k\n\x19\x43ompleteIPRotationRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x07 \x01(\t"H\n\x11\x41\x63\x63\x65leratorConfig\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x01 \x01(\x03\x12\x18\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\t"\xaa\x01\n\x17SetNetworkPolicyRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12?\n\x0enetwork_policy\x18\x04 \x01(\x0b\x32".google.container.v1.NetworkPolicyB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"\xb9\x01\n\x1bSetMaintenancePolicyRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04zone\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ncluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12G\n\x12maintenance_policy\x18\x04 \x01(\x0b\x32&.google.container.v1.MaintenancePolicyB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x05 \x01(\t"\xea\x01\n\x0fStatusCondition\x12\x37\n\x04\x63ode\x18\x01 \x01(\x0e\x32).google.container.v1.StatusCondition.Code\x12\x0f\n\x07message\x18\x02 \x01(\t"\x8c\x01\n\x04\x43ode\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x10\n\x0cGCE_STOCKOUT\x10\x01\x12\x1f\n\x1bGKE_SERVICE_ACCOUNT_DELETED\x10\x02\x12\x16\n\x12GCE_QUOTA_EXCEEDED\x10\x03\x12\x13\n\x0fSET_BY_OPERATOR\x10\x04\x12\x17\n\x13\x43LOUD_KMS_KEY_ERROR\x10\x07"Z\n\rNetworkConfig\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x12\n\nsubnetwork\x18\x02 \x01(\t\x12$\n\x1c\x65nable_intra_node_visibility\x18\x05 \x01(\x08",\n\x19IntraNodeVisibilityConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08".\n\x11MaxPodsConstraint\x12\x19\n\x11max_pods_per_node\x18\x01 \x01(\x03"\x98\x01\n\x12\x44\x61tabaseEncryption\x12<\n\x05state\x18\x02 \x01(\x0e\x32-.google.container.v1.DatabaseEncryption.State\x12\x10\n\x08key_name\x18\x01 \x01(\t"2\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tENCRYPTED\x10\x01\x12\r\n\tDECRYPTED\x10\x02"e\n\x1cListUsableSubnetworksRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"t\n\x1dListUsableSubnetworksResponse\x12:\n\x0bsubnetworks\x18\x01 \x03(\x0b\x32%.google.container.v1.UsableSubnetwork\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x80\x02\n\x1eUsableSubnetworkSecondaryRange\x12\x12\n\nrange_name\x18\x01 \x01(\t\x12\x15\n\rip_cidr_range\x18\x02 \x01(\t\x12J\n\x06status\x18\x03 \x01(\x0e\x32:.google.container.v1.UsableSubnetworkSecondaryRange.Status"g\n\x06Status\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06UNUSED\x10\x01\x12\x12\n\x0eIN_USE_SERVICE\x10\x02\x12\x18\n\x14IN_USE_SHAREABLE_POD\x10\x03\x12\x16\n\x12IN_USE_MANAGED_POD\x10\x04"\xb8\x01\n\x10UsableSubnetwork\x12\x12\n\nsubnetwork\x18\x01 \x01(\t\x12\x0f\n\x07network\x18\x02 \x01(\t\x12\x15\n\rip_cidr_range\x18\x03 \x01(\t\x12P\n\x13secondary_ip_ranges\x18\x04 \x03(\x0b\x32\x33.google.container.v1.UsableSubnetworkSecondaryRange\x12\x16\n\x0estatus_message\x18\x05 \x01(\t"\xed\x02\n\x19ResourceUsageExportConfig\x12`\n\x14\x62igquery_destination\x18\x01 \x01(\x0b\x32\x42.google.container.v1.ResourceUsageExportConfig.BigQueryDestination\x12&\n\x1e\x65nable_network_egress_metering\x18\x02 \x01(\x08\x12m\n\x1b\x63onsumption_metering_config\x18\x03 \x01(\x0b\x32H.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig\x1a)\n\x13\x42igQueryDestination\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x1a,\n\x19\x43onsumptionMeteringConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08")\n\x16VerticalPodAutoscaling\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x32\xd2\x44\n\x0e\x43lusterManager\x12\xe8\x01\n\x0cListClusters\x12(.google.container.v1.ListClustersRequest\x1a).google.container.v1.ListClustersResponse"\x82\x01\x82\xd3\xe4\x93\x02\x61\x12,/v1/{parent=projects/*/locations/*}/clustersZ1\x12//v1/projects/{project_id}/zones/{zone}/clusters\xda\x41\x0fproject_id,zone\xda\x41\x06parent\x12\xed\x01\n\nGetCluster\x12&.google.container.v1.GetClusterRequest\x1a\x1c.google.container.v1.Cluster"\x98\x01\x82\xd3\xe4\x93\x02n\x12,/v1/{name=projects/*/locations/*/clusters/*}Z>\x12*/v1/{name=projects/*/locations/*/clusters/*}:setResourceLabels:\x01*ZP"K/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels:\x01*\x12\xa5\x02\n\rSetLegacyAbac\x12).google.container.v1.SetLegacyAbacRequest\x1a\x1e.google.container.v1.Operation"\xc8\x01\x82\xd3\xe4\x93\x02\x8d\x01":/v1/{name=projects/*/locations/*/clusters/*}:setLegacyAbac:\x01*ZL"G/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/legacyAbac:\x01*\xda\x41"project_id,zone,cluster_id,enabled\xda\x41\x0cname,enabled\x12\xa0\x02\n\x0fStartIPRotation\x12+.google.container.v1.StartIPRotationRequest\x1a\x1e.google.container.v1.Operation"\xbf\x01\x82\xd3\xe4\x93\x02\x94\x01"`__. This field has been deprecated and replaced by the parent field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the parent field. cluster: @@ -10445,18 +10450,18 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to retrieve. - This field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to retrieve. This field + has been deprecated and replaced by the name field. name: The name (project, location, cluster) of the cluster to retrieve. Specified in the format @@ -10478,18 +10483,18 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to upgrade. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to upgrade. This field has + been deprecated and replaced by the name field. update: Required. A description of the update. name: @@ -10508,26 +10513,27 @@ dict( DESCRIPTOR=_UPDATENODEPOOLREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""UpdateNodePoolRequests update a node pool's image and/or version. + __doc__="""UpdateNodePoolRequests update a node pool's image and/or + version. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to upgrade. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to upgrade. This field has + been deprecated and replaced by the name field. node_pool_id: - Required. Deprecated. The name of the node pool to upgrade. - This field has been deprecated and replaced by the name field. + Deprecated. The name of the node pool to upgrade. This field + has been deprecated and replaced by the name field. node_version: Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit @@ -10556,27 +10562,27 @@ dict( DESCRIPTOR=_SETNODEPOOLAUTOSCALINGREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetNodePoolAutoscalingRequest sets the autoscaler settings of a node - pool. + __doc__="""SetNodePoolAutoscalingRequest sets the autoscaler settings + of a node pool. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to upgrade. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to upgrade. This field has + been deprecated and replaced by the name field. node_pool_id: - Required. Deprecated. The name of the node pool to upgrade. - This field has been deprecated and replaced by the name field. + Deprecated. The name of the node pool to upgrade. This field + has been deprecated and replaced by the name field. autoscaling: Required. Autoscaling configuration for the node pool. name: @@ -10595,23 +10601,24 @@ dict( DESCRIPTOR=_SETLOGGINGSERVICEREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetLoggingServiceRequest sets the logging service of a cluster. + __doc__="""SetLoggingServiceRequest sets the logging service of a + cluster. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to upgrade. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to upgrade. This field has + been deprecated and replaced by the name field. logging_service: Required. The logging service the cluster should use to write metrics. Currently available options: - @@ -10633,23 +10640,24 @@ dict( DESCRIPTOR=_SETMONITORINGSERVICEREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetMonitoringServiceRequest sets the monitoring service of a cluster. + __doc__="""SetMonitoringServiceRequest sets the monitoring service of + a cluster. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to upgrade. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to upgrade. This field has + been deprecated and replaced by the name field. monitoring_service: Required. The monitoring service the cluster should use to write metrics. Currently available options: - @@ -10674,23 +10682,24 @@ dict( DESCRIPTOR=_SETADDONSCONFIGREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetAddonsConfigRequest sets the addons associated with the cluster. + __doc__="""SetAddonsConfigRequest sets the addons associated with the + cluster. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to upgrade. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to upgrade. This field has + been deprecated and replaced by the name field. addons_config: Required. The desired configurations for the various addons available to run in the cluster. @@ -10715,18 +10724,18 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to upgrade. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to upgrade. This field has + been deprecated and replaced by the name field. locations: Required. The desired list of Google Compute Engine `zones `__ in which the cluster's @@ -10756,18 +10765,18 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to upgrade. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to upgrade. This field has + been deprecated and replaced by the name field. master_version: Required. The Kubernetes version to change the master to. Users may specify either explicit versions offered by @@ -10794,23 +10803,24 @@ dict( DESCRIPTOR=_SETMASTERAUTHREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetMasterAuthRequest updates the admin password of a cluster. + __doc__="""SetMasterAuthRequest updates the admin password of a + cluster. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to upgrade. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to upgrade. This field has + been deprecated and replaced by the name field. action: Required. The exact form of action to be taken on the master auth. @@ -10837,18 +10847,18 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to delete. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to delete. This field has + been deprecated and replaced by the name field. name: The name (project, location, cluster) of the cluster to delete. Specified in the format @@ -10870,13 +10880,13 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the parent field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field. parent: @@ -10922,19 +10932,18 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. operation_id: - Required. Deprecated. The server-assigned ``name`` of the - operation. This field has been deprecated and replaced by the - name field. + Deprecated. The server-assigned ``name`` of the operation. + This field has been deprecated and replaced by the name field. name: The name (project, location, operation id) of the operation to get. Specified in the format @@ -10956,15 +10965,15 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the parent field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ to return operations - for, or ``-`` for all zones. This field has been deprecated - and replaced by the parent field. + Deprecated. The name of the Google Compute Engine `zone + `__ to return operations for, + or ``-`` for all zones. This field has been deprecated and + replaced by the parent field. parent: The parent (project and location) where the operations will be listed. Specified in the format 'projects/*/locations/*'. @@ -10986,19 +10995,18 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the - operation resides. This field has been deprecated and replaced - by the name field. - operation_id: - Required. Deprecated. The server-assigned ``name`` of the - operation. This field has been deprecated and replaced by the + Deprecated. The name of the Google Compute Engine `zone + `__ in which the operation + resides. This field has been deprecated and replaced by the name field. + operation_id: + Deprecated. The server-assigned ``name`` of the operation. + This field has been deprecated and replaced by the name field. name: The name (project, location, operation id) of the operation to cancel. Specified in the format @@ -11015,7 +11023,8 @@ dict( DESCRIPTOR=_LISTOPERATIONSRESPONSE, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ListOperationsResponse is the result of ListOperationsRequest. + __doc__="""ListOperationsResponse is the result of + ListOperationsRequest. Attributes: @@ -11041,15 +11050,14 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ to return operations - for. This field has been deprecated and replaced by the name - field. + Deprecated. The name of the Google Compute Engine `zone + `__ to return operations for. + This field has been deprecated and replaced by the name field. name: The name (project and location) of the server config to get, specified in the format 'projects/*/locations/*'. @@ -11096,18 +11104,18 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number `__. This field has been deprecated and + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the parent field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the parent field. cluster_id: - Required. Deprecated. The name of the cluster. This field has - been deprecated and replaced by the parent field. + Deprecated. The name of the cluster. This field has been + deprecated and replaced by the parent field. node_pool: Required. The node pool to create. parent: @@ -11131,21 +11139,21 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number `__. This field has been deprecated and + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster. This field has - been deprecated and replaced by the name field. + Deprecated. The name of the cluster. This field has been + deprecated and replaced by the name field. node_pool_id: - Required. Deprecated. The name of the node pool to delete. - This field has been deprecated and replaced by the name field. + Deprecated. The name of the node pool to delete. This field + has been deprecated and replaced by the name field. name: The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format @@ -11167,18 +11175,18 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number `__. This field has been deprecated and + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the parent field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the parent field. cluster_id: - Required. Deprecated. The name of the cluster. This field has - been deprecated and replaced by the parent field. + Deprecated. The name of the cluster. This field has been + deprecated and replaced by the parent field. parent: The parent (project, location, cluster id) where the node pools will be listed. Specified in the format @@ -11200,21 +11208,21 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number `__. This field has been deprecated and + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster. This field has - been deprecated and replaced by the name field. + Deprecated. The name of the cluster. This field has been + deprecated and replaced by the name field. node_pool_id: - Required. Deprecated. The name of the node pool. This field - has been deprecated and replaced by the name field. + Deprecated. The name of the node pool. This field has been + deprecated and replaced by the name field. name: The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format @@ -11287,8 +11295,8 @@ dict( DESCRIPTOR=_NODEMANAGEMENT, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""NodeManagement defines the set of node management services turned on for - the node pool. + __doc__="""NodeManagement defines the set of node management services + turned on for the node pool. Attributes: @@ -11316,8 +11324,8 @@ dict( DESCRIPTOR=_AUTOUPGRADEOPTIONS, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""AutoUpgradeOptions defines the set of options for the user to control - how the Auto Upgrades will proceed. + __doc__="""AutoUpgradeOptions defines the set of options for the user + to control how the Auto Upgrades will proceed. Attributes: @@ -11341,8 +11349,8 @@ dict( DESCRIPTOR=_MAINTENANCEPOLICY, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""MaintenancePolicy defines the maintenance policy to be used for the - cluster. + __doc__="""MaintenancePolicy defines the maintenance policy to be + used for the cluster. Attributes: @@ -11377,8 +11385,8 @@ ), DESCRIPTOR=_MAINTENANCEWINDOW, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""MaintenanceWindow defines the maintenance window to be used for the - cluster. + __doc__="""MaintenanceWindow defines the maintenance window to be + used for the cluster. Attributes: @@ -11492,27 +11500,27 @@ dict( DESCRIPTOR=_SETNODEPOOLMANAGEMENTREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetNodePoolManagementRequest sets the node management properties of a - node pool. + __doc__="""SetNodePoolManagementRequest sets the node management + properties of a node pool. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to update. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to update. This field has + been deprecated and replaced by the name field. node_pool_id: - Required. Deprecated. The name of the node pool to update. - This field has been deprecated and replaced by the name field. + Deprecated. The name of the node pool to update. This field + has been deprecated and replaced by the name field. management: Required. NodeManagement configuration for the node pool. name: @@ -11536,21 +11544,21 @@ Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to update. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to update. This field has + been deprecated and replaced by the name field. node_pool_id: - Required. Deprecated. The name of the node pool to update. - This field has been deprecated and replaced by the name field. + Deprecated. The name of the node pool to update. This field + has been deprecated and replaced by the name field. node_count: Required. The desired node count for the pool. name: @@ -11569,28 +11577,28 @@ dict( DESCRIPTOR=_ROLLBACKNODEPOOLUPGRADEREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or - Failed NodePool upgrade. This will be an no-op if the last upgrade - successfully completed. + __doc__="""RollbackNodePoolUpgradeRequest rollbacks the previously + Aborted or Failed NodePool upgrade. This will be an no-op if the last + upgrade successfully completed. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to rollback. - This field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to rollback. This field + has been deprecated and replaced by the name field. node_pool_id: - Required. Deprecated. The name of the node pool to rollback. - This field has been deprecated and replaced by the name field. + Deprecated. The name of the node pool to rollback. This field + has been deprecated and replaced by the name field. name: The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format @@ -11607,7 +11615,8 @@ dict( DESCRIPTOR=_LISTNODEPOOLSRESPONSE, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ListNodePoolsResponse is the result of ListNodePoolsRequest. + __doc__="""ListNodePoolsResponse is the result of + ListNodePoolsRequest. Attributes: @@ -11625,9 +11634,10 @@ dict( DESCRIPTOR=_CLUSTERAUTOSCALING, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ClusterAutoscaling contains global, per-cluster information required by - Cluster Autoscaler to automatically adjust the size of the cluster and - create/delete node pools based on the current needs. + __doc__="""ClusterAutoscaling contains global, per-cluster + information required by Cluster Autoscaler to automatically adjust the + size of the cluster and create/delete node pools based on the current + needs. Attributes: @@ -11655,8 +11665,8 @@ dict( DESCRIPTOR=_AUTOPROVISIONINGNODEPOOLDEFAULTS, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""AutoprovisioningNodePoolDefaults contains defaults for a node pool - created by NAP. + __doc__="""AutoprovisioningNodePoolDefaults contains defaults for a + node pool created by NAP. Attributes: @@ -11679,8 +11689,8 @@ dict( DESCRIPTOR=_RESOURCELIMIT, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Contains information about amount of some resource in the cluster. For - memory, value should be in GB. + __doc__="""Contains information about amount of some resource in the + cluster. For memory, value should be in GB. Attributes: @@ -11702,8 +11712,9 @@ dict( DESCRIPTOR=_NODEPOOLAUTOSCALING, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""NodePoolAutoscaling contains information required by cluster autoscaler - to adjust the size of the node pool to the current cluster usage. + __doc__="""NodePoolAutoscaling contains information required by + cluster autoscaler to adjust the size of the node pool to the current + cluster usage. Attributes: @@ -11739,25 +11750,25 @@ ), DESCRIPTOR=_SETLABELSREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetLabelsRequest sets the Google Cloud Platform labels on a Google - Container Engine cluster, which will in turn set them for Google Compute - Engine resources used by that cluster + __doc__="""SetLabelsRequest sets the Google Cloud Platform labels on + a Google Container Engine cluster, which will in turn set them for + Google Compute Engine resources used by that cluster Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number `__. This field has been deprecated and + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster. This field has - been deprecated and replaced by the name field. + Deprecated. The name of the cluster. This field has been + deprecated and replaced by the name field. resource_labels: Required. The labels to set for that cluster. label_fingerprint: @@ -11785,24 +11796,24 @@ dict( DESCRIPTOR=_SETLEGACYABACREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetLegacyAbacRequest enables or disables the ABAC authorization - mechanism for a cluster. + __doc__="""SetLegacyAbacRequest enables or disables the ABAC + authorization mechanism for a cluster. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster to update. This - field has been deprecated and replaced by the name field. + Deprecated. The name of the cluster to update. This field has + been deprecated and replaced by the name field. enabled: Required. Whether ABAC authorization will be enabled in the cluster. @@ -11822,24 +11833,25 @@ dict( DESCRIPTOR=_STARTIPROTATIONREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""StartIPRotationRequest creates a new IP for the cluster and then - performs a node upgrade on each node pool to point to the new IP. + __doc__="""StartIPRotationRequest creates a new IP for the cluster + and then performs a node upgrade on each node pool to point to the new + IP. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number `__. This field has been deprecated and + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster. This field has - been deprecated and replaced by the name field. + Deprecated. The name of the cluster. This field has been + deprecated and replaced by the name field. name: The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format @@ -11858,24 +11870,24 @@ dict( DESCRIPTOR=_COMPLETEIPROTATIONREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""CompleteIPRotationRequest moves the cluster master back into single-IP - mode. + __doc__="""CompleteIPRotationRequest moves the cluster master back + into single-IP mode. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number `__. This field has been deprecated and + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster. This field has - been deprecated and replaced by the name field. + Deprecated. The name of the cluster. This field has been + deprecated and replaced by the name field. name: The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format @@ -11892,7 +11904,8 @@ dict( DESCRIPTOR=_ACCELERATORCONFIG, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""AcceleratorConfig represents a Hardware Accelerator request. + __doc__="""AcceleratorConfig represents a Hardware Accelerator + request. Attributes: @@ -11913,23 +11926,24 @@ dict( DESCRIPTOR=_SETNETWORKPOLICYREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetNetworkPolicyRequest enables/disables network policy for a cluster. + __doc__="""SetNetworkPolicyRequest enables/disables network policy + for a cluster. Attributes: project_id: - Required. Deprecated. The Google Developers Console `project - ID or project number `__. This field has been deprecated and + Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. zone: - Required. Deprecated. The name of the Google Compute Engine - `zone `__ in which the cluster + Deprecated. The name of the Google Compute Engine `zone + `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Required. Deprecated. The name of the cluster. This field has - been deprecated and replaced by the name field. + Deprecated. The name of the cluster. This field has been + deprecated and replaced by the name field. network_policy: Required. Configuration options for the NetworkPolicy feature. name: @@ -11948,7 +11962,8 @@ dict( DESCRIPTOR=_SETMAINTENANCEPOLICYREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetMaintenancePolicyRequest sets the maintenance policy for a cluster. + __doc__="""SetMaintenancePolicyRequest sets the maintenance policy + for a cluster. Attributes: @@ -11980,8 +11995,8 @@ dict( DESCRIPTOR=_STATUSCONDITION, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""StatusCondition describes why a cluster or a node pool has a certain - status (e.g., ERROR or DEGRADED). + __doc__="""StatusCondition describes why a cluster or a node pool has + a certain status (e.g., ERROR or DEGRADED). Attributes: @@ -12001,7 +12016,8 @@ dict( DESCRIPTOR=_NETWORKCONFIG, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""NetworkConfig reports the relative names of network & subnetwork. + __doc__="""NetworkConfig reports the relative names of network & + subnetwork. Attributes: @@ -12032,8 +12048,8 @@ dict( DESCRIPTOR=_INTRANODEVISIBILITYCONFIG, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""IntraNodeVisibilityConfig contains the desired config of the intra-node - visibility on this cluster. + __doc__="""IntraNodeVisibilityConfig contains the desired config of + the intra-node visibility on this cluster. Attributes: @@ -12091,8 +12107,8 @@ dict( DESCRIPTOR=_LISTUSABLESUBNETWORKSREQUEST, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ListUsableSubnetworksRequest requests the list of usable subnetworks - available to a user for creating clusters. + __doc__="""ListUsableSubnetworksRequest requests the list of usable + subnetworks available to a user for creating clusters. Attributes: @@ -12177,7 +12193,8 @@ dict( DESCRIPTOR=_USABLESUBNETWORK, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Network Name. Example: projects/my-project/global/networks/my-network + __doc__="""Network Name. Example: + projects/my-project/global/networks/my-network Attributes: @@ -12211,8 +12228,8 @@ dict( DESCRIPTOR=_RESOURCEUSAGEEXPORTCONFIG_BIGQUERYDESTINATION, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Parameters for using BigQuery as the destination of resource usage - export. + __doc__="""Parameters for using BigQuery as the destination of + resource usage export. Attributes: @@ -12268,9 +12285,9 @@ dict( DESCRIPTOR=_VERTICALPODAUTOSCALING, __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""VerticalPodAutoscaling contains global, per-cluster information required - by Vertical Pod Autoscaler to automatically adjust the resources of pods - controlled by it. + __doc__="""VerticalPodAutoscaling contains global, per-cluster + information required by Vertical Pod Autoscaler to automatically adjust + the resources of pods controlled by it. Attributes: @@ -12422,8 +12439,8 @@ serialized_options=_b( "\312A\030container.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform" ), - serialized_start=16211, - serialized_end=24692, + serialized_start=15940, + serialized_end=24726, methods=[ _descriptor.MethodDescriptor( name="ListClusters", @@ -12433,7 +12450,7 @@ input_type=_LISTCLUSTERSREQUEST, output_type=_LISTCLUSTERSRESPONSE, serialized_options=_b( - "\202\323\344\223\002a\022,/v1/{parent=projects/*/locations/*}/clustersZ1\022//v1/projects/{project_id}/zones/{zone}/clusters\332A\017project_id,zone" + "\202\323\344\223\002a\022,/v1/{parent=projects/*/locations/*}/clustersZ1\022//v1/projects/{project_id}/zones/{zone}/clusters\332A\017project_id,zone\332A\006parent" ), ), _descriptor.MethodDescriptor( @@ -12444,7 +12461,7 @@ input_type=_GETCLUSTERREQUEST, output_type=_CLUSTER, serialized_options=_b( - "\202\323\344\223\002n\022,/v1/{name=projects/*/locations/*/clusters/*}Z>\022\022**>> response = client.list_clusters(project_id, zone) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the parent field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the parent field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field. @@ -305,14 +305,14 @@ def get_cluster( >>> response = client.get_cluster(project_id, zone, cluster_id) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to retrieve. + cluster_id (str): Required. Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster) of the cluster to retrieve. Specified in the format 'projects/*/locations/*/clusters/\*'. @@ -384,11 +384,11 @@ def create_cluster( network `__. One firewall is added for the cluster. After cluster creation, the - cluster creates routes for each node to allow the containers on that + Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating - which CIDR range is being used by the cluster. + which CIDR range the cluster is using. Example: >>> from google.cloud import container_v1beta1 @@ -407,14 +407,14 @@ def create_cluster( >>> response = client.create_cluster(project_id, zone, cluster) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the parent field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the parent field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the parent field. - cluster (Union[dict, ~google.cloud.container_v1beta1.types.Cluster]): A `cluster + cluster (Union[dict, ~google.cloud.container_v1beta1.types.Cluster]): Required. A `cluster resource `__ If a dict is provided, it must be of the same form as the protobuf @@ -505,16 +505,16 @@ def update_cluster( >>> response = client.update_cluster(project_id, zone, cluster_id, update) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to upgrade. + cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. - update (Union[dict, ~google.cloud.container_v1beta1.types.ClusterUpdate]): A description of the update. + update (Union[dict, ~google.cloud.container_v1beta1.types.ClusterUpdate]): Required. A description of the update. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1beta1.types.ClusterUpdate` @@ -582,6 +582,7 @@ def update_node_pool( node_pool_id, node_version, image_type, + workload_metadata_config=None, name=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -616,18 +617,18 @@ def update_node_pool( >>> response = client.update_node_pool(project_id, zone, cluster_id, node_pool_id, node_version, image_type) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to upgrade. + cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. - node_pool_id (str): Deprecated. The name of the node pool to upgrade. + node_pool_id (str): Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field. - node_version (str): The Kubernetes version to change the nodes to (typically an + node_version (str): Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or @@ -638,7 +639,11 @@ def update_node_pool( - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version - image_type (str): The desired image type for the node pool. + image_type (str): Required. The desired image type for the node pool. + workload_metadata_config (Union[dict, ~google.cloud.container_v1beta1.types.WorkloadMetadataConfig]): The desired image type for the node pool. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.cloud.container_v1beta1.types.WorkloadMetadataConfig` name (str): The name (project, location, cluster, node pool) of the node pool to update. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. @@ -679,6 +684,7 @@ def update_node_pool( node_pool_id=node_pool_id, node_version=node_version, image_type=image_type, + workload_metadata_config=workload_metadata_config, name=name, ) if metadata is None: @@ -736,18 +742,18 @@ def set_node_pool_autoscaling( >>> response = client.set_node_pool_autoscaling(project_id, zone, cluster_id, node_pool_id, autoscaling) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to upgrade. + cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. - node_pool_id (str): Deprecated. The name of the node pool to upgrade. + node_pool_id (str): Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field. - autoscaling (Union[dict, ~google.cloud.container_v1beta1.types.NodePoolAutoscaling]): Autoscaling configuration for the node pool. + autoscaling (Union[dict, ~google.cloud.container_v1beta1.types.NodePoolAutoscaling]): Required. Autoscaling configuration for the node pool. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1beta1.types.NodePoolAutoscaling` @@ -843,17 +849,17 @@ def set_logging_service( >>> response = client.set_logging_service(project_id, zone, cluster_id, logging_service) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to upgrade. + cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. - logging_service (str): The logging service the cluster should use to write metrics. Currently - available options: + logging_service (str): Required. The logging service the cluster should use to write metrics. + Currently available options: - "logging.googleapis.com" - the Google Cloud Logging service - "none" - no metrics will be exported from the cluster @@ -947,17 +953,17 @@ def set_monitoring_service( >>> response = client.set_monitoring_service(project_id, zone, cluster_id, monitoring_service) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to upgrade. + cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. - monitoring_service (str): The monitoring service the cluster should use to write metrics. - Currently available options: + monitoring_service (str): Required. The monitoring service the cluster should use to write + metrics. Currently available options: - "monitoring.googleapis.com" - the Google Cloud Monitoring service - "none" - no metrics will be exported from the cluster @@ -1051,16 +1057,16 @@ def set_addons_config( >>> response = client.set_addons_config(project_id, zone, cluster_id, addons_config) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to upgrade. + cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. - addons_config (Union[dict, ~google.cloud.container_v1beta1.types.AddonsConfig]): The desired configurations for the various addons available to run in the + addons_config (Union[dict, ~google.cloud.container_v1beta1.types.AddonsConfig]): Required. The desired configurations for the various addons available to run in the cluster. If a dict is provided, it must be of the same form as the protobuf @@ -1155,16 +1161,16 @@ def set_locations( >>> response = client.set_locations(project_id, zone, cluster_id, locations) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to upgrade. + cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. - locations (list[str]): The desired list of Google Compute Engine + locations (list[str]): Required. The desired list of Google Compute Engine `zones `__ in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from @@ -1261,16 +1267,16 @@ def update_master( >>> response = client.update_master(project_id, zone, cluster_id, master_version) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to upgrade. + cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. - master_version (str): The Kubernetes version to change the master to. + master_version (str): Required. The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: @@ -1349,10 +1355,9 @@ def set_master_auth( metadata=None, ): """ - Used to set master auth materials. Currently supports :- Changing the - admin password for a specific cluster. This can be either via password - generation or explicitly set. Modify basic\_auth.csv and reset the K8S - API server. + Sets master auth materials. Currently supports changing the admin password + or a specific cluster, either via password generation or explicitly setting + the password. Example: >>> from google.cloud import container_v1beta1 @@ -1378,17 +1383,17 @@ def set_master_auth( >>> response = client.set_master_auth(project_id, zone, cluster_id, action, update) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to upgrade. + cluster_id (str): Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. - action (~google.cloud.container_v1beta1.types.Action): The exact form of action to be taken on the master auth. - update (Union[dict, ~google.cloud.container_v1beta1.types.MasterAuth]): A description of the update. + action (~google.cloud.container_v1beta1.types.Action): Required. The exact form of action to be taken on the master auth. + update (Union[dict, ~google.cloud.container_v1beta1.types.MasterAuth]): Required. A description of the update. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1beta1.types.MasterAuth` @@ -1466,9 +1471,9 @@ def delete_cluster( Firewalls and routes that were configured during cluster creation are also deleted. - Other Google Compute Engine resources that might be in use by the cluster - (e.g. load balancer resources) will not be deleted if they weren't present - at the initial create time. + Other Google Compute Engine resources that might be in use by the cluster, + such as load balancer resources, are not deleted if they weren't present + when the cluster was initially created. Example: >>> from google.cloud import container_v1beta1 @@ -1487,14 +1492,14 @@ def delete_cluster( >>> response = client.delete_cluster(project_id, zone, cluster_id) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to delete. + cluster_id (str): Required. Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster) of the cluster to delete. Specified in the format 'projects/*/locations/*/clusters/\*'. @@ -1558,7 +1563,7 @@ def list_operations( metadata=None, ): """ - Lists all operations in a project in a specific zone or all zones. + Lists all operations in a project in the specified zone or all zones. Example: >>> from google.cloud import container_v1beta1 @@ -1574,10 +1579,10 @@ def list_operations( >>> response = client.list_operations(project_id, zone) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the parent field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the parent field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ to return operations for, or ``-`` for all zones. This field has been deprecated and replaced by the parent field. @@ -1664,15 +1669,15 @@ def get_operation( >>> response = client.get_operation(project_id, zone, operation_id) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - operation_id (str): Deprecated. The server-assigned ``name`` of the operation. This field - has been deprecated and replaced by the name field. + operation_id (str): Required. Deprecated. The server-assigned ``name`` of the operation. + This field has been deprecated and replaced by the name field. name (str): The name (project, location, operation id) of the operation to get. Specified in the format 'projects/*/locations/*/operations/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1755,15 +1760,15 @@ def cancel_operation( >>> client.cancel_operation(project_id, zone, operation_id) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the operation resides. This field has been deprecated and replaced by the name field. - operation_id (str): Deprecated. The server-assigned ``name`` of the operation. This field - has been deprecated and replaced by the name field. + operation_id (str): Required. Deprecated. The server-assigned ``name`` of the operation. + This field has been deprecated and replaced by the name field. name (str): The name (project, location, operation id) of the operation to cancel. Specified in the format 'projects/*/locations/*/operations/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1823,7 +1828,7 @@ def get_server_config( metadata=None, ): """ - Returns configuration info about the Kubernetes Engine service. + Returns configuration info about the Google Kubernetes Engine service. Example: >>> from google.cloud import container_v1beta1 @@ -1839,15 +1844,15 @@ def get_server_config( >>> response = client.get_server_config(project_id, zone) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ to return operations for. This field has been deprecated and replaced by the name field. - name (str): The name (project and location) of the server config to get Specified in - the format 'projects/*/locations/*'. + name (str): The name (project and location) of the server config to get, specified + in the format 'projects/*/locations/*'. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1928,14 +1933,15 @@ def list_node_pools( >>> response = client.list_node_pools(project_id, zone, cluster_id) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the parent field. - zone (str): Deprecated. The name of the Google Compute Engine + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the parent field. - cluster_id (str): Deprecated. The name of the cluster. + cluster_id (str): Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field. parent (str): The parent (project, location, cluster id) where the node pools will be listed. Specified in the format 'projects/*/locations/*/clusters/\*'. @@ -2001,7 +2007,7 @@ def get_node_pool( metadata=None, ): """ - Retrieves the node pool requested. + Retrieves the requested node pool. Example: >>> from google.cloud import container_v1beta1 @@ -2023,16 +2029,17 @@ def get_node_pool( >>> response = client.get_node_pool(project_id, zone, cluster_id, node_pool_id) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster. + cluster_id (str): Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. - node_pool_id (str): Deprecated. The name of the node pool. + node_pool_id (str): Required. Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format @@ -2125,16 +2132,17 @@ def create_node_pool( >>> response = client.create_node_pool(project_id, zone, cluster_id, node_pool) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the parent field. - zone (str): Deprecated. The name of the Google Compute Engine + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the parent field. - cluster_id (str): Deprecated. The name of the cluster. + cluster_id (str): Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field. - node_pool (Union[dict, ~google.cloud.container_v1beta1.types.NodePool]): The node pool to create. + node_pool (Union[dict, ~google.cloud.container_v1beta1.types.NodePool]): Required. The node pool to create. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1beta1.types.NodePool` @@ -2228,16 +2236,17 @@ def delete_node_pool( >>> response = client.delete_node_pool(project_id, zone, cluster_id, node_pool_id) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster. + cluster_id (str): Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. - node_pool_id (str): Deprecated. The name of the node pool to delete. + node_pool_id (str): Required. Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format @@ -2308,8 +2317,8 @@ def rollback_node_pool_upgrade( metadata=None, ): """ - Roll back the previously Aborted or Failed NodePool upgrade. - This will be an no-op if the last upgrade successfully completed. + Rolls back a previously Aborted or Failed NodePool upgrade. + This makes no changes if the last upgrade successfully completed. Example: >>> from google.cloud import container_v1beta1 @@ -2331,16 +2340,16 @@ def rollback_node_pool_upgrade( >>> response = client.rollback_node_pool_upgrade(project_id, zone, cluster_id, node_pool_id) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to rollback. + cluster_id (str): Required. Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field. - node_pool_id (str): Deprecated. The name of the node pool to rollback. + node_pool_id (str): Required. Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format @@ -2437,18 +2446,18 @@ def set_node_pool_management( >>> response = client.set_node_pool_management(project_id, zone, cluster_id, node_pool_id, management) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to update. + cluster_id (str): Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. - node_pool_id (str): Deprecated. The name of the node pool to update. + node_pool_id (str): Required. Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field. - management (Union[dict, ~google.cloud.container_v1beta1.types.NodeManagement]): NodeManagement configuration for the node pool. + management (Union[dict, ~google.cloud.container_v1beta1.types.NodeManagement]): Required. NodeManagement configuration for the node pool. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1beta1.types.NodeManagement` @@ -2548,17 +2557,18 @@ def set_labels( >>> response = client.set_labels(project_id, zone, cluster_id, resource_labels, label_fingerprint) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster. + cluster_id (str): Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. - resource_labels (dict[str -> str]): The labels to set for that cluster. - label_fingerprint (str): The fingerprint of the previous set of labels for this resource, + resource_labels (dict[str -> str]): Required. The labels to set for that cluster. + label_fingerprint (str): Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when @@ -2655,16 +2665,16 @@ def set_legacy_abac( >>> response = client.set_legacy_abac(project_id, zone, cluster_id, enabled) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to update. + cluster_id (str): Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. - enabled (bool): Whether ABAC authorization will be enabled in the cluster. + enabled (bool): Required. Whether ABAC authorization will be enabled in the cluster. name (str): The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format 'projects/*/locations/*/clusters/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -2733,7 +2743,7 @@ def start_i_p_rotation( metadata=None, ): """ - Start master IP rotation. + Starts master IP rotation. Example: >>> from google.cloud import container_v1beta1 @@ -2752,14 +2762,15 @@ def start_i_p_rotation( >>> response = client.start_i_p_rotation(project_id, zone, cluster_id) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster. + cluster_id (str): Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format 'projects/*/locations/*/clusters/\*'. @@ -2848,14 +2859,15 @@ def complete_i_p_rotation( >>> response = client.complete_i_p_rotation(project_id, zone, cluster_id) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster. + cluster_id (str): Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. name (str): The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format 'projects/*/locations/*/clusters/\*'. @@ -2947,18 +2959,18 @@ def set_node_pool_size( >>> response = client.set_node_pool_size(project_id, zone, cluster_id, node_pool_id, node_count) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project - number `__. This field - has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. + This field has been deprecated and replaced by the name field. + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster to update. + cluster_id (str): Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. - node_pool_id (str): Deprecated. The name of the node pool to update. + node_pool_id (str): Required. Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field. - node_count (int): The desired node count for the pool. + node_count (int): Required. The desired node count for the pool. name (str): The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. @@ -3029,7 +3041,7 @@ def set_network_policy( metadata=None, ): """ - Enables/Disables Network Policy for a cluster. + Enables or disables Network Policy for a cluster. Example: >>> from google.cloud import container_v1beta1 @@ -3051,16 +3063,17 @@ def set_network_policy( >>> response = client.set_network_policy(project_id, zone, cluster_id, network_policy) Args: - project_id (str): Deprecated. The Google Developers Console `project ID or project + project_id (str): Required. Deprecated. The Google Developers Console `project ID or + project number `__. This field has been deprecated and replaced by the name field. - zone (str): Deprecated. The name of the Google Compute Engine + zone (str): Required. Deprecated. The name of the Google Compute Engine `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. - cluster_id (str): Deprecated. The name of the cluster. + cluster_id (str): Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. - network_policy (Union[dict, ~google.cloud.container_v1beta1.types.NetworkPolicy]): Configuration options for the NetworkPolicy feature. + network_policy (Union[dict, ~google.cloud.container_v1beta1.types.NetworkPolicy]): Required. Configuration options for the NetworkPolicy feature. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1beta1.types.NetworkPolicy` @@ -3155,13 +3168,13 @@ def set_maintenance_policy( >>> response = client.set_maintenance_policy(project_id, zone, cluster_id, maintenance_policy) Args: - project_id (str): The Google Developers Console `project ID or project + project_id (str): Required. The Google Developers Console `project ID or project number `__. - zone (str): The name of the Google Compute Engine + zone (str): Required. The name of the Google Compute Engine `zone `__ in which the cluster resides. - cluster_id (str): The name of the cluster to update. - maintenance_policy (Union[dict, ~google.cloud.container_v1beta1.types.MaintenancePolicy]): The maintenance policy to be set for the cluster. An empty field + cluster_id (str): Required. The name of the cluster to update. + maintenance_policy (Union[dict, ~google.cloud.container_v1beta1.types.MaintenancePolicy]): Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy. If a dict is provided, it must be of the same form as the protobuf @@ -3233,7 +3246,7 @@ def list_usable_subnetworks( metadata=None, ): """ - Lists subnetworks that are usable for creating clusters in a project. + Lists subnetworks that can be used for creating clusters in a project. Example: >>> from google.cloud import container_v1beta1 @@ -3258,8 +3271,8 @@ def list_usable_subnetworks( ... pass Args: - parent (str): The parent project where subnetworks are usable. Specified in the format - 'projects/\*'. + parent (str): Required. The parent project where subnetworks are usable. Specified in + the format 'projects/\*'. filter_ (str): Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where ``networkProjectId`` is the project which owns the listed subnetworks. @@ -3341,7 +3354,7 @@ def list_locations( metadata=None, ): """ - Used to fetch locations that offer GKE. + Fetches locations that offer Google Kubernetes Engine. Example: >>> from google.cloud import container_v1beta1 @@ -3354,8 +3367,8 @@ def list_locations( >>> response = client.list_locations(parent) Args: - parent (str): Contains the name of the resource requested. Specified in the format - 'projects/\*'. + parent (str): Required. Contains the name of the resource requested. Specified in the + format 'projects/\*'. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. diff --git a/google/cloud/container_v1beta1/gapic/cluster_manager_client_config.py b/google/cloud/container_v1beta1/gapic/cluster_manager_client_config.py index 18e6f5b5..15607e49 100644 --- a/google/cloud/container_v1beta1/gapic/cluster_manager_client_config.py +++ b/google/cloud/container_v1beta1/gapic/cluster_manager_client_config.py @@ -18,162 +18,162 @@ }, "methods": { "ListClusters": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "idempotent", "retry_params_name": "default", }, "GetCluster": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "idempotent", "retry_params_name": "default", }, "CreateCluster": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "UpdateCluster": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "UpdateNodePool": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetNodePoolAutoscaling": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetLoggingService": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetMonitoringService": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetAddonsConfig": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetLocations": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "UpdateMaster": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetMasterAuth": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "DeleteCluster": { - "timeout_millis": 20000, - "retry_codes_name": "idempotent", + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "ListOperations": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "idempotent", "retry_params_name": "default", }, "GetOperation": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "idempotent", "retry_params_name": "default", }, "CancelOperation": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "GetServerConfig": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "idempotent", "retry_params_name": "default", }, "ListNodePools": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "idempotent", "retry_params_name": "default", }, "GetNodePool": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "idempotent", "retry_params_name": "default", }, "CreateNodePool": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "DeleteNodePool": { - "timeout_millis": 20000, - "retry_codes_name": "idempotent", + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "RollbackNodePoolUpgrade": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetNodePoolManagement": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetLabels": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetLegacyAbac": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "StartIPRotation": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "CompleteIPRotation": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetNodePoolSize": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetNetworkPolicy": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "SetMaintenancePolicy": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, "ListUsableSubnetworks": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "idempotent", "retry_params_name": "default", }, "ListLocations": { - "timeout_millis": 20000, + "timeout_millis": 60000, "retry_codes_name": "idempotent", "retry_params_name": "default", }, diff --git a/google/cloud/container_v1beta1/gapic/enums.py b/google/cloud/container_v1beta1/gapic/enums.py index f9663fc5..bb2ab3e8 100644 --- a/google/cloud/container_v1beta1/gapic/enums.py +++ b/google/cloud/container_v1beta1/gapic/enums.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -48,6 +48,23 @@ class Status(enum.IntEnum): DEGRADED = 6 +class DatabaseEncryption(object): + class State(enum.IntEnum): + """ + State of etcd encryption. + + Attributes: + UNKNOWN (int): Should never be set + ENCRYPTED (int): Secrets in etcd are encrypted. + DECRYPTED (int): Secrets in etcd are stored in plain text (at etcd level) - this is + unrelated to Google Compute Engine level full disk encryption. + """ + + UNKNOWN = 0 + ENCRYPTED = 1 + DECRYPTED = 2 + + class IstioConfig(object): class IstioAuthMode(enum.IntEnum): """ @@ -236,6 +253,8 @@ class Code(enum.IntEnum): robot service account. GCE_QUOTA_EXCEEDED (int): Google Compute Engine quota was exceeded. SET_BY_OPERATOR (int): Cluster state was manually changed by an SRE due to a system logic error. + CLOUD_KMS_KEY_ERROR (int): Unable to perform an encrypt operation against the CloudKMS key used for + etcd level encryption. More codes TBA """ @@ -244,6 +263,7 @@ class Code(enum.IntEnum): GKE_SERVICE_ACCOUNT_DELETED = 2 GCE_QUOTA_EXCEEDED = 3 SET_BY_OPERATOR = 4 + CLOUD_KMS_KEY_ERROR = 7 class UsableSubnetworkSecondaryRange(object): diff --git a/google/cloud/container_v1beta1/gapic/transports/cluster_manager_grpc_transport.py b/google/cloud/container_v1beta1/gapic/transports/cluster_manager_grpc_transport.py index e0fb837b..35de67aa 100644 --- a/google/cloud/container_v1beta1/gapic/transports/cluster_manager_grpc_transport.py +++ b/google/cloud/container_v1beta1/gapic/transports/cluster_manager_grpc_transport.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -145,11 +145,11 @@ def create_cluster(self): network `__. One firewall is added for the cluster. After cluster creation, the - cluster creates routes for each node to allow the containers on that + Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating - which CIDR range is being used by the cluster. + which CIDR range the cluster is using. Returns: Callable: A callable which accepts the appropriate @@ -266,10 +266,9 @@ def update_master(self): def set_master_auth(self): """Return the gRPC stub for :meth:`ClusterManagerClient.set_master_auth`. - Used to set master auth materials. Currently supports :- Changing the - admin password for a specific cluster. This can be either via password - generation or explicitly set. Modify basic\_auth.csv and reset the K8S - API server. + Sets master auth materials. Currently supports changing the admin password + or a specific cluster, either via password generation or explicitly setting + the password. Returns: Callable: A callable which accepts the appropriate @@ -288,9 +287,9 @@ def delete_cluster(self): Firewalls and routes that were configured during cluster creation are also deleted. - Other Google Compute Engine resources that might be in use by the cluster - (e.g. load balancer resources) will not be deleted if they weren't present - at the initial create time. + Other Google Compute Engine resources that might be in use by the cluster, + such as load balancer resources, are not deleted if they weren't present + when the cluster was initially created. Returns: Callable: A callable which accepts the appropriate @@ -303,7 +302,7 @@ def delete_cluster(self): def list_operations(self): """Return the gRPC stub for :meth:`ClusterManagerClient.list_operations`. - Lists all operations in a project in a specific zone or all zones. + Lists all operations in a project in the specified zone or all zones. Returns: Callable: A callable which accepts the appropriate @@ -342,7 +341,7 @@ def cancel_operation(self): def get_server_config(self): """Return the gRPC stub for :meth:`ClusterManagerClient.get_server_config`. - Returns configuration info about the Kubernetes Engine service. + Returns configuration info about the Google Kubernetes Engine service. Returns: Callable: A callable which accepts the appropriate @@ -368,7 +367,7 @@ def list_node_pools(self): def get_node_pool(self): """Return the gRPC stub for :meth:`ClusterManagerClient.get_node_pool`. - Retrieves the node pool requested. + Retrieves the requested node pool. Returns: Callable: A callable which accepts the appropriate @@ -407,8 +406,8 @@ def delete_node_pool(self): def rollback_node_pool_upgrade(self): """Return the gRPC stub for :meth:`ClusterManagerClient.rollback_node_pool_upgrade`. - Roll back the previously Aborted or Failed NodePool upgrade. - This will be an no-op if the last upgrade successfully completed. + Rolls back a previously Aborted or Failed NodePool upgrade. + This makes no changes if the last upgrade successfully completed. Returns: Callable: A callable which accepts the appropriate @@ -460,7 +459,7 @@ def set_legacy_abac(self): def start_i_p_rotation(self): """Return the gRPC stub for :meth:`ClusterManagerClient.start_i_p_rotation`. - Start master IP rotation. + Starts master IP rotation. Returns: Callable: A callable which accepts the appropriate @@ -499,7 +498,7 @@ def set_node_pool_size(self): def set_network_policy(self): """Return the gRPC stub for :meth:`ClusterManagerClient.set_network_policy`. - Enables/Disables Network Policy for a cluster. + Enables or disables Network Policy for a cluster. Returns: Callable: A callable which accepts the appropriate @@ -525,7 +524,7 @@ def set_maintenance_policy(self): def list_usable_subnetworks(self): """Return the gRPC stub for :meth:`ClusterManagerClient.list_usable_subnetworks`. - Lists subnetworks that are usable for creating clusters in a project. + Lists subnetworks that can be used for creating clusters in a project. Returns: Callable: A callable which accepts the appropriate @@ -538,7 +537,7 @@ def list_usable_subnetworks(self): def list_locations(self): """Return the gRPC stub for :meth:`ClusterManagerClient.list_locations`. - Used to fetch locations that offer GKE. + Fetches locations that offer Google Kubernetes Engine. Returns: Callable: A callable which accepts the appropriate diff --git a/google/cloud/container_v1beta1/proto/cluster_service.proto b/google/cloud/container_v1beta1/proto/cluster_service.proto index 37918d7c..89b88542 100644 --- a/google/cloud/container_v1beta1/proto/cluster_service.proto +++ b/google/cloud/container_v1beta1/proto/cluster_service.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,9 +18,10 @@ syntax = "proto3"; package google.container.v1beta1; import "google/api/annotations.proto"; -import "google/iam/v1/iam_policy.proto"; -import "google/iam/v1/policy.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/protobuf/empty.proto"; +import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Container.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/container/v1beta1;container"; @@ -29,9 +30,11 @@ option java_outer_classname = "ClusterServiceProto"; option java_package = "com.google.container.v1beta1"; option php_namespace = "Google\\Cloud\\Container\\V1beta1"; - // Google Kubernetes Engine Cluster Manager v1beta1 service ClusterManager { + option (google.api.default_host) = "container.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + // Lists all clusters owned by a project in either the specified zone or all // zones. rpc ListClusters(ListClustersRequest) returns (ListClustersResponse) { @@ -41,6 +44,7 @@ service ClusterManager { get: "/v1beta1/projects/{project_id}/zones/{zone}/clusters" } }; + option (google.api.method_signature) = "project_id,zone"; } // Gets the details for a specific cluster. @@ -51,6 +55,7 @@ service ClusterManager { get: "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id"; } // Creates a cluster, consisting of the specified number and type of Google @@ -60,12 +65,12 @@ service ClusterManager { // [default network](/compute/docs/networks-and-firewalls#networks). // // One firewall is added for the cluster. After cluster creation, - // the cluster creates routes for each node to allow the containers + // the Kubelet creates routes for each node to allow the containers // on that node to communicate with all other instances in the // cluster. // // Finally, an entry is added to the project's global metadata indicating - // which CIDR range is being used by the cluster. + // which CIDR range the cluster is using. rpc CreateCluster(CreateClusterRequest) returns (Operation) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*}/clusters" @@ -75,6 +80,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster"; } // Updates the settings for a specific cluster. @@ -87,6 +93,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,update"; } // Updates the version and/or image type of a specific node pool. @@ -123,6 +130,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,logging_service"; } // Sets the monitoring service for a specific cluster. @@ -135,6 +143,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,monitoring_service"; } // Sets the addons for a specific cluster. @@ -147,6 +156,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,addons_config"; } // Sets the locations for a specific cluster. @@ -159,6 +169,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,locations"; } // Updates the master for a specific cluster. @@ -171,12 +182,12 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,master_version"; } - // Used to set master auth materials. Currently supports :- - // Changing the admin password for a specific cluster. - // This can be either via password generation or explicitly set. - // Modify basic_auth.csv and reset the K8S API server. + // Sets master auth materials. Currently supports changing the admin password + // or a specific cluster, either via password generation or explicitly setting + // the password. rpc SetMasterAuth(SetMasterAuthRequest) returns (Operation) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/clusters/*}:setMasterAuth" @@ -194,9 +205,9 @@ service ClusterManager { // Firewalls and routes that were configured during cluster creation // are also deleted. // - // Other Google Compute Engine resources that might be in use by the cluster - // (e.g. load balancer resources) will not be deleted if they weren't present - // at the initial create time. + // Other Google Compute Engine resources that might be in use by the cluster, + // such as load balancer resources, are not deleted if they weren't present + // when the cluster was initially created. rpc DeleteCluster(DeleteClusterRequest) returns (Operation) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/clusters/*}" @@ -204,9 +215,10 @@ service ClusterManager { delete: "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id"; } - // Lists all operations in a project in a specific zone or all zones. + // Lists all operations in a project in the specified zone or all zones. rpc ListOperations(ListOperationsRequest) returns (ListOperationsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/operations" @@ -214,6 +226,7 @@ service ClusterManager { get: "/v1beta1/projects/{project_id}/zones/{zone}/operations" } }; + option (google.api.method_signature) = "project_id,zone"; } // Gets the specified operation. @@ -224,6 +237,7 @@ service ClusterManager { get: "/v1beta1/projects/{project_id}/zones/{zone}/operations/{operation_id}" } }; + option (google.api.method_signature) = "project_id,zone,operation_id"; } // Cancels the specified operation. @@ -236,9 +250,10 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,operation_id"; } - // Returns configuration info about the Kubernetes Engine service. + // Returns configuration info about the Google Kubernetes Engine service. rpc GetServerConfig(GetServerConfigRequest) returns (ServerConfig) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*}/serverConfig" @@ -246,6 +261,7 @@ service ClusterManager { get: "/v1beta1/projects/{project_id}/zones/{zone}/serverconfig" } }; + option (google.api.method_signature) = "project_id,zone"; } // Lists the node pools for a cluster. @@ -256,9 +272,10 @@ service ClusterManager { get: "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id"; } - // Retrieves the node pool requested. + // Retrieves the requested node pool. rpc GetNodePool(GetNodePoolRequest) returns (NodePool) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}" @@ -266,6 +283,7 @@ service ClusterManager { get: "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool_id"; } // Creates a node pool for a cluster. @@ -278,6 +296,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool"; } // Deletes a node pool from a cluster. @@ -288,10 +307,11 @@ service ClusterManager { delete: "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool_id"; } - // Roll back the previously Aborted or Failed NodePool upgrade. - // This will be an no-op if the last upgrade successfully completed. + // Rolls back a previously Aborted or Failed NodePool upgrade. + // This makes no changes if the last upgrade successfully completed. rpc RollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest) returns (Operation) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:rollback" @@ -301,6 +321,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool_id"; } // Sets the NodeManagement options for a node pool. @@ -313,6 +334,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool_id,management"; } // Sets labels on a cluster. @@ -325,6 +347,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,resource_labels,label_fingerprint"; } // Enables or disables the ABAC authorization mechanism on a cluster. @@ -337,9 +360,10 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,enabled"; } - // Start master IP rotation. + // Starts master IP rotation. rpc StartIPRotation(StartIPRotationRequest) returns (Operation) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/clusters/*}:startIpRotation" @@ -349,6 +373,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id"; } // Completes master IP rotation. @@ -361,6 +386,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id"; } // Sets the size for a specific node pool. @@ -375,7 +401,7 @@ service ClusterManager { }; } - // Enables/Disables Network Policy for a cluster. + // Enables or disables Network Policy for a cluster. rpc SetNetworkPolicy(SetNetworkPolicyRequest) returns (Operation) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/clusters/*}:setNetworkPolicy" @@ -385,6 +411,7 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,network_policy"; } // Sets the maintenance policy for a cluster. @@ -397,20 +424,23 @@ service ClusterManager { body: "*" } }; + option (google.api.method_signature) = "project_id,zone,cluster_id,maintenance_policy"; } - // Lists subnetworks that are usable for creating clusters in a project. + // Lists subnetworks that can be used for creating clusters in a project. rpc ListUsableSubnetworks(ListUsableSubnetworksRequest) returns (ListUsableSubnetworksResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*}/aggregated/usableSubnetworks" }; + option (google.api.method_signature) = "parent"; } - // Used to fetch locations that offer GKE. + // Fetches locations that offer Google Kubernetes Engine. rpc ListLocations(ListLocationsRequest) returns (ListLocationsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*}/locations" }; + option (google.api.method_signature) = "parent"; } } @@ -460,14 +490,22 @@ message NodeConfig { // "cluster-name" // "cluster-uid" // "configure-sh" + // "containerd-configure-sh" // "enable-oslogin" // "gci-ensure-gke-docker" + // "gci-metrics-enabled" // "gci-update-strategy" // "instance-template" // "kube-env" // "startup-script" // "user-data" - // + // "disable-address-manager" + // "windows-startup-script-ps1" + // "common-psm1" + // "k8s-node-setup-psm1" + // "install-ssh-psm1" + // "user-profile-psm1" + // "serial-port-logging-enable" // Values are free-form strings, and only have meaning as interpreted by // the image running in the instance. The only restriction placed on them is // that each value's size must be less than or equal to 32 KB. @@ -491,9 +529,9 @@ message NodeConfig { // The number of local SSD disks to be attached to the node. // - // The limit for this value is dependant upon the maximum number of + // The limit for this value is dependent upon the maximum number of // disks available on a machine per zone. See: - // https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits + // https://cloud.google.com/compute/docs/disks/local-ssd // for more information. int32 local_ssd_count = 7; @@ -525,6 +563,7 @@ message NodeConfig { // minCpuPlatform: "Intel Sandy Bridge". For more // information, read [how to specify min CPU // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) + // To unset the min cpu platform field pass "automatic" as field value. string min_cpu_platform = 13; // The workload metadata configuration for this node. @@ -535,6 +574,27 @@ message NodeConfig { // For more information, including usage and the valid values, see: // https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ repeated NodeTaint taints = 15; + + // Shielded Instance options. + ShieldedInstanceConfig shielded_instance_config = 20; +} + +// A set of Shielded Instance options. +message ShieldedInstanceConfig { + // Defines whether the instance has Secure Boot enabled. + // + // Secure Boot helps ensure that the system only runs authentic software by + // verifying the digital signature of all boot components, and halting the + // boot process if signature verification fails. + bool enable_secure_boot = 1; + + // Defines whether the instance has integrity monitoring enabled. + // + // Enables monitoring and attestation of the boot integrity of the instance. + // The attestation is performed against the integrity policy baseline. This + // baseline is initially derived from the implicitly trusted boot image when + // the instance is created. + bool enable_integrity_monitoring = 2; } // Kubernetes taint is comprised of three fields: key, value, and effect. Effect @@ -620,7 +680,11 @@ message AddonsConfig { HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; // Configuration for the Kubernetes Dashboard. - KubernetesDashboard kubernetes_dashboard = 3; + // This addon is deprecated, and will be disabled in 1.15. It is recommended + // to use the Cloud Console to manage and monitor your Kubernetes clusters, + // workloads and applications. For more information, see: + // https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards + KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; // Configuration for NetworkPolicy. This only tracks whether the addon // is enabled or not on the Master, it does not track whether network policy @@ -906,6 +970,17 @@ message PodSecurityPolicyConfig { bool enabled = 1; } +// Configuration for returning group information from authenticators. +message AuthenticatorGroupsConfig { + // Whether this cluster should return group membership lookups + // during authentication using a group of security groups. + bool enabled = 1; + + // The name of the security group-of-groups to be used. Only relevant + // if enabled = true. + string security_group = 2; +} + // A Google Kubernetes Engine cluster. message Cluster { // The current status of the cluster. @@ -938,7 +1013,8 @@ message Cluster { } // The name of this cluster. The name must be unique within this project - // and zone, and can be up to 40 characters with the following restrictions: + // and location (e.g. zone or region), and can be up to 40 characters with + // the following restrictions: // // * Lowercase letters, numbers, and hyphens only. // * Must start with a letter. @@ -956,19 +1032,22 @@ message Cluster { // "node_pool" object, since this configuration (along with the // "node_config") will be used to create a "NodePool" object with an // auto-generated name. Do not use this and a node_pool at the same time. - int32 initial_node_count = 3; + // + // This field is deprecated, use node_pool.initial_node_count instead. + int32 initial_node_count = 3 [deprecated = true]; // Parameters used in creating the cluster's nodes. - // See `nodeConfig` for the description of its properties. // For requests, this field should only be used in lieu of a // "node_pool" object, since this configuration (along with the // "initial_node_count") will be used to create a "NodePool" object with an // auto-generated name. Do not use this and a node_pool at the same time. // For responses, this field will be populated with the node configuration of - // the first node pool. + // the first node pool. (For configuration of each node pool, see + // `node_pool.config`) // // If unspecified, the defaults are used. - NodeConfig node_config = 4; + // This field is deprecated, use node_pool.config instead. + NodeConfig node_config = 4 [deprecated = true]; // The authentication information for accessing the master endpoint. // If unspecified, the defaults are used: @@ -1090,6 +1169,9 @@ message Cluster { // disabled when this config unspecified. ResourceUsageExportConfig resource_usage_export_config = 33; + // Configuration controlling RBAC group membership information. + AuthenticatorGroupsConfig authenticator_groups_config = 34; + // Configuration for private cluster. PrivateClusterConfig private_cluster_config = 37; @@ -1132,7 +1214,7 @@ message Cluster { string current_master_version = 104; // [Output only] Deprecated, use - // [NodePool.version](/kubernetes-engine/docs/reference/rest/v1beta1/projects.zones.clusters.nodePool) + // [NodePool.version](/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools) // instead. The current version of the node software components. // If they are currently at multiple versions because they're in the process // of being upgraded, this reflects the minimum version of all nodes. @@ -1147,11 +1229,12 @@ message Cluster { // [Output only] Additional information about the current status of this // cluster, if available. - string status_message = 108; + string status_message = 108 [deprecated = true]; // [Output only] The size of the address space on each node for hosting // containers. This is provisioned from within the `container_ipv4_cidr` - // range. + // range. This field will only be set when cluster is in route-based network + // mode. int32 node_ipv4_cidr_size = 109; // [Output only] The IP address range of the Kubernetes services in @@ -1186,6 +1269,9 @@ message Cluster { // notation (e.g. `1.2.3.4/29`). string tpu_ipv4_cidr_block = 116; + // Configuration of etcd encryption. + DatabaseEncryption database_encryption = 38; + // Which conditions caused the current cluster state. repeated StatusCondition conditions = 118; } @@ -1211,7 +1297,7 @@ message ClusterUpdate { // Currently available options: // // * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring - // service with Kubernetes-native resource model in Stackdriver + // service with Kubernetes-native resource model // * "monitoring.googleapis.com" - the Google Cloud Monitoring service // * "none" - no metrics will be exported from the cluster string desired_monitoring_service = 5; @@ -1220,9 +1306,9 @@ message ClusterUpdate { AddonsConfig desired_addons_config = 6; // The node pool to be upgraded. This field is mandatory if - // "desired_node_version", "desired_image_family" or - // "desired_node_pool_autoscaling" is specified and there is more than one - // node pool on the cluster. + // "desired_node_version", "desired_image_family", + // "desired_node_pool_autoscaling", or "desired_workload_metadata_config" + // is specified and there is more than one node pool on the cluster. string desired_node_pool_id = 7; // The desired image type for the node pool. @@ -1260,7 +1346,7 @@ message ClusterUpdate { // Currently available options: // // * "logging.googleapis.com/kubernetes" - the Google Cloud Logging - // service with Kubernetes-native resource model in Stackdriver + // service with Kubernetes-native resource model // * "logging.googleapis.com" - the Google Cloud Logging service // * "none" - no logs will be exported from the cluster string desired_logging_service = 19; @@ -1271,6 +1357,9 @@ message ClusterUpdate { // Cluster-level Vertical Pod Autoscaling configuration. VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + // The desired config of Intra-node visibility. + IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + // The Kubernetes version to change the master to. The only valid value is the // latest supported version. // @@ -1379,7 +1468,7 @@ message Operation { string detail = 8; // If an error has occurred, a textual description of the error. - string status_message = 5; + string status_message = 5 [deprecated = true]; // Server-defined URL for the resource. string self_link = 6; @@ -1454,20 +1543,26 @@ message OperationProgress { // CreateClusterRequest creates a cluster. message CreateClusterRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the parent field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the parent field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // A [cluster + // Required. A [cluster // resource](/container-engine/reference/rest/v1beta1/projects.zones.clusters) - Cluster cluster = 3; + Cluster cluster = 3 [(google.api.field_behavior) = REQUIRED]; // The parent (project and location) where the cluster will be created. // Specified in the format 'projects/*/locations/*'. @@ -1476,20 +1571,29 @@ message CreateClusterRequest { // GetClusterRequest gets the settings of a cluster. message GetClusterRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to retrieve. + // Required. Deprecated. The name of the cluster to retrieve. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The name (project, location, cluster) of the cluster to retrieve. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1498,23 +1602,32 @@ message GetClusterRequest { // UpdateClusterRequest updates the settings of a cluster. message UpdateClusterRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to upgrade. + // Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // A description of the update. - ClusterUpdate update = 4; + // Required. A description of the update. + ClusterUpdate update = 4 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster) of the cluster to update. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1523,26 +1636,38 @@ message UpdateClusterRequest { // SetNodePoolVersionRequest updates the version of a node pool. message UpdateNodePoolRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to upgrade. + // Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the node pool to upgrade. + // Required. Deprecated. The name of the node pool to upgrade. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [deprecated = true]; + string node_pool_id = 4 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // The Kubernetes version to change the nodes to (typically an + // Required. The Kubernetes version to change the nodes to (typically an // upgrade). // // Users may specify either explicit versions offered by Kubernetes Engine or @@ -1553,10 +1678,13 @@ message UpdateNodePoolRequest { // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version // - "1.X.Y-gke.N": picks an explicit Kubernetes version // - "-": picks the Kubernetes master version - string node_version = 5; + string node_version = 5 [(google.api.field_behavior) = REQUIRED]; + + // Required. The desired image type for the node pool. + string image_type = 6 [(google.api.field_behavior) = REQUIRED]; // The desired image type for the node pool. - string image_type = 6; + WorkloadMetadataConfig workload_metadata_config = 14; // The name (project, location, cluster, node pool) of the node pool to // update. Specified in the format @@ -1566,27 +1694,39 @@ message UpdateNodePoolRequest { // SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. message SetNodePoolAutoscalingRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to upgrade. + // Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the node pool to upgrade. + // Required. Deprecated. The name of the node pool to upgrade. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [deprecated = true]; + string node_pool_id = 4 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Autoscaling configuration for the node pool. - NodePoolAutoscaling autoscaling = 5; + // Required. Autoscaling configuration for the node pool. + NodePoolAutoscaling autoscaling = 5 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster, node pool) of the node pool to set // autoscaler settings. Specified in the format @@ -1596,27 +1736,36 @@ message SetNodePoolAutoscalingRequest { // SetLoggingServiceRequest sets the logging service of a cluster. message SetLoggingServiceRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to upgrade. + // Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // The logging service the cluster should use to write metrics. + // Required. The logging service the cluster should use to write metrics. // Currently available options: // // * "logging.googleapis.com" - the Google Cloud Logging service // * "none" - no metrics will be exported from the cluster - string logging_service = 4; + string logging_service = 4 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster) of the cluster to set logging. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1625,27 +1774,36 @@ message SetLoggingServiceRequest { // SetMonitoringServiceRequest sets the monitoring service of a cluster. message SetMonitoringServiceRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to upgrade. + // Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // The monitoring service the cluster should use to write metrics. + // Required. The monitoring service the cluster should use to write metrics. // Currently available options: // // * "monitoring.googleapis.com" - the Google Cloud Monitoring service // * "none" - no metrics will be exported from the cluster - string monitoring_service = 4; + string monitoring_service = 4 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster) of the cluster to set monitoring. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1654,24 +1812,33 @@ message SetMonitoringServiceRequest { // SetAddonsRequest sets the addons associated with the cluster. message SetAddonsConfigRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to upgrade. + // Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // The desired configurations for the various addons available to run in the + // Required. The desired configurations for the various addons available to run in the // cluster. - AddonsConfig addons_config = 4; + AddonsConfig addons_config = 4 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster) of the cluster to set addons. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1680,29 +1847,38 @@ message SetAddonsConfigRequest { // SetLocationsRequest sets the locations of the cluster. message SetLocationsRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to upgrade. + // Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // The desired list of Google Compute Engine + // Required. The desired list of Google Compute Engine // [zones](/compute/docs/zones#available) in which the cluster's nodes // should be located. Changing the locations a cluster is in will result // in nodes being either created or removed from the cluster, depending on // whether locations are being added or removed. // // This list must always include the cluster's primary zone. - repeated string locations = 4; + repeated string locations = 4 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster) of the cluster to set locations. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1711,22 +1887,31 @@ message SetLocationsRequest { // UpdateMasterRequest updates the master of the cluster. message UpdateMasterRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to upgrade. + // Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // The Kubernetes version to change the master to. + // Required. The Kubernetes version to change the master to. // // Users may specify either explicit versions offered by // Kubernetes Engine or version aliases, which have the following behavior: @@ -1736,7 +1921,7 @@ message UpdateMasterRequest { // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version // - "1.X.Y-gke.N": picks an explicit Kubernetes version // - "-": picks the default Kubernetes version - string master_version = 4; + string master_version = 4 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster) of the cluster to update. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1763,26 +1948,35 @@ message SetMasterAuthRequest { SET_USERNAME = 3; } - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to upgrade. + // Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // The exact form of action to be taken on the master auth. - Action action = 4; + // Required. The exact form of action to be taken on the master auth. + Action action = 4 [(google.api.field_behavior) = REQUIRED]; - // A description of the update. - MasterAuth update = 5; + // Required. A description of the update. + MasterAuth update = 5 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster) of the cluster to set auth. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1791,20 +1985,29 @@ message SetMasterAuthRequest { // DeleteClusterRequest deletes a cluster. message DeleteClusterRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to delete. + // Required. Deprecated. The name of the cluster to delete. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The name (project, location, cluster) of the cluster to delete. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1813,16 +2016,22 @@ message DeleteClusterRequest { // ListClustersRequest lists clusters. message ListClustersRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the parent field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides, or "-" for all zones. // This field has been deprecated and replaced by the parent field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The parent (project and location) where the clusters will be listed. // Specified in the format 'projects/*/locations/*'. @@ -1843,20 +2052,29 @@ message ListClustersResponse { // GetOperationRequest gets a single operation. message GetOperationRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The server-assigned `name` of the operation. + // Required. Deprecated. The server-assigned `name` of the operation. // This field has been deprecated and replaced by the name field. - string operation_id = 3 [deprecated = true]; + string operation_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The name (project, location, operation id) of the operation to get. // Specified in the format 'projects/*/locations/*/operations/*'. @@ -1865,15 +2083,21 @@ message GetOperationRequest { // ListOperationsRequest lists operations. message ListOperationsRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the parent field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) to return operations for, or `-` for // all zones. This field has been deprecated and replaced by the parent field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The parent (project and location) where the operations will be listed. // Specified in the format 'projects/*/locations/*'. @@ -1883,19 +2107,28 @@ message ListOperationsRequest { // CancelOperationRequest cancels a single operation. message CancelOperationRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the operation resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The server-assigned `name` of the operation. + // Required. Deprecated. The server-assigned `name` of the operation. // This field has been deprecated and replaced by the name field. - string operation_id = 3 [deprecated = true]; + string operation_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The name (project, location, operation id) of the operation to cancel. // Specified in the format 'projects/*/locations/*/operations/*'. @@ -1914,18 +2147,24 @@ message ListOperationsResponse { // Gets the current Kubernetes Engine service configuration. message GetServerConfigRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) to return operations for. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // The name (project and location) of the server config to get - // Specified in the format 'projects/*/locations/*'. + // The name (project and location) of the server config to get, + // specified in the format 'projects/*/locations/*'. string name = 4; } @@ -1949,23 +2188,32 @@ message ServerConfig { // CreateNodePoolRequest creates a node pool for a cluster. message CreateNodePoolRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the parent field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the parent field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster. + // Required. Deprecated. The name of the cluster. // This field has been deprecated and replaced by the parent field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // The node pool to create. - NodePool node_pool = 4; + // Required. The node pool to create. + NodePool node_pool = 4 [(google.api.field_behavior) = REQUIRED]; // The parent (project, location, cluster id) where the node pool will be // created. Specified in the format @@ -1975,24 +2223,36 @@ message CreateNodePoolRequest { // DeleteNodePoolRequest deletes a node pool for a cluster. message DeleteNodePoolRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster. + // Required. Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the node pool to delete. + // Required. Deprecated. The name of the node pool to delete. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [deprecated = true]; + string node_pool_id = 4 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The name (project, location, cluster, node pool id) of the node pool to // delete. Specified in the format @@ -2002,20 +2262,29 @@ message DeleteNodePoolRequest { // ListNodePoolsRequest lists the node pool(s) for a cluster. message ListNodePoolsRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the parent field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the parent field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster. + // Required. Deprecated. The name of the cluster. // This field has been deprecated and replaced by the parent field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The parent (project, location, cluster id) where the node pools will be // listed. Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2024,24 +2293,36 @@ message ListNodePoolsRequest { // GetNodePoolRequest retrieves a node pool for a cluster. message GetNodePoolRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster. + // Required. Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the node pool. + // Required. Deprecated. The name of the node pool. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [deprecated = true]; + string node_pool_id = 4 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The name (project, location, cluster, node pool id) of the node pool to // get. Specified in the format @@ -2115,7 +2396,7 @@ message NodePool { // [Output only] Additional information about the current status of this // node pool instance, if available. - string status_message = 104; + string status_message = 104 [deprecated = true]; // Autoscaler configuration for this NodePool. Autoscaler is enabled // only if a valid configuration is present. @@ -2130,6 +2411,9 @@ message NodePool { // Which conditions caused the current node pool state. repeated StatusCondition conditions = 105; + + // [Output only] The pod CIDR block size per node in this node pool. + int32 pod_ipv4_cidr_size = 7; } // NodeManagement defines the set of node management services turned on for the @@ -2162,6 +2446,13 @@ message AutoUpgradeOptions { message MaintenancePolicy { // Specifies the maintenance window in which maintenance may be performed. MaintenanceWindow window = 1; + + // A hash identifying the version of this policy, so that updates to fields of + // the policy won't accidentally undo intermediate changes (and so that users + // of the API unaware of some fields won't accidentally remove other fields). + // Make a get() request to the cluster to get the current + // resource version and include it with requests to set the policy. + string resource_version = 3; } // MaintenanceWindow defines the maintenance window to be used for the cluster. @@ -2171,13 +2462,67 @@ message MaintenanceWindow { oneof policy { // DailyMaintenanceWindow specifies a daily maintenance operation window. DailyMaintenanceWindow daily_maintenance_window = 2; + + // RecurringWindow specifies some number of recurring time periods for + // maintenance to occur. The time windows may be overlapping. If no + // maintenance windows are set, maintenance can occur at any time. + RecurringTimeWindow recurring_window = 3; } + + // Exceptions to maintenance window. Non-emergency maintenance should not + // occur in these windows. + map maintenance_exclusions = 4; +} + +// Represents an arbitrary window of time. +message TimeWindow { + // The time that the window first starts. + google.protobuf.Timestamp start_time = 1; + + // The time that the window ends. The end time should take place after the + // start time. + google.protobuf.Timestamp end_time = 2; +} + +// Represents an arbitrary window of time that recurs. +message RecurringTimeWindow { + // The window of the first recurrence. + TimeWindow window = 1; + + // An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how + // this window reccurs. They go on for the span of time between the start and + // end time. + // + // For example, to have something repeat every weekday, you'd use: + // FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR + // To repeat some window daily (equivalent to the DailyMaintenanceWindow): + // FREQ=DAILY + // For the first weekend of every month: + // FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU + // This specifies how frequently the window starts. Eg, if you wanted to have + // a 9-5 UTC-4 window every weekday, you'd use something like: + // + // start time = 2019-01-01T09:00:00-0400 + // end time = 2019-01-01T17:00:00-0400 + // recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR + // + // Windows can span multiple days. Eg, to make the window encompass every + // weekend from midnight Saturday till the last minute of Sunday UTC: + // + // start time = 2019-01-05T00:00:00Z + // end time = 2019-01-07T23:59:00Z + // recurrence = FREQ=WEEKLY;BYDAY=SA + // + // Note the start and end time's specific dates are largely arbitrary except + // to specify duration of the window and when it first starts. + // The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported. + string recurrence = 2; } // Time window specified for daily maintenance operations. message DailyMaintenanceWindow { // Time within the maintenance window to start the maintenance operations. - // It must be in format "HH:MM”, where HH : [00-23] and MM : [00-59] GMT. + // It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT. string start_time = 2; // [Output only] Duration of the time window, automatically chosen to be @@ -2188,27 +2533,39 @@ message DailyMaintenanceWindow { // SetNodePoolManagementRequest sets the node management properties of a node // pool. message SetNodePoolManagementRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to update. + // Required. Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the node pool to update. + // Required. Deprecated. The name of the node pool to update. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [deprecated = true]; + string node_pool_id = 4 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // NodeManagement configuration for the node pool. - NodeManagement management = 5; + // Required. NodeManagement configuration for the node pool. + NodeManagement management = 5 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster, node pool id) of the node pool to set // management properties. Specified in the format @@ -2219,27 +2576,39 @@ message SetNodePoolManagementRequest { // SetNodePoolSizeRequest sets the size a node // pool. message SetNodePoolSizeRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to update. + // Required. Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the node pool to update. + // Required. Deprecated. The name of the node pool to update. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [deprecated = true]; + string node_pool_id = 4 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // The desired node count for the pool. - int32 node_count = 5; + // Required. The desired node count for the pool. + int32 node_count = 5 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster, node pool id) of the node pool to set // size. @@ -2251,24 +2620,36 @@ message SetNodePoolSizeRequest { // NodePool upgrade. This will be an no-op if the last upgrade successfully // completed. message RollbackNodePoolUpgradeRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to rollback. + // Required. Deprecated. The name of the cluster to rollback. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the node pool to rollback. + // Required. Deprecated. The name of the node pool to rollback. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [deprecated = true]; + string node_pool_id = 4 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The name (project, location, cluster, node pool id) of the node poll to // rollback upgrade. @@ -2293,6 +2674,26 @@ message ClusterAutoscaling { // Contains global constraints regarding minimum and maximum // amount of resources in the cluster. repeated ResourceLimit resource_limits = 2; + + // AutoprovisioningNodePoolDefaults contains defaults for a node pool + // created by NAP. + AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + + // The list of Google Compute Engine [zones](/compute/docs/zones#available) + // in which the NodePool's nodes can be created by NAP. + repeated string autoprovisioning_locations = 5; +} + +// AutoprovisioningNodePoolDefaults contains defaults for a node pool created +// by NAP. +message AutoprovisioningNodePoolDefaults { + // Scopes that are used by NAP when creating node pools. If oauth_scopes are + // specified, service_account should be empty. + repeated string oauth_scopes = 1; + + // The Google Cloud Platform Service Account to be used by the node VMs. If + // service_account is specified, scopes should be empty. + string service_account = 2; } // Contains information about amount of some resource in the cluster. @@ -2330,31 +2731,40 @@ message NodePoolAutoscaling { // Engine cluster, which will in turn set them for Google Compute Engine // resources used by that cluster message SetLabelsRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster. + // Required. Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // The labels to set for that cluster. - map resource_labels = 4; + // Required. The labels to set for that cluster. + map resource_labels = 4 [(google.api.field_behavior) = REQUIRED]; - // The fingerprint of the previous set of labels for this resource, + // Required. The fingerprint of the previous set of labels for this resource, // used to detect conflicts. The fingerprint is initially generated by // Kubernetes Engine and changes after every request to modify or update // labels. You must always provide an up-to-date fingerprint hash when // updating or changing labels. Make a get() request to the // resource to get the latest fingerprint. - string label_fingerprint = 5; + string label_fingerprint = 5 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster id) of the cluster to set labels. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2364,23 +2774,32 @@ message SetLabelsRequest { // SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for // a cluster. message SetLegacyAbacRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster to update. + // Required. Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Whether ABAC authorization will be enabled in the cluster. - bool enabled = 4; + // Required. Whether ABAC authorization will be enabled in the cluster. + bool enabled = 4 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster id) of the cluster to set legacy abac. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2390,20 +2809,29 @@ message SetLegacyAbacRequest { // StartIPRotationRequest creates a new IP for the cluster and then performs // a node upgrade on each node pool to point to the new IP. message StartIPRotationRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster. + // Required. Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The name (project, location, cluster id) of the cluster to start IP // rotation. Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2415,20 +2843,29 @@ message StartIPRotationRequest { // CompleteIPRotationRequest moves the cluster master back into single-IP mode. message CompleteIPRotationRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster. + // Required. Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; // The name (project, location, cluster id) of the cluster to complete IP // rotation. Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2441,7 +2878,7 @@ message AcceleratorConfig { int64 accelerator_count = 1; // The accelerator type resource name. List of supported accelerators - // [here](/compute/docs/gpus/#Introduction) + // [here](/compute/docs/gpus) string accelerator_type = 2; } @@ -2468,30 +2905,39 @@ message WorkloadMetadataConfig { EXPOSE = 2; } - // NodeMetadata is the configuration for how to expose the node metadata to - // the workload running on the node. + // NodeMetadata is the configuration for how to expose metadata to the + // workloads running on the node. NodeMetadata node_metadata = 1; } // SetNetworkPolicyRequest enables/disables network policy for a cluster. message SetNetworkPolicyRequest { - // Deprecated. The Google Developers Console [project ID or project + // Required. Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. - string project_id = 1 [deprecated = true]; + string project_id = 1 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the Google Compute Engine + // Required. Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [deprecated = true]; + string zone = 2 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Deprecated. The name of the cluster. + // Required. Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [deprecated = true]; + string cluster_id = 3 [ + deprecated = true, + (google.api.field_behavior) = REQUIRED + ]; - // Configuration options for the NetworkPolicy feature. - NetworkPolicy network_policy = 4; + // Required. Configuration options for the NetworkPolicy feature. + NetworkPolicy network_policy = 4 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster id) of the cluster to set networking // policy. Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2500,21 +2946,21 @@ message SetNetworkPolicyRequest { // SetMaintenancePolicyRequest sets the maintenance policy for a cluster. message SetMaintenancePolicyRequest { - // The Google Developers Console [project ID or project + // Required. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - string project_id = 1; + string project_id = 1 [(google.api.field_behavior) = REQUIRED]; - // The name of the Google Compute Engine + // Required. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - string zone = 2; + string zone = 2 [(google.api.field_behavior) = REQUIRED]; - // The name of the cluster to update. - string cluster_id = 3; + // Required. The name of the cluster to update. + string cluster_id = 3 [(google.api.field_behavior) = REQUIRED]; - // The maintenance policy to be set for the cluster. An empty field + // Required. The maintenance policy to be set for the cluster. An empty field // clears the existing maintenance policy. - MaintenancePolicy maintenance_policy = 4; + MaintenancePolicy maintenance_policy = 4 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster id) of the cluster to set maintenance // policy. @@ -2524,9 +2970,9 @@ message SetMaintenancePolicyRequest { // ListLocationsRequest is used to request the locations that offer GKE. message ListLocationsRequest { - // Contains the name of the resource requested. + // Required. Contains the name of the resource requested. // Specified in the format 'projects/*'. - string parent = 1; + string parent = 1 [(google.api.field_behavior) = REQUIRED]; } // ListLocationsResponse returns the list of all GKE locations and their @@ -2588,8 +3034,12 @@ message StatusCondition { GCE_QUOTA_EXCEEDED = 3; // Cluster state was manually changed by an SRE due to a system logic error. - // More codes TBA SET_BY_OPERATOR = 4; + + // Unable to perform an encrypt operation against the CloudKMS key used for + // etcd level encryption. + // More codes TBA + CLOUD_KMS_KEY_ERROR = 7; } // Machine-friendly representation of the condition @@ -2611,14 +3061,18 @@ message NetworkConfig { // [subnetwork](/compute/docs/vpc) to which the cluster is connected. // Example: projects/my-project/regions/us-central1/subnetworks/my-subnet string subnetwork = 2; + + // Whether Intra-node visibility is enabled for this cluster. + // This makes same node pod to pod traffic visible for VPC network. + bool enable_intra_node_visibility = 5; } // ListUsableSubnetworksRequest requests the list of usable subnetworks. // available to a user for creating clusters. message ListUsableSubnetworksRequest { - // The parent project where subnetworks are usable. + // Required. The parent project where subnetworks are usable. // Specified in the format 'projects/*'. - string parent = 1; + string parent = 1 [(google.api.field_behavior) = REQUIRED]; // Filtering currently only supports equality on the networkProjectId and must // be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` @@ -2717,12 +3171,42 @@ message VerticalPodAutoscaling { bool enabled = 1; } +// IntraNodeVisibilityConfig contains the desired config of the intra-node +// visibility on this cluster. +message IntraNodeVisibilityConfig { + // Enables intra node visibility for this cluster. + bool enabled = 1; +} + // Constraints applied to pods. message MaxPodsConstraint { // Constraint enforced on the max num of pods per node. int64 max_pods_per_node = 1; } +// Configuration of etcd encryption. +message DatabaseEncryption { + // State of etcd encryption. + enum State { + // Should never be set + UNKNOWN = 0; + + // Secrets in etcd are encrypted. + ENCRYPTED = 1; + + // Secrets in etcd are stored in plain text (at etcd level) - this is + // unrelated to Google Compute Engine level full disk encryption. + DECRYPTED = 2; + } + + // Denotes the state of etcd encryption. + State state = 2; + + // Name of CloudKMS key to use for the encryption of secrets in etcd. + // Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key + string key_name = 1; +} + // Configuration for exporting cluster resource usages. message ResourceUsageExportConfig { // Parameters for using BigQuery as the destination of resource usage export. @@ -2731,10 +3215,21 @@ message ResourceUsageExportConfig { string dataset_id = 1; } + // Parameters for controlling consumption metering. + message ConsumptionMeteringConfig { + // Whether to enable consumption metering for this cluster. If enabled, a + // second BigQuery table will be created to hold resource consumption + // records. + bool enabled = 1; + } + // Configuration to use BigQuery as usage export destination. BigQueryDestination bigquery_destination = 1; // Whether to enable network egress metering for this cluster. If enabled, a // daemonset will be created in the cluster to meter network egress traffic. bool enable_network_egress_metering = 2; + + // Configuration to enable resource consumption metering. + ConsumptionMeteringConfig consumption_metering_config = 3; } diff --git a/google/cloud/container_v1beta1/proto/cluster_service_pb2.py b/google/cloud/container_v1beta1/proto/cluster_service_pb2.py index d680c845..0f43d329 100644 --- a/google/cloud/container_v1beta1/proto/cluster_service_pb2.py +++ b/google/cloud/container_v1beta1/proto/cluster_service_pb2.py @@ -17,9 +17,10 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.iam.v1 import iam_policy_pb2 as google_dot_iam_dot_v1_dot_iam__policy__pb2 -from google.iam.v1 import policy_pb2 as google_dot_iam_dot_v1_dot_policy__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 DESCRIPTOR = _descriptor.FileDescriptor( @@ -30,13 +31,14 @@ "\n\034com.google.container.v1beta1B\023ClusterServiceProtoP\001ZAgoogle.golang.org/genproto/googleapis/container/v1beta1;container\252\002\036Google.Cloud.Container.V1Beta1\312\002\036Google\\Cloud\\Container\\V1beta1" ), serialized_pb=_b( - '\n:google/cloud/container_v1beta1/proto/cluster_service.proto\x12\x18google.container.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto"\x98\x05\n\nNodeConfig\x12\x14\n\x0cmachine_type\x18\x01 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x02 \x01(\x05\x12\x14\n\x0coauth_scopes\x18\x03 \x03(\t\x12\x17\n\x0fservice_account\x18\t \x01(\t\x12\x44\n\x08metadata\x18\x04 \x03(\x0b\x32\x32.google.container.v1beta1.NodeConfig.MetadataEntry\x12\x12\n\nimage_type\x18\x05 \x01(\t\x12@\n\x06labels\x18\x06 \x03(\x0b\x32\x30.google.container.v1beta1.NodeConfig.LabelsEntry\x12\x17\n\x0flocal_ssd_count\x18\x07 \x01(\x05\x12\x0c\n\x04tags\x18\x08 \x03(\t\x12\x13\n\x0bpreemptible\x18\n \x01(\x08\x12\x41\n\x0c\x61\x63\x63\x65lerators\x18\x0b \x03(\x0b\x32+.google.container.v1beta1.AcceleratorConfig\x12\x11\n\tdisk_type\x18\x0c \x01(\t\x12\x18\n\x10min_cpu_platform\x18\r \x01(\t\x12R\n\x18workload_metadata_config\x18\x0e \x01(\x0b\x32\x30.google.container.v1beta1.WorkloadMetadataConfig\x12\x33\n\x06taints\x18\x0f \x03(\x0b\x32#.google.container.v1beta1.NodeTaint\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xbe\x01\n\tNodeTaint\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12:\n\x06\x65\x66\x66\x65\x63t\x18\x03 \x01(\x0e\x32*.google.container.v1beta1.NodeTaint.Effect"Y\n\x06\x45\x66\x66\x65\x63t\x12\x16\n\x12\x45\x46\x46\x45\x43T_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNO_SCHEDULE\x10\x01\x12\x16\n\x12PREFER_NO_SCHEDULE\x10\x02\x12\x0e\n\nNO_EXECUTE\x10\x03"\xd6\x01\n\nMasterAuth\x12\x10\n\x08username\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12T\n\x19\x63lient_certificate_config\x18\x03 \x01(\x0b\x32\x31.google.container.v1beta1.ClientCertificateConfig\x12\x1e\n\x16\x63luster_ca_certificate\x18\x64 \x01(\t\x12\x1a\n\x12\x63lient_certificate\x18\x65 \x01(\t\x12\x12\n\nclient_key\x18\x66 \x01(\t";\n\x17\x43lientCertificateConfig\x12 \n\x18issue_client_certificate\x18\x01 \x01(\x08"\xcc\x03\n\x0c\x41\x64\x64onsConfig\x12H\n\x13http_load_balancing\x18\x01 \x01(\x0b\x32+.google.container.v1beta1.HttpLoadBalancing\x12V\n\x1ahorizontal_pod_autoscaling\x18\x02 \x01(\x0b\x32\x32.google.container.v1beta1.HorizontalPodAutoscaling\x12K\n\x14kubernetes_dashboard\x18\x03 \x01(\x0b\x32-.google.container.v1beta1.KubernetesDashboard\x12L\n\x15network_policy_config\x18\x04 \x01(\x0b\x32-.google.container.v1beta1.NetworkPolicyConfig\x12;\n\x0cistio_config\x18\x05 \x01(\x0b\x32%.google.container.v1beta1.IstioConfig\x12\x42\n\x10\x63loud_run_config\x18\x07 \x01(\x0b\x32(.google.container.v1beta1.CloudRunConfig"%\n\x11HttpLoadBalancing\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08",\n\x18HorizontalPodAutoscaling\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08"\'\n\x13KubernetesDashboard\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08"\'\n\x13NetworkPolicyConfig\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08"\xa8\x01\n\x14PrivateClusterConfig\x12\x1c\n\x14\x65nable_private_nodes\x18\x01 \x01(\x08\x12\x1f\n\x17\x65nable_private_endpoint\x18\x02 \x01(\x08\x12\x1e\n\x16master_ipv4_cidr_block\x18\x03 \x01(\t\x12\x18\n\x10private_endpoint\x18\x04 \x01(\t\x12\x17\n\x0fpublic_endpoint\x18\x05 \x01(\t"\x97\x01\n\x0bIstioConfig\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12\x41\n\x04\x61uth\x18\x02 \x01(\x0e\x32\x33.google.container.v1beta1.IstioConfig.IstioAuthMode"3\n\rIstioAuthMode\x12\r\n\tAUTH_NONE\x10\x00\x12\x13\n\x0f\x41UTH_MUTUAL_TLS\x10\x01""\n\x0e\x43loudRunConfig\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08"\xc1\x01\n\x1eMasterAuthorizedNetworksConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12W\n\x0b\x63idr_blocks\x18\x02 \x03(\x0b\x32\x42.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock\x1a\x35\n\tCidrBlock\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x12\n\ncidr_block\x18\x02 \x01(\t"\x1d\n\nLegacyAbac\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08"\x96\x01\n\rNetworkPolicy\x12\x42\n\x08provider\x18\x01 \x01(\x0e\x32\x30.google.container.v1beta1.NetworkPolicy.Provider\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08"0\n\x08Provider\x12\x18\n\x14PROVIDER_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x41LICO\x10\x01"\xa3\x03\n\x12IPAllocationPolicy\x12\x16\n\x0euse_ip_aliases\x18\x01 \x01(\x08\x12\x19\n\x11\x63reate_subnetwork\x18\x02 \x01(\x08\x12\x17\n\x0fsubnetwork_name\x18\x03 \x01(\t\x12\x1d\n\x11\x63luster_ipv4_cidr\x18\x04 \x01(\tB\x02\x18\x01\x12\x1a\n\x0enode_ipv4_cidr\x18\x05 \x01(\tB\x02\x18\x01\x12\x1e\n\x12services_ipv4_cidr\x18\x06 \x01(\tB\x02\x18\x01\x12$\n\x1c\x63luster_secondary_range_name\x18\x07 \x01(\t\x12%\n\x1dservices_secondary_range_name\x18\x08 \x01(\t\x12\x1f\n\x17\x63luster_ipv4_cidr_block\x18\t \x01(\t\x12\x1c\n\x14node_ipv4_cidr_block\x18\n \x01(\t\x12 \n\x18services_ipv4_cidr_block\x18\x0b \x01(\t\x12\x1b\n\x13\x61llow_route_overlap\x18\x0c \x01(\x08\x12\x1b\n\x13tpu_ipv4_cidr_block\x18\r \x01(\t"&\n\x13\x42inaryAuthorization\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08"*\n\x17PodSecurityPolicyConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08"\xbb\x12\n\x07\x43luster\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1a\n\x12initial_node_count\x18\x03 \x01(\x05\x12\x39\n\x0bnode_config\x18\x04 \x01(\x0b\x32$.google.container.v1beta1.NodeConfig\x12\x39\n\x0bmaster_auth\x18\x05 \x01(\x0b\x32$.google.container.v1beta1.MasterAuth\x12\x17\n\x0flogging_service\x18\x06 \x01(\t\x12\x1a\n\x12monitoring_service\x18\x07 \x01(\t\x12\x0f\n\x07network\x18\x08 \x01(\t\x12\x19\n\x11\x63luster_ipv4_cidr\x18\t \x01(\t\x12=\n\raddons_config\x18\n \x01(\x0b\x32&.google.container.v1beta1.AddonsConfig\x12\x12\n\nsubnetwork\x18\x0b \x01(\t\x12\x36\n\nnode_pools\x18\x0c \x03(\x0b\x32".google.container.v1beta1.NodePool\x12\x11\n\tlocations\x18\r \x03(\t\x12\x1f\n\x17\x65nable_kubernetes_alpha\x18\x0e \x01(\x08\x12N\n\x0fresource_labels\x18\x0f \x03(\x0b\x32\x35.google.container.v1beta1.Cluster.ResourceLabelsEntry\x12\x19\n\x11label_fingerprint\x18\x10 \x01(\t\x12\x39\n\x0blegacy_abac\x18\x12 \x01(\x0b\x32$.google.container.v1beta1.LegacyAbac\x12?\n\x0enetwork_policy\x18\x13 \x01(\x0b\x32\'.google.container.v1beta1.NetworkPolicy\x12J\n\x14ip_allocation_policy\x18\x14 \x01(\x0b\x32,.google.container.v1beta1.IPAllocationPolicy\x12\x63\n!master_authorized_networks_config\x18\x16 \x01(\x0b\x32\x38.google.container.v1beta1.MasterAuthorizedNetworksConfig\x12G\n\x12maintenance_policy\x18\x17 \x01(\x0b\x32+.google.container.v1beta1.MaintenancePolicy\x12K\n\x14\x62inary_authorization\x18\x18 \x01(\x0b\x32-.google.container.v1beta1.BinaryAuthorization\x12U\n\x1apod_security_policy_config\x18\x19 \x01(\x0b\x32\x31.google.container.v1beta1.PodSecurityPolicyConfig\x12\x41\n\x0b\x61utoscaling\x18\x1a \x01(\x0b\x32,.google.container.v1beta1.ClusterAutoscaling\x12?\n\x0enetwork_config\x18\x1b \x01(\x0b\x32\'.google.container.v1beta1.NetworkConfig\x12\x1b\n\x0fprivate_cluster\x18\x1c \x01(\x08\x42\x02\x18\x01\x12"\n\x16master_ipv4_cidr_block\x18\x1d \x01(\tB\x02\x18\x01\x12P\n\x1b\x64\x65\x66\x61ult_max_pods_constraint\x18\x1e \x01(\x0b\x32+.google.container.v1beta1.MaxPodsConstraint\x12Y\n\x1cresource_usage_export_config\x18! \x01(\x0b\x32\x33.google.container.v1beta1.ResourceUsageExportConfig\x12N\n\x16private_cluster_config\x18% \x01(\x0b\x32..google.container.v1beta1.PrivateClusterConfig\x12R\n\x18vertical_pod_autoscaling\x18\' \x01(\x0b\x32\x30.google.container.v1beta1.VerticalPodAutoscaling\x12\x11\n\tself_link\x18\x64 \x01(\t\x12\x10\n\x04zone\x18\x65 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x65ndpoint\x18\x66 \x01(\t\x12\x1f\n\x17initial_cluster_version\x18g \x01(\t\x12\x1e\n\x16\x63urrent_master_version\x18h \x01(\t\x12 \n\x14\x63urrent_node_version\x18i \x01(\tB\x02\x18\x01\x12\x13\n\x0b\x63reate_time\x18j \x01(\t\x12\x38\n\x06status\x18k \x01(\x0e\x32(.google.container.v1beta1.Cluster.Status\x12\x16\n\x0estatus_message\x18l \x01(\t\x12\x1b\n\x13node_ipv4_cidr_size\x18m \x01(\x05\x12\x1a\n\x12services_ipv4_cidr\x18n \x01(\t\x12\x1f\n\x13instance_group_urls\x18o \x03(\tB\x02\x18\x01\x12\x1e\n\x12\x63urrent_node_count\x18p \x01(\x05\x42\x02\x18\x01\x12\x13\n\x0b\x65xpire_time\x18q \x01(\t\x12\x10\n\x08location\x18r \x01(\t\x12\x12\n\nenable_tpu\x18s \x01(\x08\x12\x1b\n\x13tpu_ipv4_cidr_block\x18t \x01(\t\x12=\n\nconditions\x18v \x03(\x0b\x32).google.container.v1beta1.StatusCondition\x1a\x35\n\x13ResourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"w\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06"\xb7\x07\n\rClusterUpdate\x12\x1c\n\x14\x64\x65sired_node_version\x18\x04 \x01(\t\x12"\n\x1a\x64\x65sired_monitoring_service\x18\x05 \x01(\t\x12\x45\n\x15\x64\x65sired_addons_config\x18\x06 \x01(\x0b\x32&.google.container.v1beta1.AddonsConfig\x12\x1c\n\x14\x64\x65sired_node_pool_id\x18\x07 \x01(\t\x12\x1a\n\x12\x64\x65sired_image_type\x18\x08 \x01(\t\x12T\n\x1d\x64\x65sired_node_pool_autoscaling\x18\t \x01(\x0b\x32-.google.container.v1beta1.NodePoolAutoscaling\x12\x19\n\x11\x64\x65sired_locations\x18\n \x03(\t\x12k\n)desired_master_authorized_networks_config\x18\x0c \x01(\x0b\x32\x38.google.container.v1beta1.MasterAuthorizedNetworksConfig\x12]\n"desired_pod_security_policy_config\x18\x0e \x01(\x0b\x32\x31.google.container.v1beta1.PodSecurityPolicyConfig\x12Q\n\x1b\x64\x65sired_cluster_autoscaling\x18\x0f \x01(\x0b\x32,.google.container.v1beta1.ClusterAutoscaling\x12S\n\x1c\x64\x65sired_binary_authorization\x18\x10 \x01(\x0b\x32-.google.container.v1beta1.BinaryAuthorization\x12\x1f\n\x17\x64\x65sired_logging_service\x18\x13 \x01(\t\x12\x61\n$desired_resource_usage_export_config\x18\x15 \x01(\x0b\x32\x33.google.container.v1beta1.ResourceUsageExportConfig\x12Z\n desired_vertical_pod_autoscaling\x18\x16 \x01(\x0b\x32\x30.google.container.v1beta1.VerticalPodAutoscaling\x12\x1e\n\x16\x64\x65sired_master_version\x18\x64 \x01(\t"\xd3\x07\n\tOperation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12@\n\x0eoperation_type\x18\x03 \x01(\x0e\x32(.google.container.v1beta1.Operation.Type\x12:\n\x06status\x18\x04 \x01(\x0e\x32*.google.container.v1beta1.Operation.Status\x12\x0e\n\x06\x64\x65tail\x18\x08 \x01(\t\x12\x16\n\x0estatus_message\x18\x05 \x01(\t\x12\x11\n\tself_link\x18\x06 \x01(\t\x12\x13\n\x0btarget_link\x18\x07 \x01(\t\x12\x10\n\x08location\x18\t \x01(\t\x12\x12\n\nstart_time\x18\n \x01(\t\x12\x10\n\x08\x65nd_time\x18\x0b \x01(\t\x12=\n\x08progress\x18\x0c \x01(\x0b\x32+.google.container.v1beta1.OperationProgress\x12\x45\n\x12\x63luster_conditions\x18\r \x03(\x0b\x32).google.container.v1beta1.StatusCondition\x12\x46\n\x13nodepool_conditions\x18\x0e \x03(\x0b\x32).google.container.v1beta1.StatusCondition"R\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\x12\x0c\n\x08\x41\x42ORTING\x10\x04"\xfd\x02\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x43REATE_CLUSTER\x10\x01\x12\x12\n\x0e\x44\x45LETE_CLUSTER\x10\x02\x12\x12\n\x0eUPGRADE_MASTER\x10\x03\x12\x11\n\rUPGRADE_NODES\x10\x04\x12\x12\n\x0eREPAIR_CLUSTER\x10\x05\x12\x12\n\x0eUPDATE_CLUSTER\x10\x06\x12\x14\n\x10\x43REATE_NODE_POOL\x10\x07\x12\x14\n\x10\x44\x45LETE_NODE_POOL\x10\x08\x12\x1c\n\x18SET_NODE_POOL_MANAGEMENT\x10\t\x12\x15\n\x11\x41UTO_REPAIR_NODES\x10\n\x12\x16\n\x12\x41UTO_UPGRADE_NODES\x10\x0b\x12\x0e\n\nSET_LABELS\x10\x0c\x12\x13\n\x0fSET_MASTER_AUTH\x10\r\x12\x16\n\x12SET_NODE_POOL_SIZE\x10\x0e\x12\x16\n\x12SET_NETWORK_POLICY\x10\x0f\x12\x1a\n\x16SET_MAINTENANCE_POLICY\x10\x10"\xc5\x02\n\x11OperationProgress\x12\x0c\n\x04name\x18\x01 \x01(\t\x12:\n\x06status\x18\x02 \x01(\x0e\x32*.google.container.v1beta1.Operation.Status\x12\x43\n\x07metrics\x18\x03 \x03(\x0b\x32\x32.google.container.v1beta1.OperationProgress.Metric\x12;\n\x06stages\x18\x04 \x03(\x0b\x32+.google.container.v1beta1.OperationProgress\x1a\x64\n\x06Metric\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\tint_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x42\x07\n\x05value"\x84\x01\n\x14\x43reateClusterRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x32\n\x07\x63luster\x18\x03 \x01(\x0b\x32!.google.container.v1beta1.Cluster\x12\x0e\n\x06parent\x18\x05 \x01(\t"c\n\x11GetClusterRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x05 \x01(\t"\x9f\x01\n\x14UpdateClusterRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x37\n\x06update\x18\x04 \x01(\x0b\x32\'.google.container.v1beta1.ClusterUpdate\x12\x0c\n\x04name\x18\x05 \x01(\t"\xab\x01\n\x15UpdateNodePoolRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x18\n\x0cnode_pool_id\x18\x04 \x01(\tB\x02\x18\x01\x12\x14\n\x0cnode_version\x18\x05 \x01(\t\x12\x12\n\nimage_type\x18\x06 \x01(\t\x12\x0c\n\x04name\x18\x08 \x01(\t"\xcd\x01\n\x1dSetNodePoolAutoscalingRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x18\n\x0cnode_pool_id\x18\x04 \x01(\tB\x02\x18\x01\x12\x42\n\x0b\x61utoscaling\x18\x05 \x01(\x0b\x32-.google.container.v1beta1.NodePoolAutoscaling\x12\x0c\n\x04name\x18\x06 \x01(\t"\x7f\n\x18SetLoggingServiceRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x0c\n\x04zone\x18\x02 \x01(\t\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x17\n\x0flogging_service\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t"\x89\x01\n\x1bSetMonitoringServiceRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x1a\n\x12monitoring_service\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x06 \x01(\t"\xa7\x01\n\x16SetAddonsConfigRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12=\n\raddons_config\x18\x04 \x01(\x0b\x32&.google.container.v1beta1.AddonsConfig\x12\x0c\n\x04name\x18\x06 \x01(\t"x\n\x13SetLocationsRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x11\n\tlocations\x18\x04 \x03(\t\x12\x0c\n\x04name\x18\x06 \x01(\t"}\n\x13UpdateMasterRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x16\n\x0emaster_version\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x07 \x01(\t"\xb5\x02\n\x14SetMasterAuthRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x45\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32\x35.google.container.v1beta1.SetMasterAuthRequest.Action\x12\x34\n\x06update\x18\x05 \x01(\x0b\x32$.google.container.v1beta1.MasterAuth\x12\x0c\n\x04name\x18\x07 \x01(\t"P\n\x06\x41\x63tion\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x10\n\x0cSET_PASSWORD\x10\x01\x12\x15\n\x11GENERATE_PASSWORD\x10\x02\x12\x10\n\x0cSET_USERNAME\x10\x03"f\n\x14\x44\x65leteClusterRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x04 \x01(\t"O\n\x13ListClustersRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x0e\n\x06parent\x18\x04 \x01(\t"b\n\x14ListClustersResponse\x12\x33\n\x08\x63lusters\x18\x01 \x03(\x0b\x32!.google.container.v1beta1.Cluster\x12\x15\n\rmissing_zones\x18\x02 \x03(\t"g\n\x13GetOperationRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x05 \x01(\t"Q\n\x15ListOperationsRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x0e\n\x06parent\x18\x04 \x01(\t"j\n\x16\x43\x61ncelOperationRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x04 \x01(\t"h\n\x16ListOperationsResponse\x12\x37\n\noperations\x18\x01 \x03(\x0b\x32#.google.container.v1beta1.Operation\x12\x15\n\rmissing_zones\x18\x02 \x03(\t"P\n\x16GetServerConfigRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x04 \x01(\t"\xa2\x01\n\x0cServerConfig\x12\x1f\n\x17\x64\x65\x66\x61ult_cluster_version\x18\x01 \x01(\t\x12\x1b\n\x13valid_node_versions\x18\x03 \x03(\t\x12\x1a\n\x12\x64\x65\x66\x61ult_image_type\x18\x04 \x01(\t\x12\x19\n\x11valid_image_types\x18\x05 \x03(\t\x12\x1d\n\x15valid_master_versions\x18\x06 \x03(\t"\xa0\x01\n\x15\x43reateNodePoolRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x35\n\tnode_pool\x18\x04 \x01(\x0b\x32".google.container.v1beta1.NodePool\x12\x0e\n\x06parent\x18\x06 \x01(\t"\x81\x01\n\x15\x44\x65leteNodePoolRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x18\n\x0cnode_pool_id\x18\x04 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x06 \x01(\t"h\n\x14ListNodePoolsRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x0e\n\x06parent\x18\x05 \x01(\t"~\n\x12GetNodePoolRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x18\n\x0cnode_pool_id\x18\x04 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x06 \x01(\t"\x8d\x05\n\x08NodePool\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x06\x63onfig\x18\x02 \x01(\x0b\x32$.google.container.v1beta1.NodeConfig\x12\x1a\n\x12initial_node_count\x18\x03 \x01(\x05\x12\x11\n\tself_link\x18\x64 \x01(\t\x12\x0f\n\x07version\x18\x65 \x01(\t\x12\x1b\n\x13instance_group_urls\x18\x66 \x03(\t\x12\x39\n\x06status\x18g \x01(\x0e\x32).google.container.v1beta1.NodePool.Status\x12\x16\n\x0estatus_message\x18h \x01(\t\x12\x42\n\x0b\x61utoscaling\x18\x04 \x01(\x0b\x32-.google.container.v1beta1.NodePoolAutoscaling\x12<\n\nmanagement\x18\x05 \x01(\x0b\x32(.google.container.v1beta1.NodeManagement\x12H\n\x13max_pods_constraint\x18\x06 \x01(\x0b\x32+.google.container.v1beta1.MaxPodsConstraint\x12=\n\nconditions\x18i \x03(\x0b\x32).google.container.v1beta1.StatusCondition"\x81\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x16\n\x12RUNNING_WITH_ERROR\x10\x03\x12\x0f\n\x0bRECONCILING\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\t\n\x05\x45RROR\x10\x06"\x82\x01\n\x0eNodeManagement\x12\x14\n\x0c\x61uto_upgrade\x18\x01 \x01(\x08\x12\x13\n\x0b\x61uto_repair\x18\x02 \x01(\x08\x12\x45\n\x0fupgrade_options\x18\n \x01(\x0b\x32,.google.container.v1beta1.AutoUpgradeOptions"J\n\x12\x41utoUpgradeOptions\x12\x1f\n\x17\x61uto_upgrade_start_time\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t"P\n\x11MaintenancePolicy\x12;\n\x06window\x18\x01 \x01(\x0b\x32+.google.container.v1beta1.MaintenanceWindow"s\n\x11MaintenanceWindow\x12T\n\x18\x64\x61ily_maintenance_window\x18\x02 \x01(\x0b\x32\x30.google.container.v1beta1.DailyMaintenanceWindowH\x00\x42\x08\n\x06policy">\n\x16\x44\x61ilyMaintenanceWindow\x12\x12\n\nstart_time\x18\x02 \x01(\t\x12\x10\n\x08\x64uration\x18\x03 \x01(\t"\xc6\x01\n\x1cSetNodePoolManagementRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x18\n\x0cnode_pool_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\nmanagement\x18\x05 \x01(\x0b\x32(.google.container.v1beta1.NodeManagement\x12\x0c\n\x04name\x18\x07 \x01(\t"\x96\x01\n\x16SetNodePoolSizeRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x18\n\x0cnode_pool_id\x18\x04 \x01(\tB\x02\x18\x01\x12\x12\n\nnode_count\x18\x05 \x01(\x05\x12\x0c\n\x04name\x18\x07 \x01(\t"\x8a\x01\n\x1eRollbackNodePoolUpgradeRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x18\n\x0cnode_pool_id\x18\x04 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x06 \x01(\t"O\n\x15ListNodePoolsResponse\x12\x36\n\nnode_pools\x18\x01 \x03(\x0b\x32".google.container.v1beta1.NodePool"|\n\x12\x43lusterAutoscaling\x12$\n\x1c\x65nable_node_autoprovisioning\x18\x01 \x01(\x08\x12@\n\x0fresource_limits\x18\x02 \x03(\x0b\x32\'.google.container.v1beta1.ResourceLimit"H\n\rResourceLimit\x12\x15\n\rresource_type\x18\x01 \x01(\t\x12\x0f\n\x07minimum\x18\x02 \x01(\x03\x12\x0f\n\x07maximum\x18\x03 \x01(\x03"o\n\x13NodePoolAutoscaling\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x16\n\x0emin_node_count\x18\x02 \x01(\x05\x12\x16\n\x0emax_node_count\x18\x03 \x01(\x05\x12\x17\n\x0f\x61utoprovisioned\x18\x04 \x01(\x08"\x8d\x02\n\x10SetLabelsRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12W\n\x0fresource_labels\x18\x04 \x03(\x0b\x32>.google.container.v1beta1.SetLabelsRequest.ResourceLabelsEntry\x12\x19\n\x11label_fingerprint\x18\x05 \x01(\t\x12\x0c\n\x04name\x18\x07 \x01(\t\x1a\x35\n\x13ResourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"w\n\x14SetLegacyAbacRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x0f\n\x07\x65nabled\x18\x04 \x01(\x08\x12\x0c\n\x04name\x18\x06 \x01(\t"\x84\x01\n\x16StartIPRotationRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x1a\n\x12rotate_credentials\x18\x07 \x01(\x08"k\n\x19\x43ompleteIPRotationRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x0c\n\x04name\x18\x07 \x01(\t"H\n\x11\x41\x63\x63\x65leratorConfig\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x01 \x01(\x03\x12\x18\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\t"\xa7\x01\n\x16WorkloadMetadataConfig\x12T\n\rnode_metadata\x18\x01 \x01(\x0e\x32=.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata"7\n\x0cNodeMetadata\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06SECURE\x10\x01\x12\n\n\x06\x45XPOSE\x10\x02"\xaa\x01\n\x17SetNetworkPolicyRequest\x12\x16\n\nproject_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\ncluster_id\x18\x03 \x01(\tB\x02\x18\x01\x12?\n\x0enetwork_policy\x18\x04 \x01(\x0b\x32\'.google.container.v1beta1.NetworkPolicy\x12\x0c\n\x04name\x18\x06 \x01(\t"\xaa\x01\n\x1bSetMaintenancePolicyRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0c\n\x04zone\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12G\n\x12maintenance_policy\x18\x04 \x01(\x0b\x32+.google.container.v1beta1.MaintenancePolicy\x12\x0c\n\x04name\x18\x05 \x01(\t"&\n\x14ListLocationsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t"g\n\x15ListLocationsResponse\x12\x35\n\tlocations\x18\x01 \x03(\x0b\x32".google.container.v1beta1.Location\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xb1\x01\n\x08Location\x12=\n\x04type\x18\x01 \x01(\x0e\x32/.google.container.v1beta1.Location.LocationType\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0brecommended\x18\x03 \x01(\x08"C\n\x0cLocationType\x12\x1d\n\x19LOCATION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04ZONE\x10\x01\x12\n\n\x06REGION\x10\x02"\xd5\x01\n\x0fStatusCondition\x12<\n\x04\x63ode\x18\x01 \x01(\x0e\x32..google.container.v1beta1.StatusCondition.Code\x12\x0f\n\x07message\x18\x02 \x01(\t"s\n\x04\x43ode\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x10\n\x0cGCE_STOCKOUT\x10\x01\x12\x1f\n\x1bGKE_SERVICE_ACCOUNT_DELETED\x10\x02\x12\x16\n\x12GCE_QUOTA_EXCEEDED\x10\x03\x12\x13\n\x0fSET_BY_OPERATOR\x10\x04"4\n\rNetworkConfig\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x12\n\nsubnetwork\x18\x02 \x01(\t"e\n\x1cListUsableSubnetworksRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"y\n\x1dListUsableSubnetworksResponse\x12?\n\x0bsubnetworks\x18\x01 \x03(\x0b\x32*.google.container.v1beta1.UsableSubnetwork\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x85\x02\n\x1eUsableSubnetworkSecondaryRange\x12\x12\n\nrange_name\x18\x01 \x01(\t\x12\x15\n\rip_cidr_range\x18\x02 \x01(\t\x12O\n\x06status\x18\x03 \x01(\x0e\x32?.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status"g\n\x06Status\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06UNUSED\x10\x01\x12\x12\n\x0eIN_USE_SERVICE\x10\x02\x12\x18\n\x14IN_USE_SHAREABLE_POD\x10\x03\x12\x16\n\x12IN_USE_MANAGED_POD\x10\x04"\xbd\x01\n\x10UsableSubnetwork\x12\x12\n\nsubnetwork\x18\x01 \x01(\t\x12\x0f\n\x07network\x18\x02 \x01(\t\x12\x15\n\rip_cidr_range\x18\x03 \x01(\t\x12U\n\x13secondary_ip_ranges\x18\x04 \x03(\x0b\x32\x38.google.container.v1beta1.UsableSubnetworkSecondaryRange\x12\x16\n\x0estatus_message\x18\x05 \x01(\t")\n\x16VerticalPodAutoscaling\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08".\n\x11MaxPodsConstraint\x12\x19\n\x11max_pods_per_node\x18\x01 \x01(\x03"\xd5\x01\n\x19ResourceUsageExportConfig\x12\x65\n\x14\x62igquery_destination\x18\x01 \x01(\x0b\x32G.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination\x12&\n\x1e\x65nable_network_egress_metering\x18\x02 \x01(\x08\x1a)\n\x13\x42igQueryDestination\x12\x12\n\ndataset_id\x18\x01 \x01(\t2\x91\x41\n\x0e\x43lusterManager\x12\xe0\x01\n\x0cListClusters\x12-.google.container.v1beta1.ListClustersRequest\x1a..google.container.v1beta1.ListClustersResponse"q\x82\xd3\xe4\x93\x02k\x12\x31/v1beta1/{parent=projects/*/locations/*}/clustersZ6\x12\x34/v1beta1/projects/{project_id}/zones/{zone}/clusters\x12\xdc\x01\n\nGetCluster\x12+.google.container.v1beta1.GetClusterRequest\x1a!.google.container.v1beta1.Cluster"~\x82\xd3\xe4\x93\x02x\x12\x31/v1beta1/{name=projects/*/locations/*/clusters/*}ZC\x12\x41/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}\x12\xdd\x01\n\rCreateCluster\x12..google.container.v1beta1.CreateClusterRequest\x1a#.google.container.v1beta1.Operation"w\x82\xd3\xe4\x93\x02q"1/v1beta1/{parent=projects/*/locations/*}/clusters:\x01*Z9"4/v1beta1/projects/{project_id}/zones/{zone}/clusters:\x01*\x12\xeb\x01\n\rUpdateCluster\x12..google.container.v1beta1.UpdateClusterRequest\x1a#.google.container.v1beta1.Operation"\x84\x01\x82\xd3\xe4\x93\x02~\x1a\x31/v1beta1/{name=projects/*/locations/*/clusters/*}:\x01*ZF\x1a\x41/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:\x01*\x12\x9a\x02\n\x0eUpdateNodePool\x12/.google.container.v1beta1.UpdateNodePoolRequest\x1a#.google.container.v1beta1.Operation"\xb1\x01\x82\xd3\xe4\x93\x02\xaa\x01\x1a=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:\x01*Zf"a/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/update:\x01*\x12\xbe\x02\n\x16SetNodePoolAutoscaling\x12\x37.google.container.v1beta1.SetNodePoolAutoscalingRequest\x1a#.google.container.v1beta1.Operation"\xc5\x01\x82\xd3\xe4\x93\x02\xbe\x01"L/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setAutoscaling:\x01*Zk"f/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/autoscaling:\x01*\x12\x87\x02\n\x11SetLoggingService\x12\x32.google.container.v1beta1.SetLoggingServiceRequest\x1a#.google.container.v1beta1.Operation"\x98\x01\x82\xd3\xe4\x93\x02\x91\x01"/v1beta1/{name=projects/*/locations/*/clusters/*}:setLocations:\x01*ZP"K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/locations:\x01*\x12\xfe\x01\n\x0cUpdateMaster\x12-.google.container.v1beta1.UpdateMasterRequest\x1a#.google.container.v1beta1.Operation"\x99\x01\x82\xd3\xe4\x93\x02\x92\x01">/v1beta1/{name=projects/*/locations/*/clusters/*}:updateMaster:\x01*ZM"H/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/master:\x01*\x12\x88\x02\n\rSetMasterAuth\x12..google.container.v1beta1.SetMasterAuthRequest\x1a#.google.container.v1beta1.Operation"\xa1\x01\x82\xd3\xe4\x93\x02\x9a\x01"?/v1beta1/{name=projects/*/locations/*/clusters/*}:setMasterAuth:\x01*ZT"O/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMasterAuth:\x01*\x12\xe4\x01\n\rDeleteCluster\x12..google.container.v1beta1.DeleteClusterRequest\x1a#.google.container.v1beta1.Operation"~\x82\xd3\xe4\x93\x02x*1/v1beta1/{name=projects/*/locations/*/clusters/*}ZC*A/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}\x12\xea\x01\n\x0eListOperations\x12/.google.container.v1beta1.ListOperationsRequest\x1a\x30.google.container.v1beta1.ListOperationsResponse"u\x82\xd3\xe4\x93\x02o\x12\x33/v1beta1/{parent=projects/*/locations/*}/operationsZ8\x12\x36/v1beta1/projects/{project_id}/zones/{zone}/operations\x12\xe9\x01\n\x0cGetOperation\x12-.google.container.v1beta1.GetOperationRequest\x1a#.google.container.v1beta1.Operation"\x84\x01\x82\xd3\xe4\x93\x02~\x12\x33/v1beta1/{name=projects/*/locations/*/operations/*}ZG\x12\x45/v1beta1/projects/{project_id}/zones/{zone}/operations/{operation_id}\x12\xf7\x01\n\x0f\x43\x61ncelOperation\x12\x30.google.container.v1beta1.CancelOperationRequest\x1a\x16.google.protobuf.Empty"\x99\x01\x82\xd3\xe4\x93\x02\x92\x01":/v1beta1/{name=projects/*/locations/*/operations/*}:cancel:\x01*ZQ"L/v1beta1/projects/{project_id}/zones/{zone}/operations/{operation_id}:cancel:\x01*\x12\xe4\x01\n\x0fGetServerConfig\x12\x30.google.container.v1beta1.GetServerConfigRequest\x1a&.google.container.v1beta1.ServerConfig"w\x82\xd3\xe4\x93\x02q\x12\x33/v1beta1/{name=projects/*/locations/*}/serverConfigZ:\x12\x38/v1beta1/projects/{project_id}/zones/{zone}/serverconfig\x12\x88\x02\n\rListNodePools\x12..google.container.v1beta1.ListNodePoolsRequest\x1a/.google.container.v1beta1.ListNodePoolsResponse"\x95\x01\x82\xd3\xe4\x93\x02\x8e\x01\x12=/v1beta1/{parent=projects/*/locations/*/clusters/*}/nodePoolsZM\x12K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools\x12\x86\x02\n\x0bGetNodePool\x12,.google.container.v1beta1.GetNodePoolRequest\x1a".google.container.v1beta1.NodePool"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}Z\\\x12Z/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}\x12\x84\x02\n\x0e\x43reateNodePool\x12/.google.container.v1beta1.CreateNodePoolRequest\x1a#.google.container.v1beta1.Operation"\x9b\x01\x82\xd3\xe4\x93\x02\x94\x01"=/v1beta1/{parent=projects/*/locations/*/clusters/*}/nodePools:\x01*ZP"K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools:\x01*\x12\x8d\x02\n\x0e\x44\x65leteNodePool\x12/.google.container.v1beta1.DeleteNodePoolRequest\x1a#.google.container.v1beta1.Operation"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01*=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}Z\\*Z/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}\x12\xb7\x02\n\x17RollbackNodePoolUpgrade\x12\x38.google.container.v1beta1.RollbackNodePoolUpgradeRequest\x1a#.google.container.v1beta1.Operation"\xbc\x01\x82\xd3\xe4\x93\x02\xb5\x01"F/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:rollback:\x01*Zh"c/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}:rollback:\x01*\x12\xbd\x02\n\x15SetNodePoolManagement\x12\x36.google.container.v1beta1.SetNodePoolManagementRequest\x1a#.google.container.v1beta1.Operation"\xc6\x01\x82\xd3\xe4\x93\x02\xbf\x01"K/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setManagement:\x01*Zm"h/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setManagement:\x01*\x12\x85\x02\n\tSetLabels\x12*.google.container.v1beta1.SetLabelsRequest\x1a#.google.container.v1beta1.Operation"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01"C/v1beta1/{name=projects/*/locations/*/clusters/*}:setResourceLabels:\x01*ZU"P/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels:\x01*\x12\x85\x02\n\rSetLegacyAbac\x12..google.container.v1beta1.SetLegacyAbacRequest\x1a#.google.container.v1beta1.Operation"\x9e\x01\x82\xd3\xe4\x93\x02\x97\x01"?/v1beta1/{name=projects/*/locations/*/clusters/*}:setLegacyAbac:\x01*ZQ"L/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/legacyAbac:\x01*\x12\x90\x02\n\x0fStartIPRotation\x12\x30.google.container.v1beta1.StartIPRotationRequest\x1a#.google.container.v1beta1.Operation"\xa5\x01\x82\xd3\xe4\x93\x02\x9e\x01"A/v1beta1/{name=projects/*/locations/*/clusters/*}:startIpRotation:\x01*ZV"Q/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:startIpRotation:\x01*\x12\x9c\x02\n\x12\x43ompleteIPRotation\x12\x33.google.container.v1beta1.CompleteIPRotationRequest\x1a#.google.container.v1beta1.Operation"\xab\x01\x82\xd3\xe4\x93\x02\xa4\x01"D/v1beta1/{name=projects/*/locations/*/clusters/*}:completeIpRotation:\x01*ZY"T/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:completeIpRotation:\x01*\x12\xa5\x02\n\x0fSetNodePoolSize\x12\x30.google.container.v1beta1.SetNodePoolSizeRequest\x1a#.google.container.v1beta1.Operation"\xba\x01\x82\xd3\xe4\x93\x02\xb3\x01"E/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setSize:\x01*Zg"b/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setSize:\x01*\x12\x94\x02\n\x10SetNetworkPolicy\x12\x31.google.container.v1beta1.SetNetworkPolicyRequest\x1a#.google.container.v1beta1.Operation"\xa7\x01\x82\xd3\xe4\x93\x02\xa0\x01"B/v1beta1/{name=projects/*/locations/*/clusters/*}:setNetworkPolicy:\x01*ZW"R/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setNetworkPolicy:\x01*\x12\xa4\x02\n\x14SetMaintenancePolicy\x12\x35.google.container.v1beta1.SetMaintenancePolicyRequest\x1a#.google.container.v1beta1.Operation"\xaf\x01\x82\xd3\xe4\x93\x02\xa8\x01"F/v1beta1/{name=projects/*/locations/*/clusters/*}:setMaintenancePolicy:\x01*Z["V/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMaintenancePolicy:\x01*\x12\xcb\x01\n\x15ListUsableSubnetworks\x12\x36.google.container.v1beta1.ListUsableSubnetworksRequest\x1a\x37.google.container.v1beta1.ListUsableSubnetworksResponse"A\x82\xd3\xe4\x93\x02;\x12\x39/v1beta1/{parent=projects/*}/aggregated/usableSubnetworks\x12\xa0\x01\n\rListLocations\x12..google.container.v1beta1.ListLocationsRequest\x1a/.google.container.v1beta1.ListLocationsResponse".\x82\xd3\xe4\x93\x02(\x12&/v1beta1/{parent=projects/*}/locationsB\xba\x01\n\x1c\x63om.google.container.v1beta1B\x13\x43lusterServiceProtoP\x01ZAgoogle.golang.org/genproto/googleapis/container/v1beta1;container\xaa\x02\x1eGoogle.Cloud.Container.V1Beta1\xca\x02\x1eGoogle\\Cloud\\Container\\V1beta1b\x06proto3' + '\n:google/cloud/container_v1beta1/proto/cluster_service.proto\x12\x18google.container.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xec\x05\n\nNodeConfig\x12\x14\n\x0cmachine_type\x18\x01 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x02 \x01(\x05\x12\x14\n\x0coauth_scopes\x18\x03 \x03(\t\x12\x17\n\x0fservice_account\x18\t \x01(\t\x12\x44\n\x08metadata\x18\x04 \x03(\x0b\x32\x32.google.container.v1beta1.NodeConfig.MetadataEntry\x12\x12\n\nimage_type\x18\x05 \x01(\t\x12@\n\x06labels\x18\x06 \x03(\x0b\x32\x30.google.container.v1beta1.NodeConfig.LabelsEntry\x12\x17\n\x0flocal_ssd_count\x18\x07 \x01(\x05\x12\x0c\n\x04tags\x18\x08 \x03(\t\x12\x13\n\x0bpreemptible\x18\n \x01(\x08\x12\x41\n\x0c\x61\x63\x63\x65lerators\x18\x0b \x03(\x0b\x32+.google.container.v1beta1.AcceleratorConfig\x12\x11\n\tdisk_type\x18\x0c \x01(\t\x12\x18\n\x10min_cpu_platform\x18\r \x01(\t\x12R\n\x18workload_metadata_config\x18\x0e \x01(\x0b\x32\x30.google.container.v1beta1.WorkloadMetadataConfig\x12\x33\n\x06taints\x18\x0f \x03(\x0b\x32#.google.container.v1beta1.NodeTaint\x12R\n\x18shielded_instance_config\x18\x14 \x01(\x0b\x32\x30.google.container.v1beta1.ShieldedInstanceConfig\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"Y\n\x16ShieldedInstanceConfig\x12\x1a\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x12#\n\x1b\x65nable_integrity_monitoring\x18\x02 \x01(\x08"\xbe\x01\n\tNodeTaint\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12:\n\x06\x65\x66\x66\x65\x63t\x18\x03 \x01(\x0e\x32*.google.container.v1beta1.NodeTaint.Effect"Y\n\x06\x45\x66\x66\x65\x63t\x12\x16\n\x12\x45\x46\x46\x45\x43T_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNO_SCHEDULE\x10\x01\x12\x16\n\x12PREFER_NO_SCHEDULE\x10\x02\x12\x0e\n\nNO_EXECUTE\x10\x03"\xd6\x01\n\nMasterAuth\x12\x10\n\x08username\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12T\n\x19\x63lient_certificate_config\x18\x03 \x01(\x0b\x32\x31.google.container.v1beta1.ClientCertificateConfig\x12\x1e\n\x16\x63luster_ca_certificate\x18\x64 \x01(\t\x12\x1a\n\x12\x63lient_certificate\x18\x65 \x01(\t\x12\x12\n\nclient_key\x18\x66 \x01(\t";\n\x17\x43lientCertificateConfig\x12 \n\x18issue_client_certificate\x18\x01 \x01(\x08"\xd0\x03\n\x0c\x41\x64\x64onsConfig\x12H\n\x13http_load_balancing\x18\x01 \x01(\x0b\x32+.google.container.v1beta1.HttpLoadBalancing\x12V\n\x1ahorizontal_pod_autoscaling\x18\x02 \x01(\x0b\x32\x32.google.container.v1beta1.HorizontalPodAutoscaling\x12O\n\x14kubernetes_dashboard\x18\x03 \x01(\x0b\x32-.google.container.v1beta1.KubernetesDashboardB\x02\x18\x01\x12L\n\x15network_policy_config\x18\x04 \x01(\x0b\x32-.google.container.v1beta1.NetworkPolicyConfig\x12;\n\x0cistio_config\x18\x05 \x01(\x0b\x32%.google.container.v1beta1.IstioConfig\x12\x42\n\x10\x63loud_run_config\x18\x07 \x01(\x0b\x32(.google.container.v1beta1.CloudRunConfig"%\n\x11HttpLoadBalancing\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08",\n\x18HorizontalPodAutoscaling\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08"\'\n\x13KubernetesDashboard\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08"\'\n\x13NetworkPolicyConfig\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08"\xa8\x01\n\x14PrivateClusterConfig\x12\x1c\n\x14\x65nable_private_nodes\x18\x01 \x01(\x08\x12\x1f\n\x17\x65nable_private_endpoint\x18\x02 \x01(\x08\x12\x1e\n\x16master_ipv4_cidr_block\x18\x03 \x01(\t\x12\x18\n\x10private_endpoint\x18\x04 \x01(\t\x12\x17\n\x0fpublic_endpoint\x18\x05 \x01(\t"\x97\x01\n\x0bIstioConfig\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12\x41\n\x04\x61uth\x18\x02 \x01(\x0e\x32\x33.google.container.v1beta1.IstioConfig.IstioAuthMode"3\n\rIstioAuthMode\x12\r\n\tAUTH_NONE\x10\x00\x12\x13\n\x0f\x41UTH_MUTUAL_TLS\x10\x01""\n\x0e\x43loudRunConfig\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08"\xc1\x01\n\x1eMasterAuthorizedNetworksConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12W\n\x0b\x63idr_blocks\x18\x02 \x03(\x0b\x32\x42.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock\x1a\x35\n\tCidrBlock\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x12\n\ncidr_block\x18\x02 \x01(\t"\x1d\n\nLegacyAbac\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08"\x96\x01\n\rNetworkPolicy\x12\x42\n\x08provider\x18\x01 \x01(\x0e\x32\x30.google.container.v1beta1.NetworkPolicy.Provider\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08"0\n\x08Provider\x12\x18\n\x14PROVIDER_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x41LICO\x10\x01"\xa3\x03\n\x12IPAllocationPolicy\x12\x16\n\x0euse_ip_aliases\x18\x01 \x01(\x08\x12\x19\n\x11\x63reate_subnetwork\x18\x02 \x01(\x08\x12\x17\n\x0fsubnetwork_name\x18\x03 \x01(\t\x12\x1d\n\x11\x63luster_ipv4_cidr\x18\x04 \x01(\tB\x02\x18\x01\x12\x1a\n\x0enode_ipv4_cidr\x18\x05 \x01(\tB\x02\x18\x01\x12\x1e\n\x12services_ipv4_cidr\x18\x06 \x01(\tB\x02\x18\x01\x12$\n\x1c\x63luster_secondary_range_name\x18\x07 \x01(\t\x12%\n\x1dservices_secondary_range_name\x18\x08 \x01(\t\x12\x1f\n\x17\x63luster_ipv4_cidr_block\x18\t \x01(\t\x12\x1c\n\x14node_ipv4_cidr_block\x18\n \x01(\t\x12 \n\x18services_ipv4_cidr_block\x18\x0b \x01(\t\x12\x1b\n\x13\x61llow_route_overlap\x18\x0c \x01(\x08\x12\x1b\n\x13tpu_ipv4_cidr_block\x18\r \x01(\t"&\n\x13\x42inaryAuthorization\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08"*\n\x17PodSecurityPolicyConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08"D\n\x19\x41uthenticatorGroupsConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x16\n\x0esecurity_group\x18\x02 \x01(\t"\xec\x13\n\x07\x43luster\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1e\n\x12initial_node_count\x18\x03 \x01(\x05\x42\x02\x18\x01\x12=\n\x0bnode_config\x18\x04 \x01(\x0b\x32$.google.container.v1beta1.NodeConfigB\x02\x18\x01\x12\x39\n\x0bmaster_auth\x18\x05 \x01(\x0b\x32$.google.container.v1beta1.MasterAuth\x12\x17\n\x0flogging_service\x18\x06 \x01(\t\x12\x1a\n\x12monitoring_service\x18\x07 \x01(\t\x12\x0f\n\x07network\x18\x08 \x01(\t\x12\x19\n\x11\x63luster_ipv4_cidr\x18\t \x01(\t\x12=\n\raddons_config\x18\n \x01(\x0b\x32&.google.container.v1beta1.AddonsConfig\x12\x12\n\nsubnetwork\x18\x0b \x01(\t\x12\x36\n\nnode_pools\x18\x0c \x03(\x0b\x32".google.container.v1beta1.NodePool\x12\x11\n\tlocations\x18\r \x03(\t\x12\x1f\n\x17\x65nable_kubernetes_alpha\x18\x0e \x01(\x08\x12N\n\x0fresource_labels\x18\x0f \x03(\x0b\x32\x35.google.container.v1beta1.Cluster.ResourceLabelsEntry\x12\x19\n\x11label_fingerprint\x18\x10 \x01(\t\x12\x39\n\x0blegacy_abac\x18\x12 \x01(\x0b\x32$.google.container.v1beta1.LegacyAbac\x12?\n\x0enetwork_policy\x18\x13 \x01(\x0b\x32\'.google.container.v1beta1.NetworkPolicy\x12J\n\x14ip_allocation_policy\x18\x14 \x01(\x0b\x32,.google.container.v1beta1.IPAllocationPolicy\x12\x63\n!master_authorized_networks_config\x18\x16 \x01(\x0b\x32\x38.google.container.v1beta1.MasterAuthorizedNetworksConfig\x12G\n\x12maintenance_policy\x18\x17 \x01(\x0b\x32+.google.container.v1beta1.MaintenancePolicy\x12K\n\x14\x62inary_authorization\x18\x18 \x01(\x0b\x32-.google.container.v1beta1.BinaryAuthorization\x12U\n\x1apod_security_policy_config\x18\x19 \x01(\x0b\x32\x31.google.container.v1beta1.PodSecurityPolicyConfig\x12\x41\n\x0b\x61utoscaling\x18\x1a \x01(\x0b\x32,.google.container.v1beta1.ClusterAutoscaling\x12?\n\x0enetwork_config\x18\x1b \x01(\x0b\x32\'.google.container.v1beta1.NetworkConfig\x12\x1b\n\x0fprivate_cluster\x18\x1c \x01(\x08\x42\x02\x18\x01\x12"\n\x16master_ipv4_cidr_block\x18\x1d \x01(\tB\x02\x18\x01\x12P\n\x1b\x64\x65\x66\x61ult_max_pods_constraint\x18\x1e \x01(\x0b\x32+.google.container.v1beta1.MaxPodsConstraint\x12Y\n\x1cresource_usage_export_config\x18! \x01(\x0b\x32\x33.google.container.v1beta1.ResourceUsageExportConfig\x12X\n\x1b\x61uthenticator_groups_config\x18" \x01(\x0b\x32\x33.google.container.v1beta1.AuthenticatorGroupsConfig\x12N\n\x16private_cluster_config\x18% \x01(\x0b\x32..google.container.v1beta1.PrivateClusterConfig\x12R\n\x18vertical_pod_autoscaling\x18\' \x01(\x0b\x32\x30.google.container.v1beta1.VerticalPodAutoscaling\x12\x11\n\tself_link\x18\x64 \x01(\t\x12\x10\n\x04zone\x18\x65 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x65ndpoint\x18\x66 \x01(\t\x12\x1f\n\x17initial_cluster_version\x18g \x01(\t\x12\x1e\n\x16\x63urrent_master_version\x18h \x01(\t\x12 \n\x14\x63urrent_node_version\x18i \x01(\tB\x02\x18\x01\x12\x13\n\x0b\x63reate_time\x18j \x01(\t\x12\x38\n\x06status\x18k \x01(\x0e\x32(.google.container.v1beta1.Cluster.Status\x12\x1a\n\x0estatus_message\x18l \x01(\tB\x02\x18\x01\x12\x1b\n\x13node_ipv4_cidr_size\x18m \x01(\x05\x12\x1a\n\x12services_ipv4_cidr\x18n \x01(\t\x12\x1f\n\x13instance_group_urls\x18o \x03(\tB\x02\x18\x01\x12\x1e\n\x12\x63urrent_node_count\x18p \x01(\x05\x42\x02\x18\x01\x12\x13\n\x0b\x65xpire_time\x18q \x01(\t\x12\x10\n\x08location\x18r \x01(\t\x12\x12\n\nenable_tpu\x18s \x01(\x08\x12\x1b\n\x13tpu_ipv4_cidr_block\x18t \x01(\t\x12I\n\x13\x64\x61tabase_encryption\x18& \x01(\x0b\x32,.google.container.v1beta1.DatabaseEncryption\x12=\n\nconditions\x18v \x03(\x0b\x32).google.container.v1beta1.StatusCondition\x1a\x35\n\x13ResourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"w\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06"\x9a\x08\n\rClusterUpdate\x12\x1c\n\x14\x64\x65sired_node_version\x18\x04 \x01(\t\x12"\n\x1a\x64\x65sired_monitoring_service\x18\x05 \x01(\t\x12\x45\n\x15\x64\x65sired_addons_config\x18\x06 \x01(\x0b\x32&.google.container.v1beta1.AddonsConfig\x12\x1c\n\x14\x64\x65sired_node_pool_id\x18\x07 \x01(\t\x12\x1a\n\x12\x64\x65sired_image_type\x18\x08 \x01(\t\x12T\n\x1d\x64\x65sired_node_pool_autoscaling\x18\t \x01(\x0b\x32-.google.container.v1beta1.NodePoolAutoscaling\x12\x19\n\x11\x64\x65sired_locations\x18\n \x03(\t\x12k\n)desired_master_authorized_networks_config\x18\x0c \x01(\x0b\x32\x38.google.container.v1beta1.MasterAuthorizedNetworksConfig\x12]\n"desired_pod_security_policy_config\x18\x0e \x01(\x0b\x32\x31.google.container.v1beta1.PodSecurityPolicyConfig\x12Q\n\x1b\x64\x65sired_cluster_autoscaling\x18\x0f \x01(\x0b\x32,.google.container.v1beta1.ClusterAutoscaling\x12S\n\x1c\x64\x65sired_binary_authorization\x18\x10 \x01(\x0b\x32-.google.container.v1beta1.BinaryAuthorization\x12\x1f\n\x17\x64\x65sired_logging_service\x18\x13 \x01(\t\x12\x61\n$desired_resource_usage_export_config\x18\x15 \x01(\x0b\x32\x33.google.container.v1beta1.ResourceUsageExportConfig\x12Z\n desired_vertical_pod_autoscaling\x18\x16 \x01(\x0b\x32\x30.google.container.v1beta1.VerticalPodAutoscaling\x12\x61\n$desired_intra_node_visibility_config\x18\x1a \x01(\x0b\x32\x33.google.container.v1beta1.IntraNodeVisibilityConfig\x12\x1e\n\x16\x64\x65sired_master_version\x18\x64 \x01(\t"\xd7\x07\n\tOperation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x04zone\x18\x02 \x01(\tB\x02\x18\x01\x12@\n\x0eoperation_type\x18\x03 \x01(\x0e\x32(.google.container.v1beta1.Operation.Type\x12:\n\x06status\x18\x04 \x01(\x0e\x32*.google.container.v1beta1.Operation.Status\x12\x0e\n\x06\x64\x65tail\x18\x08 \x01(\t\x12\x1a\n\x0estatus_message\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tself_link\x18\x06 \x01(\t\x12\x13\n\x0btarget_link\x18\x07 \x01(\t\x12\x10\n\x08location\x18\t \x01(\t\x12\x12\n\nstart_time\x18\n \x01(\t\x12\x10\n\x08\x65nd_time\x18\x0b \x01(\t\x12=\n\x08progress\x18\x0c \x01(\x0b\x32+.google.container.v1beta1.OperationProgress\x12\x45\n\x12\x63luster_conditions\x18\r \x03(\x0b\x32).google.container.v1beta1.StatusCondition\x12\x46\n\x13nodepool_conditions\x18\x0e \x03(\x0b\x32).google.container.v1beta1.StatusCondition"R\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\x12\x0c\n\x08\x41\x42ORTING\x10\x04"\xfd\x02\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x43REATE_CLUSTER\x10\x01\x12\x12\n\x0e\x44\x45LETE_CLUSTER\x10\x02\x12\x12\n\x0eUPGRADE_MASTER\x10\x03\x12\x11\n\rUPGRADE_NODES\x10\x04\x12\x12\n\x0eREPAIR_CLUSTER\x10\x05\x12\x12\n\x0eUPDATE_CLUSTER\x10\x06\x12\x14\n\x10\x43REATE_NODE_POOL\x10\x07\x12\x14\n\x10\x44\x45LETE_NODE_POOL\x10\x08\x12\x1c\n\x18SET_NODE_POOL_MANAGEMENT\x10\t\x12\x15\n\x11\x41UTO_REPAIR_NODES\x10\n\x12\x16\n\x12\x41UTO_UPGRADE_NODES\x10\x0b\x12\x0e\n\nSET_LABELS\x10\x0c\x12\x13\n\x0fSET_MASTER_AUTH\x10\r\x12\x16\n\x12SET_NODE_POOL_SIZE\x10\x0e\x12\x16\n\x12SET_NETWORK_POLICY\x10\x0f\x12\x1a\n\x16SET_MAINTENANCE_POLICY\x10\x10"\xc5\x02\n\x11OperationProgress\x12\x0c\n\x04name\x18\x01 \x01(\t\x12:\n\x06status\x18\x02 \x01(\x0e\x32*.google.container.v1beta1.Operation.Status\x12\x43\n\x07metrics\x18\x03 \x03(\x0b\x32\x32.google.container.v1beta1.OperationProgress.Metric\x12;\n\x06stages\x18\x04 \x03(\x0b\x32+.google.container.v1beta1.OperationProgress\x1a\x64\n\x06Metric\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\tint_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x42\x07\n\x05value"\x8f\x01\n\x14\x43reateClusterRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x37\n\x07\x63luster\x18\x03 \x01(\x0b\x32!.google.container.v1beta1.ClusterB\x03\xe0\x41\x02\x12\x0e\n\x06parent\x18\x05 \x01(\t"l\n\x11GetClusterRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x05 \x01(\t"\xad\x01\n\x14UpdateClusterRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12<\n\x06update\x18\x04 \x01(\x0b\x32\'.google.container.v1beta1.ClusterUpdateB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x05 \x01(\t"\x95\x02\n\x15UpdateNodePoolRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0cnode_pool_id\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\x0cnode_version\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nimage_type\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12R\n\x18workload_metadata_config\x18\x0e \x01(\x0b\x32\x30.google.container.v1beta1.WorkloadMetadataConfig\x12\x0c\n\x04name\x18\x08 \x01(\t"\xde\x01\n\x1dSetNodePoolAutoscalingRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0cnode_pool_id\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12G\n\x0b\x61utoscaling\x18\x05 \x01(\x0b\x32-.google.container.v1beta1.NodePoolAutoscalingB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"\x91\x01\n\x18SetLoggingServiceRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1c\n\x0flogging_service\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x05 \x01(\t"\x97\x01\n\x1bSetMonitoringServiceRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1f\n\x12monitoring_service\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"\xb5\x01\n\x16SetAddonsConfigRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x42\n\raddons_config\x18\x04 \x01(\x0b\x32&.google.container.v1beta1.AddonsConfigB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"\x86\x01\n\x13SetLocationsRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x16\n\tlocations\x18\x04 \x03(\tB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"\x8b\x01\n\x13UpdateMasterRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0emaster_version\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t"\xc8\x02\n\x14SetMasterAuthRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12J\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32\x35.google.container.v1beta1.SetMasterAuthRequest.ActionB\x03\xe0\x41\x02\x12\x39\n\x06update\x18\x05 \x01(\x0b\x32$.google.container.v1beta1.MasterAuthB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t"P\n\x06\x41\x63tion\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x10\n\x0cSET_PASSWORD\x10\x01\x12\x15\n\x11GENERATE_PASSWORD\x10\x02\x12\x10\n\x0cSET_USERNAME\x10\x03"o\n\x14\x44\x65leteClusterRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x04 \x01(\t"U\n\x13ListClustersRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0e\n\x06parent\x18\x04 \x01(\t"b\n\x14ListClustersResponse\x12\x33\n\x08\x63lusters\x18\x01 \x03(\x0b\x32!.google.container.v1beta1.Cluster\x12\x15\n\rmissing_zones\x18\x02 \x03(\t"p\n\x13GetOperationRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0coperation_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x05 \x01(\t"W\n\x15ListOperationsRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0e\n\x06parent\x18\x04 \x01(\t"s\n\x16\x43\x61ncelOperationRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0coperation_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x04 \x01(\t"h\n\x16ListOperationsResponse\x12\x37\n\noperations\x18\x01 \x03(\x0b\x32#.google.container.v1beta1.Operation\x12\x15\n\rmissing_zones\x18\x02 \x03(\t"V\n\x16GetServerConfigRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x04 \x01(\t"\xa2\x01\n\x0cServerConfig\x12\x1f\n\x17\x64\x65\x66\x61ult_cluster_version\x18\x01 \x01(\t\x12\x1b\n\x13valid_node_versions\x18\x03 \x03(\t\x12\x1a\n\x12\x64\x65\x66\x61ult_image_type\x18\x04 \x01(\t\x12\x19\n\x11valid_image_types\x18\x05 \x03(\t\x12\x1d\n\x15valid_master_versions\x18\x06 \x03(\t"\xae\x01\n\x15\x43reateNodePoolRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12:\n\tnode_pool\x18\x04 \x01(\x0b\x32".google.container.v1beta1.NodePoolB\x03\xe0\x41\x02\x12\x0e\n\x06parent\x18\x06 \x01(\t"\x8d\x01\n\x15\x44\x65leteNodePoolRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0cnode_pool_id\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"q\n\x14ListNodePoolsRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0e\n\x06parent\x18\x05 \x01(\t"\x8a\x01\n\x12GetNodePoolRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0cnode_pool_id\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"\xad\x05\n\x08NodePool\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x06\x63onfig\x18\x02 \x01(\x0b\x32$.google.container.v1beta1.NodeConfig\x12\x1a\n\x12initial_node_count\x18\x03 \x01(\x05\x12\x11\n\tself_link\x18\x64 \x01(\t\x12\x0f\n\x07version\x18\x65 \x01(\t\x12\x1b\n\x13instance_group_urls\x18\x66 \x03(\t\x12\x39\n\x06status\x18g \x01(\x0e\x32).google.container.v1beta1.NodePool.Status\x12\x1a\n\x0estatus_message\x18h \x01(\tB\x02\x18\x01\x12\x42\n\x0b\x61utoscaling\x18\x04 \x01(\x0b\x32-.google.container.v1beta1.NodePoolAutoscaling\x12<\n\nmanagement\x18\x05 \x01(\x0b\x32(.google.container.v1beta1.NodeManagement\x12H\n\x13max_pods_constraint\x18\x06 \x01(\x0b\x32+.google.container.v1beta1.MaxPodsConstraint\x12=\n\nconditions\x18i \x03(\x0b\x32).google.container.v1beta1.StatusCondition\x12\x1a\n\x12pod_ipv4_cidr_size\x18\x07 \x01(\x05"\x81\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x16\n\x12RUNNING_WITH_ERROR\x10\x03\x12\x0f\n\x0bRECONCILING\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\t\n\x05\x45RROR\x10\x06"\x82\x01\n\x0eNodeManagement\x12\x14\n\x0c\x61uto_upgrade\x18\x01 \x01(\x08\x12\x13\n\x0b\x61uto_repair\x18\x02 \x01(\x08\x12\x45\n\x0fupgrade_options\x18\n \x01(\x0b\x32,.google.container.v1beta1.AutoUpgradeOptions"J\n\x12\x41utoUpgradeOptions\x12\x1f\n\x17\x61uto_upgrade_start_time\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t"j\n\x11MaintenancePolicy\x12;\n\x06window\x18\x01 \x01(\x0b\x32+.google.container.v1beta1.MaintenanceWindow\x12\x18\n\x10resource_version\x18\x03 \x01(\t"\x8a\x03\n\x11MaintenanceWindow\x12T\n\x18\x64\x61ily_maintenance_window\x18\x02 \x01(\x0b\x32\x30.google.container.v1beta1.DailyMaintenanceWindowH\x00\x12I\n\x10recurring_window\x18\x03 \x01(\x0b\x32-.google.container.v1beta1.RecurringTimeWindowH\x00\x12\x66\n\x16maintenance_exclusions\x18\x04 \x03(\x0b\x32\x46.google.container.v1beta1.MaintenanceWindow.MaintenanceExclusionsEntry\x1a\x62\n\x1aMaintenanceExclusionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.google.container.v1beta1.TimeWindow:\x02\x38\x01\x42\x08\n\x06policy"j\n\nTimeWindow\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"_\n\x13RecurringTimeWindow\x12\x34\n\x06window\x18\x01 \x01(\x0b\x32$.google.container.v1beta1.TimeWindow\x12\x12\n\nrecurrence\x18\x02 \x01(\t">\n\x16\x44\x61ilyMaintenanceWindow\x12\x12\n\nstart_time\x18\x02 \x01(\t\x12\x10\n\x08\x64uration\x18\x03 \x01(\t"\xd7\x01\n\x1cSetNodePoolManagementRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0cnode_pool_id\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x41\n\nmanagement\x18\x05 \x01(\x0b\x32(.google.container.v1beta1.NodeManagementB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t"\xa7\x01\n\x16SetNodePoolSizeRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0cnode_pool_id\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x17\n\nnode_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t"\x96\x01\n\x1eRollbackNodePoolUpgradeRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x1b\n\x0cnode_pool_id\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"O\n\x15ListNodePoolsResponse\x12\x36\n\nnode_pools\x18\x01 \x03(\x0b\x32".google.container.v1beta1.NodePool"\x89\x02\n\x12\x43lusterAutoscaling\x12$\n\x1c\x65nable_node_autoprovisioning\x18\x01 \x01(\x08\x12@\n\x0fresource_limits\x18\x02 \x03(\x0b\x32\'.google.container.v1beta1.ResourceLimit\x12g\n#autoprovisioning_node_pool_defaults\x18\x04 \x01(\x0b\x32:.google.container.v1beta1.AutoprovisioningNodePoolDefaults\x12"\n\x1a\x61utoprovisioning_locations\x18\x05 \x03(\t"Q\n AutoprovisioningNodePoolDefaults\x12\x14\n\x0coauth_scopes\x18\x01 \x03(\t\x12\x17\n\x0fservice_account\x18\x02 \x01(\t"H\n\rResourceLimit\x12\x15\n\rresource_type\x18\x01 \x01(\t\x12\x0f\n\x07minimum\x18\x02 \x01(\x03\x12\x0f\n\x07maximum\x18\x03 \x01(\x03"o\n\x13NodePoolAutoscaling\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x16\n\x0emin_node_count\x18\x02 \x01(\x05\x12\x16\n\x0emax_node_count\x18\x03 \x01(\x05\x12\x17\n\x0f\x61utoprovisioned\x18\x04 \x01(\x08"\xa0\x02\n\x10SetLabelsRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\\\n\x0fresource_labels\x18\x04 \x03(\x0b\x32>.google.container.v1beta1.SetLabelsRequest.ResourceLabelsEntryB\x03\xe0\x41\x02\x12\x1e\n\x11label_fingerprint\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t\x1a\x35\n\x13ResourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x85\x01\n\x14SetLegacyAbacRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x14\n\x07\x65nabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"\x8d\x01\n\x16StartIPRotationRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x1a\n\x12rotate_credentials\x18\x07 \x01(\x08"t\n\x19\x43ompleteIPRotationRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x0c\n\x04name\x18\x07 \x01(\t"H\n\x11\x41\x63\x63\x65leratorConfig\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x01 \x01(\x03\x12\x18\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\t"\xa7\x01\n\x16WorkloadMetadataConfig\x12T\n\rnode_metadata\x18\x01 \x01(\x0e\x32=.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata"7\n\x0cNodeMetadata\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06SECURE\x10\x01\x12\n\n\x06\x45XPOSE\x10\x02"\xb8\x01\n\x17SetNetworkPolicyRequest\x12\x19\n\nproject_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x04zone\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x19\n\ncluster_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x02\x12\x44\n\x0enetwork_policy\x18\x04 \x01(\x0b\x32\'.google.container.v1beta1.NetworkPolicyB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x06 \x01(\t"\xbe\x01\n\x1bSetMaintenancePolicyRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04zone\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ncluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12L\n\x12maintenance_policy\x18\x04 \x01(\x0b\x32+.google.container.v1beta1.MaintenancePolicyB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x05 \x01(\t"+\n\x14ListLocationsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02"g\n\x15ListLocationsResponse\x12\x35\n\tlocations\x18\x01 \x03(\x0b\x32".google.container.v1beta1.Location\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xb1\x01\n\x08Location\x12=\n\x04type\x18\x01 \x01(\x0e\x32/.google.container.v1beta1.Location.LocationType\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0brecommended\x18\x03 \x01(\x08"C\n\x0cLocationType\x12\x1d\n\x19LOCATION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04ZONE\x10\x01\x12\n\n\x06REGION\x10\x02"\xef\x01\n\x0fStatusCondition\x12<\n\x04\x63ode\x18\x01 \x01(\x0e\x32..google.container.v1beta1.StatusCondition.Code\x12\x0f\n\x07message\x18\x02 \x01(\t"\x8c\x01\n\x04\x43ode\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x10\n\x0cGCE_STOCKOUT\x10\x01\x12\x1f\n\x1bGKE_SERVICE_ACCOUNT_DELETED\x10\x02\x12\x16\n\x12GCE_QUOTA_EXCEEDED\x10\x03\x12\x13\n\x0fSET_BY_OPERATOR\x10\x04\x12\x17\n\x13\x43LOUD_KMS_KEY_ERROR\x10\x07"Z\n\rNetworkConfig\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x12\n\nsubnetwork\x18\x02 \x01(\t\x12$\n\x1c\x65nable_intra_node_visibility\x18\x05 \x01(\x08"j\n\x1cListUsableSubnetworksRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"y\n\x1dListUsableSubnetworksResponse\x12?\n\x0bsubnetworks\x18\x01 \x03(\x0b\x32*.google.container.v1beta1.UsableSubnetwork\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x85\x02\n\x1eUsableSubnetworkSecondaryRange\x12\x12\n\nrange_name\x18\x01 \x01(\t\x12\x15\n\rip_cidr_range\x18\x02 \x01(\t\x12O\n\x06status\x18\x03 \x01(\x0e\x32?.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status"g\n\x06Status\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06UNUSED\x10\x01\x12\x12\n\x0eIN_USE_SERVICE\x10\x02\x12\x18\n\x14IN_USE_SHAREABLE_POD\x10\x03\x12\x16\n\x12IN_USE_MANAGED_POD\x10\x04"\xbd\x01\n\x10UsableSubnetwork\x12\x12\n\nsubnetwork\x18\x01 \x01(\t\x12\x0f\n\x07network\x18\x02 \x01(\t\x12\x15\n\rip_cidr_range\x18\x03 \x01(\t\x12U\n\x13secondary_ip_ranges\x18\x04 \x03(\x0b\x32\x38.google.container.v1beta1.UsableSubnetworkSecondaryRange\x12\x16\n\x0estatus_message\x18\x05 \x01(\t")\n\x16VerticalPodAutoscaling\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08",\n\x19IntraNodeVisibilityConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08".\n\x11MaxPodsConstraint\x12\x19\n\x11max_pods_per_node\x18\x01 \x01(\x03"\x9d\x01\n\x12\x44\x61tabaseEncryption\x12\x41\n\x05state\x18\x02 \x01(\x0e\x32\x32.google.container.v1beta1.DatabaseEncryption.State\x12\x10\n\x08key_name\x18\x01 \x01(\t"2\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tENCRYPTED\x10\x01\x12\r\n\tDECRYPTED\x10\x02"\xf7\x02\n\x19ResourceUsageExportConfig\x12\x65\n\x14\x62igquery_destination\x18\x01 \x01(\x0b\x32G.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination\x12&\n\x1e\x65nable_network_egress_metering\x18\x02 \x01(\x08\x12r\n\x1b\x63onsumption_metering_config\x18\x03 \x01(\x0b\x32M.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig\x1a)\n\x13\x42igQueryDestination\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x1a,\n\x19\x43onsumptionMeteringConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x32\xafI\n\x0e\x43lusterManager\x12\xf3\x01\n\x0cListClusters\x12-.google.container.v1beta1.ListClustersRequest\x1a..google.container.v1beta1.ListClustersResponse"\x83\x01\x82\xd3\xe4\x93\x02k\x12\x31/v1beta1/{parent=projects/*/locations/*}/clustersZ6\x12\x34/v1beta1/projects/{project_id}/zones/{zone}/clusters\xda\x41\x0fproject_id,zone\x12\xfa\x01\n\nGetCluster\x12+.google.container.v1beta1.GetClusterRequest\x1a!.google.container.v1beta1.Cluster"\x9b\x01\x82\xd3\xe4\x93\x02x\x12\x31/v1beta1/{name=projects/*/locations/*/clusters/*}ZC\x12\x41/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}\xda\x41\x1aproject_id,zone,cluster_id\x12\xf8\x01\n\rCreateCluster\x12..google.container.v1beta1.CreateClusterRequest\x1a#.google.container.v1beta1.Operation"\x91\x01\x82\xd3\xe4\x93\x02q"1/v1beta1/{parent=projects/*/locations/*}/clusters:\x01*Z9"4/v1beta1/projects/{project_id}/zones/{zone}/clusters:\x01*\xda\x41\x17project_id,zone,cluster\x12\x8f\x02\n\rUpdateCluster\x12..google.container.v1beta1.UpdateClusterRequest\x1a#.google.container.v1beta1.Operation"\xa8\x01\x82\xd3\xe4\x93\x02~\x1a\x31/v1beta1/{name=projects/*/locations/*/clusters/*}:\x01*ZF\x1a\x41/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:\x01*\xda\x41!project_id,zone,cluster_id,update\x12\x9a\x02\n\x0eUpdateNodePool\x12/.google.container.v1beta1.UpdateNodePoolRequest\x1a#.google.container.v1beta1.Operation"\xb1\x01\x82\xd3\xe4\x93\x02\xaa\x01\x1a=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:\x01*Zf"a/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/update:\x01*\x12\xbe\x02\n\x16SetNodePoolAutoscaling\x12\x37.google.container.v1beta1.SetNodePoolAutoscalingRequest\x1a#.google.container.v1beta1.Operation"\xc5\x01\x82\xd3\xe4\x93\x02\xbe\x01"L/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setAutoscaling:\x01*Zk"f/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/autoscaling:\x01*\x12\xb4\x02\n\x11SetLoggingService\x12\x32.google.container.v1beta1.SetLoggingServiceRequest\x1a#.google.container.v1beta1.Operation"\xc5\x01\x82\xd3\xe4\x93\x02\x91\x01"/v1beta1/{name=projects/*/locations/*/clusters/*}:setLocations:\x01*ZP"K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/locations:\x01*\xda\x41$project_id,zone,cluster_id,locations\x12\xaa\x02\n\x0cUpdateMaster\x12-.google.container.v1beta1.UpdateMasterRequest\x1a#.google.container.v1beta1.Operation"\xc5\x01\x82\xd3\xe4\x93\x02\x92\x01">/v1beta1/{name=projects/*/locations/*/clusters/*}:updateMaster:\x01*ZM"H/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/master:\x01*\xda\x41)project_id,zone,cluster_id,master_version\x12\x88\x02\n\rSetMasterAuth\x12..google.container.v1beta1.SetMasterAuthRequest\x1a#.google.container.v1beta1.Operation"\xa1\x01\x82\xd3\xe4\x93\x02\x9a\x01"?/v1beta1/{name=projects/*/locations/*/clusters/*}:setMasterAuth:\x01*ZT"O/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMasterAuth:\x01*\x12\x82\x02\n\rDeleteCluster\x12..google.container.v1beta1.DeleteClusterRequest\x1a#.google.container.v1beta1.Operation"\x9b\x01\x82\xd3\xe4\x93\x02x*1/v1beta1/{name=projects/*/locations/*/clusters/*}ZC*A/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}\xda\x41\x1aproject_id,zone,cluster_id\x12\xfd\x01\n\x0eListOperations\x12/.google.container.v1beta1.ListOperationsRequest\x1a\x30.google.container.v1beta1.ListOperationsResponse"\x87\x01\x82\xd3\xe4\x93\x02o\x12\x33/v1beta1/{parent=projects/*/locations/*}/operationsZ8\x12\x36/v1beta1/projects/{project_id}/zones/{zone}/operations\xda\x41\x0fproject_id,zone\x12\x88\x02\n\x0cGetOperation\x12-.google.container.v1beta1.GetOperationRequest\x1a#.google.container.v1beta1.Operation"\xa3\x01\x82\xd3\xe4\x93\x02~\x12\x33/v1beta1/{name=projects/*/locations/*/operations/*}ZG\x12\x45/v1beta1/projects/{project_id}/zones/{zone}/operations/{operation_id}\xda\x41\x1cproject_id,zone,operation_id\x12\x96\x02\n\x0f\x43\x61ncelOperation\x12\x30.google.container.v1beta1.CancelOperationRequest\x1a\x16.google.protobuf.Empty"\xb8\x01\x82\xd3\xe4\x93\x02\x92\x01":/v1beta1/{name=projects/*/locations/*/operations/*}:cancel:\x01*ZQ"L/v1beta1/projects/{project_id}/zones/{zone}/operations/{operation_id}:cancel:\x01*\xda\x41\x1cproject_id,zone,operation_id\x12\xf7\x01\n\x0fGetServerConfig\x12\x30.google.container.v1beta1.GetServerConfigRequest\x1a&.google.container.v1beta1.ServerConfig"\x89\x01\x82\xd3\xe4\x93\x02q\x12\x33/v1beta1/{name=projects/*/locations/*}/serverConfigZ:\x12\x38/v1beta1/projects/{project_id}/zones/{zone}/serverconfig\xda\x41\x0fproject_id,zone\x12\xa5\x02\n\rListNodePools\x12..google.container.v1beta1.ListNodePoolsRequest\x1a/.google.container.v1beta1.ListNodePoolsResponse"\xb2\x01\x82\xd3\xe4\x93\x02\x8e\x01\x12=/v1beta1/{parent=projects/*/locations/*/clusters/*}/nodePoolsZM\x12K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools\xda\x41\x1aproject_id,zone,cluster_id\x12\xb0\x02\n\x0bGetNodePool\x12,.google.container.v1beta1.GetNodePoolRequest\x1a".google.container.v1beta1.NodePool"\xce\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}Z\\\x12Z/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}\xda\x41\'project_id,zone,cluster_id,node_pool_id\x12\xab\x02\n\x0e\x43reateNodePool\x12/.google.container.v1beta1.CreateNodePoolRequest\x1a#.google.container.v1beta1.Operation"\xc2\x01\x82\xd3\xe4\x93\x02\x94\x01"=/v1beta1/{parent=projects/*/locations/*/clusters/*}/nodePools:\x01*ZP"K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools:\x01*\xda\x41$project_id,zone,cluster_id,node_pool\x12\xb7\x02\n\x0e\x44\x65leteNodePool\x12/.google.container.v1beta1.DeleteNodePoolRequest\x1a#.google.container.v1beta1.Operation"\xce\x01\x82\xd3\xe4\x93\x02\x9d\x01*=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}Z\\*Z/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}\xda\x41\'project_id,zone,cluster_id,node_pool_id\x12\xe1\x02\n\x17RollbackNodePoolUpgrade\x12\x38.google.container.v1beta1.RollbackNodePoolUpgradeRequest\x1a#.google.container.v1beta1.Operation"\xe6\x01\x82\xd3\xe4\x93\x02\xb5\x01"F/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:rollback:\x01*Zh"c/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}:rollback:\x01*\xda\x41\'project_id,zone,cluster_id,node_pool_id\x12\xf2\x02\n\x15SetNodePoolManagement\x12\x36.google.container.v1beta1.SetNodePoolManagementRequest\x1a#.google.container.v1beta1.Operation"\xfb\x01\x82\xd3\xe4\x93\x02\xbf\x01"K/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setManagement:\x01*Zm"h/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setManagement:\x01*\xda\x41\x32project_id,zone,cluster_id,node_pool_id,management\x12\xc4\x02\n\tSetLabels\x12*.google.container.v1beta1.SetLabelsRequest\x1a#.google.container.v1beta1.Operation"\xe5\x01\x82\xd3\xe4\x93\x02\x9f\x01"C/v1beta1/{name=projects/*/locations/*/clusters/*}:setResourceLabels:\x01*ZU"P/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels:\x01*\xda\x41`__ + cpu-platform>`__ To unset the min cpu platform field pass + "automatic" as field value. workload_metadata_config: The workload metadata configuration for this node. taints: @@ -9473,6 +10281,8 @@ more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and- toleration/ + shielded_instance_config: + Shielded Instance options. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeConfig) ), @@ -9481,15 +10291,43 @@ _sym_db.RegisterMessage(NodeConfig.MetadataEntry) _sym_db.RegisterMessage(NodeConfig.LabelsEntry) +ShieldedInstanceConfig = _reflection.GeneratedProtocolMessageType( + "ShieldedInstanceConfig", + (_message.Message,), + dict( + DESCRIPTOR=_SHIELDEDINSTANCECONFIG, + __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", + __doc__="""A set of Shielded Instance options. + + + Attributes: + enable_secure_boot: + Defines whether the instance has Secure Boot enabled. Secure + Boot helps ensure that the system only runs authentic software + by verifying the digital signature of all boot components, and + halting the boot process if signature verification fails. + enable_integrity_monitoring: + Defines whether the instance has integrity monitoring enabled. + Enables monitoring and attestation of the boot integrity of + the instance. The attestation is performed against the + integrity policy baseline. This baseline is initially derived + from the implicitly trusted boot image when the instance is + created. + """, + # @@protoc_insertion_point(class_scope:google.container.v1beta1.ShieldedInstanceConfig) + ), +) +_sym_db.RegisterMessage(ShieldedInstanceConfig) + NodeTaint = _reflection.GeneratedProtocolMessageType( "NodeTaint", (_message.Message,), dict( DESCRIPTOR=_NODETAINT, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Kubernetes taint is comprised of three fields: key, value, and effect. - Effect can only be one of three types: NoSchedule, PreferNoSchedule or - NoExecute. + __doc__="""Kubernetes taint is comprised of three fields: key, value, + and effect. Effect can only be one of three types: NoSchedule, + PreferNoSchedule or NoExecute. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ @@ -9514,9 +10352,9 @@ dict( DESCRIPTOR=_MASTERAUTH, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""The authentication information for accessing the master endpoint. - Authentication can be done using HTTP basic auth or using client - certificates. + __doc__="""The authentication information for accessing the master + endpoint. Authentication can be done using HTTP basic auth or using + client certificates. Attributes: @@ -9573,8 +10411,8 @@ dict( DESCRIPTOR=_ADDONSCONFIG, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration for the addons that can be automatically spun up in the - cluster, enabling additional functionality. + __doc__="""Configuration for the addons that can be automatically + spun up in the cluster, enabling additional functionality. Attributes: @@ -9588,7 +10426,12 @@ replication controller has based on the resource usage of the existing pods. kubernetes_dashboard: - Configuration for the Kubernetes Dashboard. + Configuration for the Kubernetes Dashboard. This addon is + deprecated, and will be disabled in 1.15. It is recommended to + use the Cloud Console to manage and monitor your Kubernetes + clusters, workloads and applications. For more information, + see: https://cloud.google.com/kubernetes- + engine/docs/concepts/dashboards network_policy_config: Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track @@ -9612,9 +10455,9 @@ dict( DESCRIPTOR=_HTTPLOADBALANCING, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration options for the HTTP (L7) load balancing controller addon, - which makes it easy to set up HTTP load balancers for services in a - cluster. + __doc__="""Configuration options for the HTTP (L7) load balancing + controller addon, which makes it easy to set up HTTP load balancers for + services in a cluster. Attributes: @@ -9634,9 +10477,10 @@ dict( DESCRIPTOR=_HORIZONTALPODAUTOSCALING, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration options for the horizontal pod autoscaling feature, which - increases or decreases the number of replica pods a replication - controller has based on the resource usage of the existing pods. + __doc__="""Configuration options for the horizontal pod autoscaling + feature, which increases or decreases the number of replica pods a + replication controller has based on the resource usage of the existing + pods. Attributes: @@ -9675,9 +10519,9 @@ dict( DESCRIPTOR=_NETWORKPOLICYCONFIG, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration for NetworkPolicy. This only tracks whether the addon is - enabled or not on the Master, it does not track whether network policy - is enabled for the nodes. + __doc__="""Configuration for NetworkPolicy. This only tracks whether + the addon is enabled or not on the Master, it does not track whether + network policy is enabled for the nodes. Attributes: @@ -9787,10 +10631,11 @@ ), DESCRIPTOR=_MASTERAUTHORIZEDNETWORKSCONFIG, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration options for the master authorized networks feature. - Enabled master authorized networks will disallow all external traffic to - access Kubernetes master through HTTPS except traffic from the given - CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs. + __doc__="""Configuration options for the master authorized networks + feature. Enabled master authorized networks will disallow all external + traffic to access Kubernetes master through HTTPS except traffic from + the given CIDR blocks, Google Compute Engine Public IPs and Google Prod + IPs. Attributes: @@ -9812,8 +10657,8 @@ dict( DESCRIPTOR=_LEGACYABAC, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration for the legacy Attribute Based Access Control - authorization mode. + __doc__="""Configuration for the legacy Attribute Based Access + Control authorization mode. Attributes: @@ -9856,7 +10701,8 @@ dict( DESCRIPTOR=_IPALLOCATIONPOLICY, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration for controlling how IPs are allocated in the cluster. + __doc__="""Configuration for controlling how IPs are allocated in the + cluster. Attributes: @@ -9994,6 +10840,29 @@ ) _sym_db.RegisterMessage(PodSecurityPolicyConfig) +AuthenticatorGroupsConfig = _reflection.GeneratedProtocolMessageType( + "AuthenticatorGroupsConfig", + (_message.Message,), + dict( + DESCRIPTOR=_AUTHENTICATORGROUPSCONFIG, + __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", + __doc__="""Configuration for returning group information from + authenticators. + + + Attributes: + enabled: + Whether this cluster should return group membership lookups + during authentication using a group of security groups. + security_group: + The name of the security group-of-groups to be used. Only + relevant if enabled = true. + """, + # @@protoc_insertion_point(class_scope:google.container.v1beta1.AuthenticatorGroupsConfig) + ), +) +_sym_db.RegisterMessage(AuthenticatorGroupsConfig) + Cluster = _reflection.GeneratedProtocolMessageType( "Cluster", (_message.Message,), @@ -10015,10 +10884,10 @@ Attributes: name: The name of this cluster. The name must be unique within this - project and zone, and can be up to 40 characters with the - following restrictions: - Lowercase letters, numbers, and - hyphens only. - Must start with a letter. - Must end with a - number or a letter. + project and location (e.g. zone or region), and can be up to + 40 characters with the following restrictions: - Lowercase + letters, numbers, and hyphens only. - Must start with a + letter. - Must end with a number or a letter. description: An optional description of this cluster. initial_node_count: @@ -10029,17 +10898,19 @@ lieu of a "node\_pool" object, since this configuration (along with the "node\_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a - node\_pool at the same time. + node\_pool at the same time. This field is deprecated, use + node\_pool.initial\_node\_count instead. node_config: - Parameters used in creating the cluster's nodes. See - ``nodeConfig`` for the description of its properties. For - requests, this field should only be used in lieu of a - "node\_pool" object, since this configuration (along with the + Parameters used in creating the cluster's nodes. For requests, + this field should only be used in lieu of a "node\_pool" + object, since this configuration (along with the "initial\_node\_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node\_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. - If unspecified, the defaults are used. + (For configuration of each node pool, see + ``node_pool.config``) If unspecified, the defaults are used. + This field is deprecated, use node\_pool.config instead. master_auth: The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters @@ -10138,6 +11009,8 @@ resource_usage_export_config: Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified. + authenticator_groups_config: + Configuration controlling RBAC group membership information. private_cluster_config: Configuration for private cluster. vertical_pod_autoscaling: @@ -10172,11 +11045,11 @@ endpoint. current_node_version: [Output only] Deprecated, use `NodePool.version `__ instead. The current version of the node software - components. If they are currently at multiple versions because - they're in the process of being upgraded, this reflects the - minimum version of all nodes. + ngine/docs/reference/rest/v1beta1/projects.locations.clusters. + nodePools>`__ instead. The current version of the node + software components. If they are currently at multiple + versions because they're in the process of being upgraded, + this reflects the minimum version of all nodes. create_time: [Output only] The time the cluster was created, in `RFC3339 `__ text format. @@ -10188,7 +11061,8 @@ node_ipv4_cidr_size: [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the - ``container_ipv4_cidr`` range. + ``container_ipv4_cidr`` range. This field will only be set + when cluster is in route-based network mode. services_ipv4_cidr: [Output only] The IP address range of the Kubernetes services in this cluster, in `CIDR @@ -10218,6 +11092,8 @@ cluster, in `CIDR `__ notation (e.g. ``1.2.3.4/29``). + database_encryption: + Configuration of etcd encryption. conditions: Which conditions caused the current cluster state. """, @@ -10233,9 +11109,9 @@ dict( DESCRIPTOR=_CLUSTERUPDATE, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ClusterUpdate describes an update to the cluster. Exactly one update can - be applied to a cluster with each request, so at most one field can be - provided. + __doc__="""ClusterUpdate describes an update to the cluster. Exactly + one update can be applied to a cluster with each request, so at most one + field can be provided. Attributes: @@ -10253,18 +11129,19 @@ The monitoring service the cluster should use to write metrics. Currently available options: - "monitoring.googleapis.com/kubernetes" - the Google Cloud - Monitoring service with Kubernetes-native resource model in - Stackdriver - "monitoring.googleapis.com" - the Google Cloud - Monitoring service - "none" - no metrics will be exported - from the cluster + Monitoring service with Kubernetes-native resource model - + "monitoring.googleapis.com" - the Google Cloud Monitoring + service - "none" - no metrics will be exported from the + cluster desired_addons_config: Configurations for the various addons available to run in the cluster. desired_node_pool_id: The node pool to be upgraded. This field is mandatory if - "desired\_node\_version", "desired\_image\_family" or - "desired\_node\_pool\_autoscaling" is specified and there is - more than one node pool on the cluster. + "desired\_node\_version", "desired\_image\_family", + "desired\_node\_pool\_autoscaling", or + "desired\_workload\_metadata\_config" is specified and there + is more than one node pool on the cluster. desired_image_type: The desired image type for the node pool. NOTE: Set the "desired\_node\_pool" field as well. @@ -10296,13 +11173,15 @@ The logging service the cluster should use to write metrics. Currently available options: - "logging.googleapis.com/kubernetes" - the Google Cloud Logging - service with Kubernetes-native resource model in Stackdriver - + service with Kubernetes-native resource model - "logging.googleapis.com" - the Google Cloud Logging service - "none" - no logs will be exported from the cluster desired_resource_usage_export_config: The desired configuration for exporting resource usage. desired_vertical_pod_autoscaling: Cluster-level Vertical Pod Autoscaling configuration. + desired_intra_node_visibility_config: + The desired config of Intra-node visibility. desired_master_version: The Kubernetes version to change the master to. The only valid value is the latest supported version. Users may specify @@ -10325,8 +11204,9 @@ dict( DESCRIPTOR=_OPERATION, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""This operation resource represents operations that may have happened or - are happening on the cluster. All fields are output only. + __doc__="""This operation resource represents operations that may + have happened or are happening on the cluster. All fields are output + only. Attributes: @@ -10437,17 +11317,17 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the parent field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the parent field. cluster: - A `cluster resource `__ parent: The parent (project and location) where the cluster will be @@ -10469,18 +11349,18 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to retrieve. This field - has been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to retrieve. + This field has been deprecated and replaced by the name field. name: The name (project, location, cluster) of the cluster to retrieve. Specified in the format @@ -10502,20 +11382,20 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to upgrade. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to upgrade. This + field has been deprecated and replaced by the name field. update: - A description of the update. + Required. A description of the update. name: The name (project, location, cluster) of the cluster to update. Specified in the format @@ -10532,37 +11412,40 @@ dict( DESCRIPTOR=_UPDATENODEPOOLREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetNodePoolVersionRequest updates the version of a node pool. + __doc__="""SetNodePoolVersionRequest updates the version of a node + pool. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to upgrade. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to upgrade. This + field has been deprecated and replaced by the name field. node_pool_id: - Deprecated. The name of the node pool to upgrade. This field - has been deprecated and replaced by the name field. + Required. Deprecated. The name of the node pool to upgrade. + This field has been deprecated and replaced by the name field. node_version: - The Kubernetes version to change the nodes to (typically an - upgrade). Users may specify either explicit versions offered - by Kubernetes Engine or version aliases, which have the - following behavior: - "latest": picks the highest valid - Kubernetes version - "1.X": picks the highest valid - patch+gke.N patch in the 1.X version - "1.X.Y": picks the - highest valid gke.N patch in the 1.X.Y version - + Required. The Kubernetes version to change the nodes to + (typically an upgrade). Users may specify either explicit + versions offered by Kubernetes Engine or version aliases, + which have the following behavior: - "latest": picks the + highest valid Kubernetes version - "1.X": picks the highest + valid patch+gke.N patch in the 1.X version - "1.X.Y": picks + the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version image_type: + Required. The desired image type for the node pool. + workload_metadata_config: The desired image type for the node pool. name: The name (project, location, cluster, node pool) of the node @@ -10580,29 +11463,29 @@ dict( DESCRIPTOR=_SETNODEPOOLAUTOSCALINGREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetNodePoolAutoscalingRequest sets the autoscaler settings of a node - pool. + __doc__="""SetNodePoolAutoscalingRequest sets the autoscaler settings + of a node pool. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to upgrade. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to upgrade. This + field has been deprecated and replaced by the name field. node_pool_id: - Deprecated. The name of the node pool to upgrade. This field - has been deprecated and replaced by the name field. + Required. Deprecated. The name of the node pool to upgrade. + This field has been deprecated and replaced by the name field. autoscaling: - Autoscaling configuration for the node pool. + Required. Autoscaling configuration for the node pool. name: The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format @@ -10619,28 +11502,29 @@ dict( DESCRIPTOR=_SETLOGGINGSERVICEREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetLoggingServiceRequest sets the logging service of a cluster. + __doc__="""SetLoggingServiceRequest sets the logging service of a + cluster. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to upgrade. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to upgrade. This + field has been deprecated and replaced by the name field. logging_service: - The logging service the cluster should use to write metrics. - Currently available options: - "logging.googleapis.com" - - the Google Cloud Logging service - "none" - no metrics will - be exported from the cluster + Required. The logging service the cluster should use to write + metrics. Currently available options: - + "logging.googleapis.com" - the Google Cloud Logging service - + "none" - no metrics will be exported from the cluster name: The name (project, location, cluster) of the cluster to set logging. Specified in the format @@ -10657,26 +11541,27 @@ dict( DESCRIPTOR=_SETMONITORINGSERVICEREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetMonitoringServiceRequest sets the monitoring service of a cluster. + __doc__="""SetMonitoringServiceRequest sets the monitoring service of + a cluster. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to upgrade. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to upgrade. This + field has been deprecated and replaced by the name field. monitoring_service: - The monitoring service the cluster should use to write - metrics. Currently available options: - + Required. The monitoring service the cluster should use to + write metrics. Currently available options: - "monitoring.googleapis.com" - the Google Cloud Monitoring service - "none" - no metrics will be exported from the cluster @@ -10696,26 +11581,27 @@ dict( DESCRIPTOR=_SETADDONSCONFIGREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetAddonsRequest sets the addons associated with the cluster. + __doc__="""SetAddonsRequest sets the addons associated with the + cluster. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to upgrade. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to upgrade. This + field has been deprecated and replaced by the name field. addons_config: - The desired configurations for the various addons available to - run in the cluster. + Required. The desired configurations for the various addons + available to run in the cluster. name: The name (project, location, cluster) of the cluster to set addons. Specified in the format @@ -10737,20 +11623,20 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to upgrade. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to upgrade. This + field has been deprecated and replaced by the name field. locations: - The desired list of Google Compute Engine `zones + Required. The desired list of Google Compute Engine `zones `__ in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from @@ -10778,27 +11664,28 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to upgrade. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to upgrade. This + field has been deprecated and replaced by the name field. master_version: - The Kubernetes version to change the master to. Users may - specify either explicit versions offered by Kubernetes Engine - or version aliases, which have the following behavior: - - "latest": picks the highest valid Kubernetes version - "1.X": - picks the highest valid patch+gke.N patch in the 1.X version - - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y - version - "1.X.Y-gke.N": picks an explicit Kubernetes version - - "-": picks the default Kubernetes version + Required. The Kubernetes version to change the master to. + Users may specify either explicit versions offered by + Kubernetes Engine or version aliases, which have the following + behavior: - "latest": picks the highest valid Kubernetes + version - "1.X": picks the highest valid patch+gke.N patch in + the 1.X version - "1.X.Y": picks the highest valid gke.N + patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit + Kubernetes version - "-": picks the default Kubernetes + version name: The name (project, location, cluster) of the cluster to update. Specified in the format @@ -10815,27 +11702,29 @@ dict( DESCRIPTOR=_SETMASTERAUTHREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetMasterAuthRequest updates the admin password of a cluster. + __doc__="""SetMasterAuthRequest updates the admin password of a + cluster. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to upgrade. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to upgrade. This + field has been deprecated and replaced by the name field. action: - The exact form of action to be taken on the master auth. + Required. The exact form of action to be taken on the master + auth. update: - A description of the update. + Required. A description of the update. name: The name (project, location, cluster) of the cluster to set auth. Specified in the format @@ -10857,18 +11746,18 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to delete. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to delete. This + field has been deprecated and replaced by the name field. name: The name (project, location, cluster) of the cluster to delete. Specified in the format @@ -10890,13 +11779,13 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the parent field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field. parent: @@ -10942,18 +11831,19 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. operation_id: - Deprecated. The server-assigned ``name`` of the operation. - This field has been deprecated and replaced by the name field. + Required. Deprecated. The server-assigned ``name`` of the + operation. This field has been deprecated and replaced by the + name field. name: The name (project, location, operation id) of the operation to get. Specified in the format @@ -10975,15 +11865,15 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the parent field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ to return operations for, - or ``-`` for all zones. This field has been deprecated and - replaced by the parent field. + Required. Deprecated. The name of the Google Compute Engine + `zone `__ to return operations + for, or ``-`` for all zones. This field has been deprecated + and replaced by the parent field. parent: The parent (project and location) where the operations will be listed. Specified in the format 'projects/*/locations/*'. @@ -11005,18 +11895,19 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the operation - resides. This field has been deprecated and replaced by the - name field. + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the + operation resides. This field has been deprecated and replaced + by the name field. operation_id: - Deprecated. The server-assigned ``name`` of the operation. - This field has been deprecated and replaced by the name field. + Required. Deprecated. The server-assigned ``name`` of the + operation. This field has been deprecated and replaced by the + name field. name: The name (project, location, operation id) of the operation to cancel. Specified in the format @@ -11033,7 +11924,8 @@ dict( DESCRIPTOR=_LISTOPERATIONSRESPONSE, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListOperationsResponse is the result of ListOperationsRequest. + __doc__="""ListOperationsResponse is the result of + ListOperationsRequest. Attributes: @@ -11059,17 +11951,18 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ to return operations for. - This field has been deprecated and replaced by the name field. + Required. Deprecated. The name of the Google Compute Engine + `zone `__ to return operations + for. This field has been deprecated and replaced by the name + field. name: - The name (project and location) of the server config to get - Specified in the format 'projects/*/locations/*'. + The name (project and location) of the server config to get, + specified in the format 'projects/*/locations/*'. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.GetServerConfigRequest) ), @@ -11113,20 +12006,20 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number `__. This field has been deprecated and + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the parent field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the parent field. cluster_id: - Deprecated. The name of the cluster. This field has been - deprecated and replaced by the parent field. + Required. Deprecated. The name of the cluster. This field has + been deprecated and replaced by the parent field. node_pool: - The node pool to create. + Required. The node pool to create. parent: The parent (project, location, cluster id) where the node pool will be created. Specified in the format @@ -11148,21 +12041,21 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number `__. This field has been deprecated and + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster. This field has been - deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster. This field has + been deprecated and replaced by the name field. node_pool_id: - Deprecated. The name of the node pool to delete. This field - has been deprecated and replaced by the name field. + Required. Deprecated. The name of the node pool to delete. + This field has been deprecated and replaced by the name field. name: The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format @@ -11184,18 +12077,18 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number `__. This field has been deprecated and + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the parent field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the parent field. cluster_id: - Deprecated. The name of the cluster. This field has been - deprecated and replaced by the parent field. + Required. Deprecated. The name of the cluster. This field has + been deprecated and replaced by the parent field. parent: The parent (project, location, cluster id) where the node pools will be listed. Specified in the format @@ -11217,21 +12110,21 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number `__. This field has been deprecated and + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster. This field has been - deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster. This field has + been deprecated and replaced by the name field. node_pool_id: - Deprecated. The name of the node pool. This field has been - deprecated and replaced by the name field. + Required. Deprecated. The name of the node pool. This field + has been deprecated and replaced by the name field. name: The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format @@ -11248,12 +12141,12 @@ dict( DESCRIPTOR=_NODEPOOL, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""NodePool contains the name and configuration for a cluster's node pool. - Node pools are a set of nodes (i.e. VM's), with a common configuration - and specification, under the control of the cluster master. They may - have a set of Kubernetes labels applied to them, which may be used to - reference them during pod scheduling. They may also be resized up or - down, to accommodate the workload. + __doc__="""NodePool contains the name and configuration for a + cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a + common configuration and specification, under the control of the cluster + master. They may have a set of Kubernetes labels applied to them, which + may be used to reference them during pod scheduling. They may also be + resized up or down, to accommodate the workload. Attributes: @@ -11289,6 +12182,9 @@ simultaneously on a node in the node pool. conditions: Which conditions caused the current node pool state. + pod_ipv4_cidr_size: + [Output only] The pod CIDR block size per node in this node + pool. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool) ), @@ -11301,8 +12197,8 @@ dict( DESCRIPTOR=_NODEMANAGEMENT, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""NodeManagement defines the set of node management services turned on for - the node pool. + __doc__="""NodeManagement defines the set of node management services + turned on for the node pool. Attributes: @@ -11324,8 +12220,8 @@ dict( DESCRIPTOR=_AUTOUPGRADEOPTIONS, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""AutoUpgradeOptions defines the set of options for the user to control - how the Auto Upgrades will proceed. + __doc__="""AutoUpgradeOptions defines the set of options for the user + to control how the Auto Upgrades will proceed. Attributes: @@ -11349,14 +12245,21 @@ dict( DESCRIPTOR=_MAINTENANCEPOLICY, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""MaintenancePolicy defines the maintenance policy to be used for the - cluster. + __doc__="""MaintenancePolicy defines the maintenance policy to be + used for the cluster. Attributes: window: Specifies the maintenance window in which maintenance may be performed. + resource_version: + A hash identifying the version of this policy, so that updates + to fields of the policy won't accidentally undo intermediate + changes (and so that users of the API unaware of some fields + won't accidentally remove other fields). Make a get() request + to the cluster to get the current resource version and include + it with requests to set the policy. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.MaintenancePolicy) ), @@ -11367,10 +12270,19 @@ "MaintenanceWindow", (_message.Message,), dict( + MaintenanceExclusionsEntry=_reflection.GeneratedProtocolMessageType( + "MaintenanceExclusionsEntry", + (_message.Message,), + dict( + DESCRIPTOR=_MAINTENANCEWINDOW_MAINTENANCEEXCLUSIONSENTRY, + __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2" + # @@protoc_insertion_point(class_scope:google.container.v1beta1.MaintenanceWindow.MaintenanceExclusionsEntry) + ), + ), DESCRIPTOR=_MAINTENANCEWINDOW, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""MaintenanceWindow defines the maintenance window to be used for the - cluster. + __doc__="""MaintenanceWindow defines the maintenance window to be + used for the cluster. Attributes: @@ -11380,11 +12292,80 @@ daily_maintenance_window: DailyMaintenanceWindow specifies a daily maintenance operation window. + recurring_window: + RecurringWindow specifies some number of recurring time + periods for maintenance to occur. The time windows may be + overlapping. If no maintenance windows are set, maintenance + can occur at any time. + maintenance_exclusions: + Exceptions to maintenance window. Non-emergency maintenance + should not occur in these windows. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.MaintenanceWindow) ), ) _sym_db.RegisterMessage(MaintenanceWindow) +_sym_db.RegisterMessage(MaintenanceWindow.MaintenanceExclusionsEntry) + +TimeWindow = _reflection.GeneratedProtocolMessageType( + "TimeWindow", + (_message.Message,), + dict( + DESCRIPTOR=_TIMEWINDOW, + __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", + __doc__="""Represents an arbitrary window of time. + + + Attributes: + start_time: + The time that the window first starts. + end_time: + The time that the window ends. The end time should take place + after the start time. + """, + # @@protoc_insertion_point(class_scope:google.container.v1beta1.TimeWindow) + ), +) +_sym_db.RegisterMessage(TimeWindow) + +RecurringTimeWindow = _reflection.GeneratedProtocolMessageType( + "RecurringTimeWindow", + (_message.Message,), + dict( + DESCRIPTOR=_RECURRINGTIMEWINDOW, + __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", + __doc__="""Represents an arbitrary window of time that recurs. + + + Attributes: + window: + The window of the first recurrence. + recurrence: + An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) + for how this window reccurs. They go on for the span of time + between the start and end time. For example, to have + something repeat every weekday, you'd use: + FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR To repeat some window daily + (equivalent to the DailyMaintenanceWindow): FREQ=DAILY For the + first weekend of every month: + FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU This specifies how + frequently the window starts. Eg, if you wanted to have a 9-5 + UTC-4 window every weekday, you'd use something like: start + time = 2019-01-01T09:00:00-0400 end time = + 2019-01-01T17:00:00-0400 recurrence = + FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR Windows can span multiple + days. Eg, to make the window encompass every weekend from + midnight Saturday till the last minute of Sunday UTC: start + time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z + recurrence = FREQ=WEEKLY;BYDAY=SA Note the start and end + time's specific dates are largely arbitrary except to specify + duration of the window and when it first starts. The FREQ + values of HOURLY, MINUTELY, and SECONDLY are not supported. + """, + # @@protoc_insertion_point(class_scope:google.container.v1beta1.RecurringTimeWindow) + ), +) +_sym_db.RegisterMessage(RecurringTimeWindow) DailyMaintenanceWindow = _reflection.GeneratedProtocolMessageType( "DailyMaintenanceWindow", @@ -11398,7 +12379,7 @@ Attributes: start_time: Time within the maintenance window to start the maintenance - operations. It must be in format "HH:MM”, where HH : [00-23] + operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT. duration: [Output only] Duration of the time window, automatically @@ -11415,29 +12396,29 @@ dict( DESCRIPTOR=_SETNODEPOOLMANAGEMENTREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetNodePoolManagementRequest sets the node management properties of a - node pool. + __doc__="""SetNodePoolManagementRequest sets the node management + properties of a node pool. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to update. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to update. This + field has been deprecated and replaced by the name field. node_pool_id: - Deprecated. The name of the node pool to update. This field - has been deprecated and replaced by the name field. + Required. Deprecated. The name of the node pool to update. + This field has been deprecated and replaced by the name field. management: - NodeManagement configuration for the node pool. + Required. NodeManagement configuration for the node pool. name: The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the @@ -11459,23 +12440,23 @@ Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to update. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to update. This + field has been deprecated and replaced by the name field. node_pool_id: - Deprecated. The name of the node pool to update. This field - has been deprecated and replaced by the name field. + Required. Deprecated. The name of the node pool to update. + This field has been deprecated and replaced by the name field. node_count: - The desired node count for the pool. + Required. The desired node count for the pool. name: The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format @@ -11492,28 +12473,28 @@ dict( DESCRIPTOR=_ROLLBACKNODEPOOLUPGRADEREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or - Failed NodePool upgrade. This will be an no-op if the last upgrade - successfully completed. + __doc__="""RollbackNodePoolUpgradeRequest rollbacks the previously + Aborted or Failed NodePool upgrade. This will be an no-op if the last + upgrade successfully completed. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to rollback. This field - has been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to rollback. + This field has been deprecated and replaced by the name field. node_pool_id: - Deprecated. The name of the node pool to rollback. This field - has been deprecated and replaced by the name field. + Required. Deprecated. The name of the node pool to rollback. + This field has been deprecated and replaced by the name field. name: The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format @@ -11530,7 +12511,8 @@ dict( DESCRIPTOR=_LISTNODEPOOLSRESPONSE, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListNodePoolsResponse is the result of ListNodePoolsRequest. + __doc__="""ListNodePoolsResponse is the result of + ListNodePoolsRequest. Attributes: @@ -11548,9 +12530,10 @@ dict( DESCRIPTOR=_CLUSTERAUTOSCALING, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ClusterAutoscaling contains global, per-cluster information required by - Cluster Autoscaler to automatically adjust the size of the cluster and - create/delete node pools based on the current needs. + __doc__="""ClusterAutoscaling contains global, per-cluster + information required by Cluster Autoscaler to automatically adjust the + size of the cluster and create/delete node pools based on the current + needs. Attributes: @@ -11559,20 +12542,51 @@ resource_limits: Contains global constraints regarding minimum and maximum amount of resources in the cluster. + autoprovisioning_node_pool_defaults: + AutoprovisioningNodePoolDefaults contains defaults for a node + pool created by NAP. + autoprovisioning_locations: + The list of Google Compute Engine `zones + `__ in which the NodePool's + nodes can be created by NAP. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ClusterAutoscaling) ), ) _sym_db.RegisterMessage(ClusterAutoscaling) +AutoprovisioningNodePoolDefaults = _reflection.GeneratedProtocolMessageType( + "AutoprovisioningNodePoolDefaults", + (_message.Message,), + dict( + DESCRIPTOR=_AUTOPROVISIONINGNODEPOOLDEFAULTS, + __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", + __doc__="""AutoprovisioningNodePoolDefaults contains defaults for a + node pool created by NAP. + + + Attributes: + oauth_scopes: + Scopes that are used by NAP when creating node pools. If + oauth\_scopes are specified, service\_account should be empty. + service_account: + The Google Cloud Platform Service Account to be used by the + node VMs. If service\_account is specified, scopes should be + empty. + """, + # @@protoc_insertion_point(class_scope:google.container.v1beta1.AutoprovisioningNodePoolDefaults) + ), +) +_sym_db.RegisterMessage(AutoprovisioningNodePoolDefaults) + ResourceLimit = _reflection.GeneratedProtocolMessageType( "ResourceLimit", (_message.Message,), dict( DESCRIPTOR=_RESOURCELIMIT, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Contains information about amount of some resource in the cluster. For - memory, value should be in GB. + __doc__="""Contains information about amount of some resource in the + cluster. For memory, value should be in GB. Attributes: @@ -11594,8 +12608,9 @@ dict( DESCRIPTOR=_NODEPOOLAUTOSCALING, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""NodePoolAutoscaling contains information required by cluster autoscaler - to adjust the size of the node pool to the current cluster usage. + __doc__="""NodePoolAutoscaling contains information required by + cluster autoscaler to adjust the size of the node pool to the current + cluster usage. Attributes: @@ -11631,30 +12646,30 @@ ), DESCRIPTOR=_SETLABELSREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetLabelsRequest sets the Google Cloud Platform labels on a Google - Container Engine cluster, which will in turn set them for Google Compute - Engine resources used by that cluster + __doc__="""SetLabelsRequest sets the Google Cloud Platform labels on + a Google Container Engine cluster, which will in turn set them for + Google Compute Engine resources used by that cluster Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number `__. This field has been deprecated and + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster. This field has been - deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster. This field has + been deprecated and replaced by the name field. resource_labels: - The labels to set for that cluster. + Required. The labels to set for that cluster. label_fingerprint: - The fingerprint of the previous set of labels for this - resource, used to detect conflicts. The fingerprint is + Required. The fingerprint of the previous set of labels for + this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or @@ -11677,26 +12692,27 @@ dict( DESCRIPTOR=_SETLEGACYABACREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetLegacyAbacRequest enables or disables the ABAC authorization - mechanism for a cluster. + __doc__="""SetLegacyAbacRequest enables or disables the ABAC + authorization mechanism for a cluster. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster to update. This field has - been deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster to update. This + field has been deprecated and replaced by the name field. enabled: - Whether ABAC authorization will be enabled in the cluster. + Required. Whether ABAC authorization will be enabled in the + cluster. name: The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format @@ -11713,24 +12729,25 @@ dict( DESCRIPTOR=_STARTIPROTATIONREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""StartIPRotationRequest creates a new IP for the cluster and then - performs a node upgrade on each node pool to point to the new IP. + __doc__="""StartIPRotationRequest creates a new IP for the cluster + and then performs a node upgrade on each node pool to point to the new + IP. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number `__. This field has been deprecated and + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster. This field has been - deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster. This field has + been deprecated and replaced by the name field. name: The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format @@ -11749,24 +12766,24 @@ dict( DESCRIPTOR=_COMPLETEIPROTATIONREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""CompleteIPRotationRequest moves the cluster master back into single-IP - mode. + __doc__="""CompleteIPRotationRequest moves the cluster master back + into single-IP mode. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number `__. This field has been deprecated and + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster. This field has been - deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster. This field has + been deprecated and replaced by the name field. name: The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format @@ -11783,7 +12800,8 @@ dict( DESCRIPTOR=_ACCELERATORCONFIG, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""AcceleratorConfig represents a Hardware Accelerator request. + __doc__="""AcceleratorConfig represents a Hardware Accelerator + request. Attributes: @@ -11791,7 +12809,7 @@ The number of the accelerator cards exposed to an instance. accelerator_type: The accelerator type resource name. List of supported - accelerators `here `__ + accelerators `here `__ """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.AcceleratorConfig) ), @@ -11804,14 +12822,14 @@ dict( DESCRIPTOR=_WORKLOADMETADATACONFIG, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""WorkloadMetadataConfig defines the metadata configuration to expose to - workloads on the node pool. + __doc__="""WorkloadMetadataConfig defines the metadata configuration + to expose to workloads on the node pool. Attributes: node_metadata: - NodeMetadata is the configuration for how to expose the node - metadata to the workload running on the node. + NodeMetadata is the configuration for how to expose metadata + to the workloads running on the node. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadMetadataConfig) ), @@ -11824,25 +12842,26 @@ dict( DESCRIPTOR=_SETNETWORKPOLICYREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetNetworkPolicyRequest enables/disables network policy for a cluster. + __doc__="""SetNetworkPolicyRequest enables/disables network policy + for a cluster. Attributes: project_id: - Deprecated. The Google Developers Console `project ID or - project number `__. This field has been deprecated and + Required. Deprecated. The Google Developers Console `project + ID or project number `__. This field has been deprecated and replaced by the name field. zone: - Deprecated. The name of the Google Compute Engine `zone - `__ in which the cluster + Required. Deprecated. The name of the Google Compute Engine + `zone `__ in which the cluster resides. This field has been deprecated and replaced by the name field. cluster_id: - Deprecated. The name of the cluster. This field has been - deprecated and replaced by the name field. + Required. Deprecated. The name of the cluster. This field has + been deprecated and replaced by the name field. network_policy: - Configuration options for the NetworkPolicy feature. + Required. Configuration options for the NetworkPolicy feature. name: The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format @@ -11859,22 +12878,23 @@ dict( DESCRIPTOR=_SETMAINTENANCEPOLICYREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetMaintenancePolicyRequest sets the maintenance policy for a cluster. + __doc__="""SetMaintenancePolicyRequest sets the maintenance policy + for a cluster. Attributes: project_id: - The Google Developers Console `project ID or project number - `__. + Required. The Google Developers Console `project ID or project + number `__. zone: - The name of the Google Compute Engine `zone + Required. The name of the Google Compute Engine `zone `__ in which the cluster resides. cluster_id: - The name of the cluster to update. + Required. The name of the cluster to update. maintenance_policy: - The maintenance policy to be set for the cluster. An empty - field clears the existing maintenance policy. + Required. The maintenance policy to be set for the cluster. An + empty field clears the existing maintenance policy. name: The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format @@ -11891,13 +12911,14 @@ dict( DESCRIPTOR=_LISTLOCATIONSREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListLocationsRequest is used to request the locations that offer GKE. + __doc__="""ListLocationsRequest is used to request the locations that + offer GKE. Attributes: parent: - Contains the name of the resource requested. Specified in the - format 'projects/\*'. + Required. Contains the name of the resource requested. + Specified in the format 'projects/\*'. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ListLocationsRequest) ), @@ -11910,8 +12931,8 @@ dict( DESCRIPTOR=_LISTLOCATIONSRESPONSE, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListLocationsResponse returns the list of all GKE locations and their - recommendation state. + __doc__="""ListLocationsResponse returns the list of all GKE + locations and their recommendation state. Attributes: @@ -11935,8 +12956,8 @@ dict( DESCRIPTOR=_LOCATION, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Location returns the location name, and if the location is recommended - for GKE cluster scheduling. + __doc__="""Location returns the location name, and if the location is + recommended for GKE cluster scheduling. Attributes: @@ -11960,8 +12981,8 @@ dict( DESCRIPTOR=_STATUSCONDITION, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""StatusCondition describes why a cluster or a node pool has a certain - status (e.g., ERROR or DEGRADED). + __doc__="""StatusCondition describes why a cluster or a node pool has + a certain status (e.g., ERROR or DEGRADED). Attributes: @@ -11981,7 +13002,8 @@ dict( DESCRIPTOR=_NETWORKCONFIG, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""NetworkConfig reports the relative names of network & subnetwork. + __doc__="""NetworkConfig reports the relative names of network & + subnetwork. Attributes: @@ -11996,6 +13018,10 @@ `subnetwork `__ to which the cluster is connected. Example: projects/my-project/regions/us- central1/subnetworks/my-subnet + enable_intra_node_visibility: + Whether Intra-node visibility is enabled for this cluster. + This makes same node pod to pod traffic visible for VPC + network. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkConfig) ), @@ -12008,14 +13034,14 @@ dict( DESCRIPTOR=_LISTUSABLESUBNETWORKSREQUEST, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListUsableSubnetworksRequest requests the list of usable subnetworks. - available to a user for creating clusters. + __doc__="""ListUsableSubnetworksRequest requests the list of usable + subnetworks. available to a user for creating clusters. Attributes: parent: - The parent project where subnetworks are usable. Specified in - the format 'projects/\*'. + Required. The parent project where subnetworks are usable. + Specified in the format 'projects/\*'. filter: Filtering currently only supports equality on the networkProjectId and must be in the form: @@ -12094,7 +13120,8 @@ dict( DESCRIPTOR=_USABLESUBNETWORK, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Network Name. Example: projects/my-project/global/networks/my-network + __doc__="""Network Name. Example: + projects/my-project/global/networks/my-network Attributes: @@ -12124,9 +13151,9 @@ dict( DESCRIPTOR=_VERTICALPODAUTOSCALING, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""VerticalPodAutoscaling contains global, per-cluster information required - by Vertical Pod Autoscaler to automatically adjust the resources of pods - controlled by it. + __doc__="""VerticalPodAutoscaling contains global, per-cluster + information required by Vertical Pod Autoscaler to automatically adjust + the resources of pods controlled by it. Attributes: @@ -12138,6 +13165,25 @@ ) _sym_db.RegisterMessage(VerticalPodAutoscaling) +IntraNodeVisibilityConfig = _reflection.GeneratedProtocolMessageType( + "IntraNodeVisibilityConfig", + (_message.Message,), + dict( + DESCRIPTOR=_INTRANODEVISIBILITYCONFIG, + __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", + __doc__="""IntraNodeVisibilityConfig contains the desired config of + the intra-node visibility on this cluster. + + + Attributes: + enabled: + Enables intra node visibility for this cluster. + """, + # @@protoc_insertion_point(class_scope:google.container.v1beta1.IntraNodeVisibilityConfig) + ), +) +_sym_db.RegisterMessage(IntraNodeVisibilityConfig) + MaxPodsConstraint = _reflection.GeneratedProtocolMessageType( "MaxPodsConstraint", (_message.Message,), @@ -12156,6 +13202,28 @@ ) _sym_db.RegisterMessage(MaxPodsConstraint) +DatabaseEncryption = _reflection.GeneratedProtocolMessageType( + "DatabaseEncryption", + (_message.Message,), + dict( + DESCRIPTOR=_DATABASEENCRYPTION, + __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", + __doc__="""Configuration of etcd encryption. + + + Attributes: + state: + Denotes the state of etcd encryption. + key_name: + Name of CloudKMS key to use for the encryption of secrets in + etcd. Ex. projects/my-project/locations/global/keyRings/my- + ring/cryptoKeys/my-key + """, + # @@protoc_insertion_point(class_scope:google.container.v1beta1.DatabaseEncryption) + ), +) +_sym_db.RegisterMessage(DatabaseEncryption) + ResourceUsageExportConfig = _reflection.GeneratedProtocolMessageType( "ResourceUsageExportConfig", (_message.Message,), @@ -12166,8 +13234,8 @@ dict( DESCRIPTOR=_RESOURCEUSAGEEXPORTCONFIG_BIGQUERYDESTINATION, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Parameters for using BigQuery as the destination of resource usage - export. + __doc__="""Parameters for using BigQuery as the destination of + resource usage export. Attributes: @@ -12177,6 +13245,24 @@ # @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) ), ), + ConsumptionMeteringConfig=_reflection.GeneratedProtocolMessageType( + "ConsumptionMeteringConfig", + (_message.Message,), + dict( + DESCRIPTOR=_RESOURCEUSAGEEXPORTCONFIG_CONSUMPTIONMETERINGCONFIG, + __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", + __doc__="""Parameters for controlling consumption metering. + + + Attributes: + enabled: + Whether to enable consumption metering for this cluster. If + enabled, a second BigQuery table will be created to hold + resource consumption records. + """, + # @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) + ), + ), DESCRIPTOR=_RESOURCEUSAGEEXPORTCONFIG, __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", __doc__="""Configuration for exporting cluster resource usages. @@ -12189,61 +13275,82 @@ Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic. + consumption_metering_config: + Configuration to enable resource consumption metering. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceUsageExportConfig) ), ) _sym_db.RegisterMessage(ResourceUsageExportConfig) _sym_db.RegisterMessage(ResourceUsageExportConfig.BigQueryDestination) +_sym_db.RegisterMessage(ResourceUsageExportConfig.ConsumptionMeteringConfig) DESCRIPTOR._options = None _NODECONFIG_METADATAENTRY._options = None _NODECONFIG_LABELSENTRY._options = None +_ADDONSCONFIG.fields_by_name["kubernetes_dashboard"]._options = None _IPALLOCATIONPOLICY.fields_by_name["cluster_ipv4_cidr"]._options = None _IPALLOCATIONPOLICY.fields_by_name["node_ipv4_cidr"]._options = None _IPALLOCATIONPOLICY.fields_by_name["services_ipv4_cidr"]._options = None _CLUSTER_RESOURCELABELSENTRY._options = None +_CLUSTER.fields_by_name["initial_node_count"]._options = None +_CLUSTER.fields_by_name["node_config"]._options = None _CLUSTER.fields_by_name["private_cluster"]._options = None _CLUSTER.fields_by_name["master_ipv4_cidr_block"]._options = None _CLUSTER.fields_by_name["zone"]._options = None _CLUSTER.fields_by_name["current_node_version"]._options = None +_CLUSTER.fields_by_name["status_message"]._options = None _CLUSTER.fields_by_name["instance_group_urls"]._options = None _CLUSTER.fields_by_name["current_node_count"]._options = None _OPERATION.fields_by_name["zone"]._options = None +_OPERATION.fields_by_name["status_message"]._options = None _CREATECLUSTERREQUEST.fields_by_name["project_id"]._options = None _CREATECLUSTERREQUEST.fields_by_name["zone"]._options = None +_CREATECLUSTERREQUEST.fields_by_name["cluster"]._options = None _GETCLUSTERREQUEST.fields_by_name["project_id"]._options = None _GETCLUSTERREQUEST.fields_by_name["zone"]._options = None _GETCLUSTERREQUEST.fields_by_name["cluster_id"]._options = None _UPDATECLUSTERREQUEST.fields_by_name["project_id"]._options = None _UPDATECLUSTERREQUEST.fields_by_name["zone"]._options = None _UPDATECLUSTERREQUEST.fields_by_name["cluster_id"]._options = None +_UPDATECLUSTERREQUEST.fields_by_name["update"]._options = None _UPDATENODEPOOLREQUEST.fields_by_name["project_id"]._options = None _UPDATENODEPOOLREQUEST.fields_by_name["zone"]._options = None _UPDATENODEPOOLREQUEST.fields_by_name["cluster_id"]._options = None _UPDATENODEPOOLREQUEST.fields_by_name["node_pool_id"]._options = None +_UPDATENODEPOOLREQUEST.fields_by_name["node_version"]._options = None +_UPDATENODEPOOLREQUEST.fields_by_name["image_type"]._options = None _SETNODEPOOLAUTOSCALINGREQUEST.fields_by_name["project_id"]._options = None _SETNODEPOOLAUTOSCALINGREQUEST.fields_by_name["zone"]._options = None _SETNODEPOOLAUTOSCALINGREQUEST.fields_by_name["cluster_id"]._options = None _SETNODEPOOLAUTOSCALINGREQUEST.fields_by_name["node_pool_id"]._options = None +_SETNODEPOOLAUTOSCALINGREQUEST.fields_by_name["autoscaling"]._options = None _SETLOGGINGSERVICEREQUEST.fields_by_name["project_id"]._options = None +_SETLOGGINGSERVICEREQUEST.fields_by_name["zone"]._options = None _SETLOGGINGSERVICEREQUEST.fields_by_name["cluster_id"]._options = None +_SETLOGGINGSERVICEREQUEST.fields_by_name["logging_service"]._options = None _SETMONITORINGSERVICEREQUEST.fields_by_name["project_id"]._options = None _SETMONITORINGSERVICEREQUEST.fields_by_name["zone"]._options = None _SETMONITORINGSERVICEREQUEST.fields_by_name["cluster_id"]._options = None +_SETMONITORINGSERVICEREQUEST.fields_by_name["monitoring_service"]._options = None _SETADDONSCONFIGREQUEST.fields_by_name["project_id"]._options = None _SETADDONSCONFIGREQUEST.fields_by_name["zone"]._options = None _SETADDONSCONFIGREQUEST.fields_by_name["cluster_id"]._options = None +_SETADDONSCONFIGREQUEST.fields_by_name["addons_config"]._options = None _SETLOCATIONSREQUEST.fields_by_name["project_id"]._options = None _SETLOCATIONSREQUEST.fields_by_name["zone"]._options = None _SETLOCATIONSREQUEST.fields_by_name["cluster_id"]._options = None +_SETLOCATIONSREQUEST.fields_by_name["locations"]._options = None _UPDATEMASTERREQUEST.fields_by_name["project_id"]._options = None _UPDATEMASTERREQUEST.fields_by_name["zone"]._options = None _UPDATEMASTERREQUEST.fields_by_name["cluster_id"]._options = None +_UPDATEMASTERREQUEST.fields_by_name["master_version"]._options = None _SETMASTERAUTHREQUEST.fields_by_name["project_id"]._options = None _SETMASTERAUTHREQUEST.fields_by_name["zone"]._options = None _SETMASTERAUTHREQUEST.fields_by_name["cluster_id"]._options = None +_SETMASTERAUTHREQUEST.fields_by_name["action"]._options = None +_SETMASTERAUTHREQUEST.fields_by_name["update"]._options = None _DELETECLUSTERREQUEST.fields_by_name["project_id"]._options = None _DELETECLUSTERREQUEST.fields_by_name["zone"]._options = None _DELETECLUSTERREQUEST.fields_by_name["cluster_id"]._options = None @@ -12262,6 +13369,7 @@ _CREATENODEPOOLREQUEST.fields_by_name["project_id"]._options = None _CREATENODEPOOLREQUEST.fields_by_name["zone"]._options = None _CREATENODEPOOLREQUEST.fields_by_name["cluster_id"]._options = None +_CREATENODEPOOLREQUEST.fields_by_name["node_pool"]._options = None _DELETENODEPOOLREQUEST.fields_by_name["project_id"]._options = None _DELETENODEPOOLREQUEST.fields_by_name["zone"]._options = None _DELETENODEPOOLREQUEST.fields_by_name["cluster_id"]._options = None @@ -12273,14 +13381,18 @@ _GETNODEPOOLREQUEST.fields_by_name["zone"]._options = None _GETNODEPOOLREQUEST.fields_by_name["cluster_id"]._options = None _GETNODEPOOLREQUEST.fields_by_name["node_pool_id"]._options = None +_NODEPOOL.fields_by_name["status_message"]._options = None +_MAINTENANCEWINDOW_MAINTENANCEEXCLUSIONSENTRY._options = None _SETNODEPOOLMANAGEMENTREQUEST.fields_by_name["project_id"]._options = None _SETNODEPOOLMANAGEMENTREQUEST.fields_by_name["zone"]._options = None _SETNODEPOOLMANAGEMENTREQUEST.fields_by_name["cluster_id"]._options = None _SETNODEPOOLMANAGEMENTREQUEST.fields_by_name["node_pool_id"]._options = None +_SETNODEPOOLMANAGEMENTREQUEST.fields_by_name["management"]._options = None _SETNODEPOOLSIZEREQUEST.fields_by_name["project_id"]._options = None _SETNODEPOOLSIZEREQUEST.fields_by_name["zone"]._options = None _SETNODEPOOLSIZEREQUEST.fields_by_name["cluster_id"]._options = None _SETNODEPOOLSIZEREQUEST.fields_by_name["node_pool_id"]._options = None +_SETNODEPOOLSIZEREQUEST.fields_by_name["node_count"]._options = None _ROLLBACKNODEPOOLUPGRADEREQUEST.fields_by_name["project_id"]._options = None _ROLLBACKNODEPOOLUPGRADEREQUEST.fields_by_name["zone"]._options = None _ROLLBACKNODEPOOLUPGRADEREQUEST.fields_by_name["cluster_id"]._options = None @@ -12289,9 +13401,12 @@ _SETLABELSREQUEST.fields_by_name["project_id"]._options = None _SETLABELSREQUEST.fields_by_name["zone"]._options = None _SETLABELSREQUEST.fields_by_name["cluster_id"]._options = None +_SETLABELSREQUEST.fields_by_name["resource_labels"]._options = None +_SETLABELSREQUEST.fields_by_name["label_fingerprint"]._options = None _SETLEGACYABACREQUEST.fields_by_name["project_id"]._options = None _SETLEGACYABACREQUEST.fields_by_name["zone"]._options = None _SETLEGACYABACREQUEST.fields_by_name["cluster_id"]._options = None +_SETLEGACYABACREQUEST.fields_by_name["enabled"]._options = None _STARTIPROTATIONREQUEST.fields_by_name["project_id"]._options = None _STARTIPROTATIONREQUEST.fields_by_name["zone"]._options = None _STARTIPROTATIONREQUEST.fields_by_name["cluster_id"]._options = None @@ -12301,15 +13416,24 @@ _SETNETWORKPOLICYREQUEST.fields_by_name["project_id"]._options = None _SETNETWORKPOLICYREQUEST.fields_by_name["zone"]._options = None _SETNETWORKPOLICYREQUEST.fields_by_name["cluster_id"]._options = None +_SETNETWORKPOLICYREQUEST.fields_by_name["network_policy"]._options = None +_SETMAINTENANCEPOLICYREQUEST.fields_by_name["project_id"]._options = None +_SETMAINTENANCEPOLICYREQUEST.fields_by_name["zone"]._options = None +_SETMAINTENANCEPOLICYREQUEST.fields_by_name["cluster_id"]._options = None +_SETMAINTENANCEPOLICYREQUEST.fields_by_name["maintenance_policy"]._options = None +_LISTLOCATIONSREQUEST.fields_by_name["parent"]._options = None +_LISTUSABLESUBNETWORKSREQUEST.fields_by_name["parent"]._options = None _CLUSTERMANAGER = _descriptor.ServiceDescriptor( name="ClusterManager", full_name="google.container.v1beta1.ClusterManager", file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=15924, - serialized_end=24261, + serialized_options=_b( + "\312A\030container.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform" + ), + serialized_start=18172, + serialized_end=27563, methods=[ _descriptor.MethodDescriptor( name="ListClusters", @@ -12319,7 +13443,7 @@ input_type=_LISTCLUSTERSREQUEST, output_type=_LISTCLUSTERSRESPONSE, serialized_options=_b( - "\202\323\344\223\002k\0221/v1beta1/{parent=projects/*/locations/*}/clustersZ6\0224/v1beta1/projects/{project_id}/zones/{zone}/clusters" + "\202\323\344\223\002k\0221/v1beta1/{parent=projects/*/locations/*}/clustersZ6\0224/v1beta1/projects/{project_id}/zones/{zone}/clusters\332A\017project_id,zone" ), ), _descriptor.MethodDescriptor( @@ -12330,7 +13454,7 @@ input_type=_GETCLUSTERREQUEST, output_type=_CLUSTER, serialized_options=_b( - "\202\323\344\223\002x\0221/v1beta1/{name=projects/*/locations/*/clusters/*}ZC\022A/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}" + "\202\323\344\223\002x\0221/v1beta1/{name=projects/*/locations/*/clusters/*}ZC\022A/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}\332A\032project_id,zone,cluster_id" ), ), _descriptor.MethodDescriptor( @@ -12341,7 +13465,7 @@ input_type=_CREATECLUSTERREQUEST, output_type=_OPERATION, serialized_options=_b( - '\202\323\344\223\002q"1/v1beta1/{parent=projects/*/locations/*}/clusters:\001*Z9"4/v1beta1/projects/{project_id}/zones/{zone}/clusters:\001*' + '\202\323\344\223\002q"1/v1beta1/{parent=projects/*/locations/*}/clusters:\001*Z9"4/v1beta1/projects/{project_id}/zones/{zone}/clusters:\001*\332A\027project_id,zone,cluster' ), ), _descriptor.MethodDescriptor( @@ -12352,7 +13476,7 @@ input_type=_UPDATECLUSTERREQUEST, output_type=_OPERATION, serialized_options=_b( - "\202\323\344\223\002~\0321/v1beta1/{name=projects/*/locations/*/clusters/*}:\001*ZF\032A/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:\001*" + "\202\323\344\223\002~\0321/v1beta1/{name=projects/*/locations/*/clusters/*}:\001*ZF\032A/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:\001*\332A!project_id,zone,cluster_id,update" ), ), _descriptor.MethodDescriptor( @@ -12385,7 +13509,7 @@ input_type=_SETLOGGINGSERVICEREQUEST, output_type=_OPERATION, serialized_options=_b( - '\202\323\344\223\002\221\001"/v1beta1/{name=projects/*/locations/*/clusters/*}:setLocations:\001*ZP"K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/locations:\001*' + '\202\323\344\223\002\225\001">/v1beta1/{name=projects/*/locations/*/clusters/*}:setLocations:\001*ZP"K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/locations:\001*\332A$project_id,zone,cluster_id,locations' ), ), _descriptor.MethodDescriptor( @@ -12429,7 +13553,7 @@ input_type=_UPDATEMASTERREQUEST, output_type=_OPERATION, serialized_options=_b( - '\202\323\344\223\002\222\001">/v1beta1/{name=projects/*/locations/*/clusters/*}:updateMaster:\001*ZM"H/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/master:\001*' + '\202\323\344\223\002\222\001">/v1beta1/{name=projects/*/locations/*/clusters/*}:updateMaster:\001*ZM"H/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/master:\001*\332A)project_id,zone,cluster_id,master_version' ), ), _descriptor.MethodDescriptor( @@ -12451,7 +13575,7 @@ input_type=_DELETECLUSTERREQUEST, output_type=_OPERATION, serialized_options=_b( - "\202\323\344\223\002x*1/v1beta1/{name=projects/*/locations/*/clusters/*}ZC*A/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}" + "\202\323\344\223\002x*1/v1beta1/{name=projects/*/locations/*/clusters/*}ZC*A/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}\332A\032project_id,zone,cluster_id" ), ), _descriptor.MethodDescriptor( @@ -12462,7 +13586,7 @@ input_type=_LISTOPERATIONSREQUEST, output_type=_LISTOPERATIONSRESPONSE, serialized_options=_b( - "\202\323\344\223\002o\0223/v1beta1/{parent=projects/*/locations/*}/operationsZ8\0226/v1beta1/projects/{project_id}/zones/{zone}/operations" + "\202\323\344\223\002o\0223/v1beta1/{parent=projects/*/locations/*}/operationsZ8\0226/v1beta1/projects/{project_id}/zones/{zone}/operations\332A\017project_id,zone" ), ), _descriptor.MethodDescriptor( @@ -12473,7 +13597,7 @@ input_type=_GETOPERATIONREQUEST, output_type=_OPERATION, serialized_options=_b( - "\202\323\344\223\002~\0223/v1beta1/{name=projects/*/locations/*/operations/*}ZG\022E/v1beta1/projects/{project_id}/zones/{zone}/operations/{operation_id}" + "\202\323\344\223\002~\0223/v1beta1/{name=projects/*/locations/*/operations/*}ZG\022E/v1beta1/projects/{project_id}/zones/{zone}/operations/{operation_id}\332A\034project_id,zone,operation_id" ), ), _descriptor.MethodDescriptor( @@ -12484,7 +13608,7 @@ input_type=_CANCELOPERATIONREQUEST, output_type=google_dot_protobuf_dot_empty__pb2._EMPTY, serialized_options=_b( - '\202\323\344\223\002\222\001":/v1beta1/{name=projects/*/locations/*/operations/*}:cancel:\001*ZQ"L/v1beta1/projects/{project_id}/zones/{zone}/operations/{operation_id}:cancel:\001*' + '\202\323\344\223\002\222\001":/v1beta1/{name=projects/*/locations/*/operations/*}:cancel:\001*ZQ"L/v1beta1/projects/{project_id}/zones/{zone}/operations/{operation_id}:cancel:\001*\332A\034project_id,zone,operation_id' ), ), _descriptor.MethodDescriptor( @@ -12495,7 +13619,7 @@ input_type=_GETSERVERCONFIGREQUEST, output_type=_SERVERCONFIG, serialized_options=_b( - "\202\323\344\223\002q\0223/v1beta1/{name=projects/*/locations/*}/serverConfigZ:\0228/v1beta1/projects/{project_id}/zones/{zone}/serverconfig" + "\202\323\344\223\002q\0223/v1beta1/{name=projects/*/locations/*}/serverConfigZ:\0228/v1beta1/projects/{project_id}/zones/{zone}/serverconfig\332A\017project_id,zone" ), ), _descriptor.MethodDescriptor( @@ -12506,7 +13630,7 @@ input_type=_LISTNODEPOOLSREQUEST, output_type=_LISTNODEPOOLSRESPONSE, serialized_options=_b( - "\202\323\344\223\002\216\001\022=/v1beta1/{parent=projects/*/locations/*/clusters/*}/nodePoolsZM\022K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools" + "\202\323\344\223\002\216\001\022=/v1beta1/{parent=projects/*/locations/*/clusters/*}/nodePoolsZM\022K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools\332A\032project_id,zone,cluster_id" ), ), _descriptor.MethodDescriptor( @@ -12517,7 +13641,7 @@ input_type=_GETNODEPOOLREQUEST, output_type=_NODEPOOL, serialized_options=_b( - "\202\323\344\223\002\235\001\022=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}Z\\\022Z/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}" + "\202\323\344\223\002\235\001\022=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}Z\\\022Z/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}\332A'project_id,zone,cluster_id,node_pool_id" ), ), _descriptor.MethodDescriptor( @@ -12528,7 +13652,7 @@ input_type=_CREATENODEPOOLREQUEST, output_type=_OPERATION, serialized_options=_b( - '\202\323\344\223\002\224\001"=/v1beta1/{parent=projects/*/locations/*/clusters/*}/nodePools:\001*ZP"K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools:\001*' + '\202\323\344\223\002\224\001"=/v1beta1/{parent=projects/*/locations/*/clusters/*}/nodePools:\001*ZP"K/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools:\001*\332A$project_id,zone,cluster_id,node_pool' ), ), _descriptor.MethodDescriptor( @@ -12539,7 +13663,7 @@ input_type=_DELETENODEPOOLREQUEST, output_type=_OPERATION, serialized_options=_b( - "\202\323\344\223\002\235\001*=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}Z\\*Z/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}" + "\202\323\344\223\002\235\001*=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}Z\\*Z/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}\332A'project_id,zone,cluster_id,node_pool_id" ), ), _descriptor.MethodDescriptor( @@ -12550,7 +13674,7 @@ input_type=_ROLLBACKNODEPOOLUPGRADEREQUEST, output_type=_OPERATION, serialized_options=_b( - '\202\323\344\223\002\265\001"F/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:rollback:\001*Zh"c/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}:rollback:\001*' + '\202\323\344\223\002\265\001"F/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:rollback:\001*Zh"c/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}:rollback:\001*\332A\'project_id,zone,cluster_id,node_pool_id' ), ), _descriptor.MethodDescriptor( @@ -12561,7 +13685,7 @@ input_type=_SETNODEPOOLMANAGEMENTREQUEST, output_type=_OPERATION, serialized_options=_b( - '\202\323\344\223\002\277\001"K/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setManagement:\001*Zm"h/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setManagement:\001*' + '\202\323\344\223\002\277\001"K/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setManagement:\001*Zm"h/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setManagement:\001*\332A2project_id,zone,cluster_id,node_pool_id,management' ), ), _descriptor.MethodDescriptor( @@ -12572,7 +13696,7 @@ input_type=_SETLABELSREQUEST, output_type=_OPERATION, serialized_options=_b( - '\202\323\344\223\002\237\001"C/v1beta1/{name=projects/*/locations/*/clusters/*}:setResourceLabels:\001*ZU"P/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels:\001*' + '\202\323\344\223\002\237\001"C/v1beta1/{name=projects/*/locations/*/clusters/*}:setResourceLabels:\001*ZU"P/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels:\001*\332A