diff --git a/packages/google-cloud-container/.flake8 b/packages/google-cloud-container/.flake8 index 20fe9bda2ee4..ed9316381c9c 100644 --- a/packages/google-cloud-container/.flake8 +++ b/packages/google-cloud-container/.flake8 @@ -21,6 +21,8 @@ exclude = # Exclude generated code. **/proto/** **/gapic/** + **/services/** + **/types/** *_pb2.py # Standard linting exemptions. diff --git a/packages/google-cloud-container/.gitignore b/packages/google-cloud-container/.gitignore index 3fb06e09ce74..b87e1ed580d9 100644 --- a/packages/google-cloud-container/.gitignore +++ b/packages/google-cloud-container/.gitignore @@ -10,6 +10,7 @@ dist build eggs +.eggs parts bin var @@ -49,6 +50,7 @@ bigquery/docs/generated # Virtual environment env/ coverage.xml +sponge_log.xml # System test environment variables. system_tests/local_test_setup diff --git a/packages/google-cloud-container/.kokoro/publish-docs.sh b/packages/google-cloud-container/.kokoro/publish-docs.sh index ac9f7d8e0047..d3f611b31b30 100755 --- a/packages/google-cloud-container/.kokoro/publish-docs.sh +++ b/packages/google-cloud-container/.kokoro/publish-docs.sh @@ -13,8 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -#!/bin/bash - set -eo pipefail # Disable buffering, so that the logs stream through. diff --git a/packages/google-cloud-container/.kokoro/release.sh b/packages/google-cloud-container/.kokoro/release.sh index bdc8cf6339ff..fe4cfaafa855 100755 --- a/packages/google-cloud-container/.kokoro/release.sh +++ b/packages/google-cloud-container/.kokoro/release.sh @@ -13,8 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -#!/bin/bash - set -eo pipefail # Start the releasetool reporter diff --git a/packages/google-cloud-container/.kokoro/samples/lint/common.cfg b/packages/google-cloud-container/.kokoro/samples/lint/common.cfg new file mode 100644 index 000000000000..98b7f45a003d --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/lint/common.cfg @@ -0,0 +1,34 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Specify which tests to run +env_vars: { + key: "RUN_TESTS_SESSION" + value: "lint" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/python-container/.kokoro/test-samples.sh" +} + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker" +} + +# Download secrets for samples +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples" + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "python-container/.kokoro/trampoline.sh" \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/lint/continuous.cfg b/packages/google-cloud-container/.kokoro/samples/lint/continuous.cfg new file mode 100644 index 000000000000..a1c8d9759c88 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/lint/continuous.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "True" +} \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/lint/periodic.cfg b/packages/google-cloud-container/.kokoro/samples/lint/periodic.cfg new file mode 100644 index 000000000000..50fec9649732 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/lint/periodic.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "False" +} \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/lint/presubmit.cfg b/packages/google-cloud-container/.kokoro/samples/lint/presubmit.cfg new file mode 100644 index 000000000000..a1c8d9759c88 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/lint/presubmit.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "True" +} \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/python3.6/common.cfg b/packages/google-cloud-container/.kokoro/samples/python3.6/common.cfg new file mode 100644 index 000000000000..f62d4920f1da --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.6/common.cfg @@ -0,0 +1,34 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Specify which tests to run +env_vars: { + key: "RUN_TESTS_SESSION" + value: "py-3.6" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/python-container/.kokoro/test-samples.sh" +} + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker" +} + +# Download secrets for samples +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples" + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "python-container/.kokoro/trampoline.sh" \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/python3.6/continuous.cfg b/packages/google-cloud-container/.kokoro/samples/python3.6/continuous.cfg new file mode 100644 index 000000000000..7218af1499e5 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.6/continuous.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "True" +} + diff --git a/packages/google-cloud-container/.kokoro/samples/python3.6/periodic.cfg b/packages/google-cloud-container/.kokoro/samples/python3.6/periodic.cfg new file mode 100644 index 000000000000..50fec9649732 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.6/periodic.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "False" +} \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/python3.6/presubmit.cfg b/packages/google-cloud-container/.kokoro/samples/python3.6/presubmit.cfg new file mode 100644 index 000000000000..a1c8d9759c88 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.6/presubmit.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "True" +} \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/python3.7/common.cfg b/packages/google-cloud-container/.kokoro/samples/python3.7/common.cfg new file mode 100644 index 000000000000..4463d19855dc --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.7/common.cfg @@ -0,0 +1,34 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Specify which tests to run +env_vars: { + key: "RUN_TESTS_SESSION" + value: "py-3.7" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/python-container/.kokoro/test-samples.sh" +} + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker" +} + +# Download secrets for samples +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples" + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "python-container/.kokoro/trampoline.sh" \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/python3.7/continuous.cfg b/packages/google-cloud-container/.kokoro/samples/python3.7/continuous.cfg new file mode 100644 index 000000000000..a1c8d9759c88 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.7/continuous.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "True" +} \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/python3.7/periodic.cfg b/packages/google-cloud-container/.kokoro/samples/python3.7/periodic.cfg new file mode 100644 index 000000000000..50fec9649732 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.7/periodic.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "False" +} \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/python3.7/presubmit.cfg b/packages/google-cloud-container/.kokoro/samples/python3.7/presubmit.cfg new file mode 100644 index 000000000000..a1c8d9759c88 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.7/presubmit.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "True" +} \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/python3.8/common.cfg b/packages/google-cloud-container/.kokoro/samples/python3.8/common.cfg new file mode 100644 index 000000000000..77b79cba58da --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.8/common.cfg @@ -0,0 +1,34 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Specify which tests to run +env_vars: { + key: "RUN_TESTS_SESSION" + value: "py-3.8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/python-container/.kokoro/test-samples.sh" +} + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker" +} + +# Download secrets for samples +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples" + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "python-container/.kokoro/trampoline.sh" \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/python3.8/continuous.cfg b/packages/google-cloud-container/.kokoro/samples/python3.8/continuous.cfg new file mode 100644 index 000000000000..a1c8d9759c88 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.8/continuous.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "True" +} \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/python3.8/periodic.cfg b/packages/google-cloud-container/.kokoro/samples/python3.8/periodic.cfg new file mode 100644 index 000000000000..50fec9649732 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.8/periodic.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "False" +} \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/samples/python3.8/presubmit.cfg b/packages/google-cloud-container/.kokoro/samples/python3.8/presubmit.cfg new file mode 100644 index 000000000000..a1c8d9759c88 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/samples/python3.8/presubmit.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "INSTALL_LIBRARY_FROM_SOURCE" + value: "True" +} \ No newline at end of file diff --git a/packages/google-cloud-container/.kokoro/test-samples.sh b/packages/google-cloud-container/.kokoro/test-samples.sh new file mode 100755 index 000000000000..b8cb9cbc7cb0 --- /dev/null +++ b/packages/google-cloud-container/.kokoro/test-samples.sh @@ -0,0 +1,104 @@ +#!/bin/bash +# 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. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +# `-e` enables the script to automatically fail when a command fails +# `-o pipefail` sets the exit code to the rightmost comment to exit with a non-zero +set -eo pipefail +# Enables `**` to include files nested inside sub-folders +shopt -s globstar + +cd github/python-container + +# Run periodic samples tests at latest release +if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then + LATEST_RELEASE=$(git describe --abbrev=0 --tags) + git checkout $LATEST_RELEASE +fi + +# Disable buffering, so that the logs stream through. +export PYTHONUNBUFFERED=1 + +# Debug: show build environment +env | grep KOKORO + +# Install nox +python3.6 -m pip install --upgrade --quiet nox + +# Use secrets acessor service account to get secrets +if [[ -f "${KOKORO_GFILE_DIR}/secrets_viewer_service_account.json" ]]; then + gcloud auth activate-service-account \ + --key-file="${KOKORO_GFILE_DIR}/secrets_viewer_service_account.json" \ + --project="cloud-devrel-kokoro-resources" +fi + +# This script will create 3 files: +# - testing/test-env.sh +# - testing/service-account.json +# - testing/client-secrets.json +./scripts/decrypt-secrets.sh + +source ./testing/test-env.sh +export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/testing/service-account.json + +# For cloud-run session, we activate the service account for gcloud sdk. +gcloud auth activate-service-account \ + --key-file "${GOOGLE_APPLICATION_CREDENTIALS}" + +export GOOGLE_CLIENT_SECRETS=$(pwd)/testing/client-secrets.json + +echo -e "\n******************** TESTING PROJECTS ********************" + +# Switch to 'fail at end' to allow all tests to complete before exiting. +set +e +# Use RTN to return a non-zero value if the test fails. +RTN=0 +ROOT=$(pwd) +# Find all requirements.txt in the samples directory (may break on whitespace). +for file in samples/**/requirements.txt; do + cd "$ROOT" + # Navigate to the project folder. + file=$(dirname "$file") + cd "$file" + + echo "------------------------------------------------------------" + echo "- testing $file" + echo "------------------------------------------------------------" + + # Use nox to execute the tests for the project. + python3.6 -m nox -s "$RUN_TESTS_SESSION" + EXIT=$? + + # If this is a periodic build, send the test log to the Build Cop Bot. + # See https://github.com/googleapis/repo-automation-bots/tree/master/packages/buildcop. + if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then + chmod +x $KOKORO_GFILE_DIR/linux_amd64/buildcop + $KOKORO_GFILE_DIR/linux_amd64/buildcop + fi + + if [[ $EXIT -ne 0 ]]; then + RTN=1 + echo -e "\n Testing failed: Nox returned a non-zero exit code. \n" + else + echo -e "\n Testing completed.\n" + fi + +done +cd "$ROOT" + +# Workaround for Kokoro permissions issue: delete secrets +rm testing/{test-env.sh,client-secrets.json,service-account.json} + +exit "$RTN" \ No newline at end of file diff --git a/packages/google-cloud-container/MANIFEST.in b/packages/google-cloud-container/MANIFEST.in index 68855abc3f02..e9e29d12033d 100644 --- a/packages/google-cloud-container/MANIFEST.in +++ b/packages/google-cloud-container/MANIFEST.in @@ -20,3 +20,6 @@ recursive-include google *.json *.proto recursive-include tests * global-exclude *.py[co] global-exclude __pycache__ + +# Exclude scripts for samples readmegen +prune scripts/readme-gen \ No newline at end of file diff --git a/packages/google-cloud-container/docs/conf.py b/packages/google-cloud-container/docs/conf.py index 91b79c42db04..e971bae7d14d 100644 --- a/packages/google-cloud-container/docs/conf.py +++ b/packages/google-cloud-container/docs/conf.py @@ -38,21 +38,18 @@ "sphinx.ext.napoleon", "sphinx.ext.todo", "sphinx.ext.viewcode", + "recommonmark", ] # autodoc/autosummary flags autoclass_content = "both" -autodoc_default_flags = ["members"] +autodoc_default_options = {"members": True} autosummary_generate = True # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] -# Allow markdown includes (so releases.md can include CHANGLEOG.md) -# http://www.sphinx-doc.org/en/master/markdown.html -source_parsers = {".md": "recommonmark.parser.CommonMarkParser"} - # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # source_suffix = ['.rst', '.md'] @@ -340,7 +337,7 @@ intersphinx_mapping = { "python": ("http://python.readthedocs.org/en/latest/", None), "google-auth": ("https://google-auth.readthedocs.io/en/stable", None), - "google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None), + "google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None,), "grpc": ("https://grpc.io/grpc/python/", None), } diff --git a/packages/google-cloud-container/docs/index.rst b/packages/google-cloud-container/docs/index.rst index 9b788c6c01bf..e6e45813dbac 100644 --- a/packages/google-cloud-container/docs/index.rst +++ b/packages/google-cloud-container/docs/index.rst @@ -1,5 +1,7 @@ .. include:: README.rst +.. include:: multiprocessing.rst + API Reference ------------- .. toctree:: diff --git a/packages/google-cloud-container/docs/multiprocessing.rst b/packages/google-cloud-container/docs/multiprocessing.rst new file mode 100644 index 000000000000..1cb29d4ca967 --- /dev/null +++ b/packages/google-cloud-container/docs/multiprocessing.rst @@ -0,0 +1,7 @@ +.. note:: + + Because this client uses :mod:`grpcio` library, it is safe to + share instances across threads. In multiprocessing scenarios, the best + practice is to create client instances *after* the invocation of + :func:`os.fork` by :class:`multiprocessing.Pool` or + :class:`multiprocessing.Process`. diff --git a/packages/google-cloud-container/google/cloud/container.py b/packages/google-cloud-container/google/cloud/container.py index c6a8496aa564..6ef5290e1290 100644 --- a/packages/google-cloud-container/google/cloud/container.py +++ b/packages/google-cloud-container/google/cloud/container.py @@ -22,4 +22,8 @@ from google.cloud.container_v1 import types -__all__ = ("enums", "types", "ClusterManagerClient") +__all__ = ( + "enums", + "types", + "ClusterManagerClient", +) diff --git a/packages/google-cloud-container/google/cloud/container_v1/__init__.py b/packages/google-cloud-container/google/cloud/container_v1/__init__.py index ffb8fd728c57..740756b8c36a 100644 --- a/packages/google-cloud-container/google/cloud/container_v1/__init__.py +++ b/packages/google-cloud-container/google/cloud/container_v1/__init__.py @@ -26,8 +26,8 @@ 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" + "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) @@ -38,4 +38,8 @@ class ClusterManagerClient(cluster_manager_client.ClusterManagerClient): enums = enums -__all__ = ("enums", "types", "ClusterManagerClient") +__all__ = ( + "enums", + "types", + "ClusterManagerClient", +) diff --git a/packages/google-cloud-container/google/cloud/container_v1/gapic/cluster_manager_client.py b/packages/google-cloud-container/google/cloud/container_v1/gapic/cluster_manager_client.py index 3027453f7cfb..7d6c88a45bb5 100644 --- a/packages/google-cloud-container/google/cloud/container_v1/gapic/cluster_manager_client.py +++ b/packages/google-cloud-container/google/cloud/container_v1/gapic/cluster_manager_client.py @@ -39,7 +39,7 @@ _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - "google-cloud-container" + "google-cloud-container", ).version @@ -160,12 +160,12 @@ def __init__( self.transport = transport else: self.transport = cluster_manager_grpc_transport.ClusterManagerGrpcTransport( - address=api_endpoint, channel=channel, credentials=credentials + address=api_endpoint, channel=channel, credentials=credentials, ) if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION + gapic_version=_GAPIC_LIBRARY_VERSION, ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION @@ -176,7 +176,7 @@ def __init__( # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config["interfaces"][self._INTERFACE_NAME] + client_config["interfaces"][self._INTERFACE_NAME], ) # Save a dictionary of cached API call functions. @@ -186,6 +186,186 @@ def __init__( self._inner_api_calls = {} # Service calls + def delete_cluster( + self, + 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, + metadata=None, + ): + """ + Deletes the cluster, including the Kubernetes endpoint and all worker + nodes. + + 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, + 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_v1 + >>> + >>> client = container_v1.ClusterManagerClient() + >>> + >>> response = client.delete_cluster() + + 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 + `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. + 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/*``. + 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. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.cloud.container_v1.types.Operation` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if "delete_cluster" not in self._inner_api_calls: + self._inner_api_calls[ + "delete_cluster" + ] = google.api_core.gapic_v1.method.wrap_method( + self.transport.delete_cluster, + default_retry=self._method_configs["DeleteCluster"].retry, + default_timeout=self._method_configs["DeleteCluster"].timeout, + client_info=self._client_info, + ) + + request = cluster_service_pb2.DeleteClusterRequest( + project_id=project_id, zone=zone, cluster_id=cluster_id, name=name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [("name", name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata( + routing_header + ) + metadata.append(routing_metadata) + + return self._inner_api_calls["delete_cluster"]( + request, retry=retry, timeout=timeout, metadata=metadata + ) + + def delete_node_pool( + self, + 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, + metadata=None, + ): + """ + Deletes a node pool from a cluster. + + Example: + >>> from google.cloud import container_v1 + >>> + >>> client = container_v1.ClusterManagerClient() + >>> + >>> response = client.delete_node_pool() + + 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 + `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. + 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 + ``projects/*/locations/*/clusters/*/nodePools/*``. + 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. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.cloud.container_v1.types.Operation` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if "delete_node_pool" not in self._inner_api_calls: + self._inner_api_calls[ + "delete_node_pool" + ] = google.api_core.gapic_v1.method.wrap_method( + self.transport.delete_node_pool, + default_retry=self._method_configs["DeleteNodePool"].retry, + default_timeout=self._method_configs["DeleteNodePool"].timeout, + client_info=self._client_info, + ) + + request = cluster_service_pb2.DeleteNodePoolRequest( + project_id=project_id, + zone=zone, + cluster_id=cluster_id, + node_pool_id=node_pool_id, + name=name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [("name", name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata( + routing_header + ) + metadata.append(routing_metadata) + + return self._inner_api_calls["delete_node_pool"]( + request, retry=retry, timeout=timeout, metadata=metadata + ) + def list_clusters( self, project_id=None, @@ -248,7 +428,7 @@ def list_clusters( ) request = cluster_service_pb2.ListClustersRequest( - project_id=project_id, zone=zone, parent=parent + project_id=project_id, zone=zone, parent=parent, ) if metadata is None: metadata = [] @@ -330,7 +510,7 @@ def get_cluster( ) request = cluster_service_pb2.GetClusterRequest( - project_id=project_id, zone=zone, cluster_id=cluster_id, name=name + project_id=project_id, zone=zone, cluster_id=cluster_id, name=name, ) if metadata is None: metadata = [] @@ -360,8 +540,8 @@ def create_cluster( metadata=None, ): """ - Creates a cluster, consisting of the specified number and type of Google - Compute Engine instances. + Creates a cluster, consisting of the specified number and type of + Google Compute Engine instances. By default, the cluster is created in the project's `default network `__. @@ -429,7 +609,7 @@ def create_cluster( ) request = cluster_service_pb2.CreateClusterRequest( - cluster=cluster, project_id=project_id, zone=zone, parent=parent + cluster=cluster, project_id=project_id, zone=zone, parent=parent, ) if metadata is None: metadata = [] @@ -695,8 +875,8 @@ def set_node_pool_autoscaling( 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 set - autoscaler settings. Specified in the format + 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/*``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will @@ -778,8 +958,8 @@ def set_logging_service( >>> response = client.set_logging_service(logging_service) Args: - logging_service (str): Required. 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 @@ -889,8 +1069,9 @@ def set_monitoring_service( 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/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1081,8 +1262,9 @@ def set_locations( 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/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1340,96 +1522,6 @@ def set_master_auth( request, retry=retry, timeout=timeout, metadata=metadata ) - def delete_cluster( - self, - 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, - metadata=None, - ): - """ - Deletes the cluster, including the Kubernetes endpoint and all worker - nodes. - - 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, - 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_v1 - >>> - >>> client = container_v1.ClusterManagerClient() - >>> - >>> response = client.delete_cluster() - - 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 - `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. - 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/*``. - 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. - timeout (Optional[float]): The amount of time, in seconds, to wait - for the request to complete. Note that if ``retry`` is - specified, the timeout applies to each individual attempt. - metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata - that is provided to the method. - - Returns: - A :class:`~google.cloud.container_v1.types.Operation` instance. - - Raises: - google.api_core.exceptions.GoogleAPICallError: If the request - failed for any reason. - google.api_core.exceptions.RetryError: If the request failed due - to a retryable error and retry attempts failed. - ValueError: If the parameters are invalid. - """ - # Wrap the transport method to add retry and timeout logic. - if "delete_cluster" not in self._inner_api_calls: - self._inner_api_calls[ - "delete_cluster" - ] = google.api_core.gapic_v1.method.wrap_method( - self.transport.delete_cluster, - default_retry=self._method_configs["DeleteCluster"].retry, - default_timeout=self._method_configs["DeleteCluster"].timeout, - client_info=self._client_info, - ) - - request = cluster_service_pb2.DeleteClusterRequest( - project_id=project_id, zone=zone, cluster_id=cluster_id, name=name - ) - if metadata is None: - metadata = [] - metadata = list(metadata) - try: - routing_header = [("name", name)] - except AttributeError: - pass - else: - routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata( - routing_header - ) - metadata.append(routing_metadata) - - return self._inner_api_calls["delete_cluster"]( - request, retry=retry, timeout=timeout, metadata=metadata - ) - def list_operations( self, project_id=None, @@ -1457,9 +1549,9 @@ def list_operations( `zone `__ to return operations for, or ``-`` for all zones. This field has been deprecated and replaced by the parent field. - parent (str): The parent (project and location) where the operations will be listed. - Specified in the format ``projects/*/locations/*``. Location "-" matches - all zones and all regions. + parent (str): The parent (project and location) where the operations will be + listed. Specified in the format ``projects/*/locations/*``. Location "-" + matches all zones and all regions. 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. @@ -1491,7 +1583,7 @@ def list_operations( ) request = cluster_service_pb2.ListOperationsRequest( - project_id=project_id, zone=zone, parent=parent + project_id=project_id, zone=zone, parent=parent, ) if metadata is None: metadata = [] @@ -1538,8 +1630,8 @@ def get_operation( `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): 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 @@ -1573,7 +1665,7 @@ def get_operation( ) request = cluster_service_pb2.GetOperationRequest( - project_id=project_id, zone=zone, operation_id=operation_id, name=name + project_id=project_id, zone=zone, operation_id=operation_id, name=name, ) if metadata is None: metadata = [] @@ -1620,10 +1712,10 @@ def cancel_operation( `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. - name (str): The name (project, location, operation id) of the operation to cancel. - Specified in the format ``projects/*/locations/*/operations/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1652,7 +1744,7 @@ def cancel_operation( ) request = cluster_service_pb2.CancelOperationRequest( - project_id=project_id, zone=zone, operation_id=operation_id, name=name + project_id=project_id, zone=zone, operation_id=operation_id, name=name, ) if metadata is None: metadata = [] @@ -1698,8 +1790,8 @@ def get_server_config( `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. @@ -1731,7 +1823,7 @@ def get_server_config( ) request = cluster_service_pb2.GetServerConfigRequest( - project_id=project_id, zone=zone, name=name + project_id=project_id, zone=zone, name=name, ) if metadata is None: metadata = [] @@ -1780,8 +1872,9 @@ def list_node_pools( by the parent field. 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/*``. + parent (str): The parent (project, location, cluster id) where the node pools will + be listed. Specified in the format + ``projects/*/locations/*/clusters/*``. 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. @@ -1813,7 +1906,7 @@ def list_node_pools( ) request = cluster_service_pb2.ListNodePoolsRequest( - project_id=project_id, zone=zone, cluster_id=cluster_id, parent=parent + project_id=project_id, zone=zone, cluster_id=cluster_id, parent=parent, ) if metadata is None: metadata = [] @@ -1865,8 +1958,8 @@ def get_node_pool( This field has been deprecated and replaced by the name field. 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 + name (str): The name (project, location, cluster, node pool id) of the node pool + to get. Specified in the format ``projects/*/locations/*/clusters/*/nodePools/*``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will @@ -1960,8 +2053,9 @@ def create_node_pool( by the parent field. 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 pool will be - created. Specified in the format ``projects/*/locations/*/clusters/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2016,96 +2110,6 @@ def create_node_pool( request, retry=retry, timeout=timeout, metadata=metadata ) - def delete_node_pool( - self, - 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, - metadata=None, - ): - """ - Deletes a node pool from a cluster. - - Example: - >>> from google.cloud import container_v1 - >>> - >>> client = container_v1.ClusterManagerClient() - >>> - >>> response = client.delete_node_pool() - - 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 - `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. - 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 - ``projects/*/locations/*/clusters/*/nodePools/*``. - 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. - timeout (Optional[float]): The amount of time, in seconds, to wait - for the request to complete. Note that if ``retry`` is - specified, the timeout applies to each individual attempt. - metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata - that is provided to the method. - - Returns: - A :class:`~google.cloud.container_v1.types.Operation` instance. - - Raises: - google.api_core.exceptions.GoogleAPICallError: If the request - failed for any reason. - google.api_core.exceptions.RetryError: If the request failed due - to a retryable error and retry attempts failed. - ValueError: If the parameters are invalid. - """ - # Wrap the transport method to add retry and timeout logic. - if "delete_node_pool" not in self._inner_api_calls: - self._inner_api_calls[ - "delete_node_pool" - ] = google.api_core.gapic_v1.method.wrap_method( - self.transport.delete_node_pool, - default_retry=self._method_configs["DeleteNodePool"].retry, - default_timeout=self._method_configs["DeleteNodePool"].timeout, - client_info=self._client_info, - ) - - request = cluster_service_pb2.DeleteNodePoolRequest( - project_id=project_id, - zone=zone, - cluster_id=cluster_id, - node_pool_id=node_pool_id, - name=name, - ) - if metadata is None: - metadata = [] - metadata = list(metadata) - try: - routing_header = [("name", name)] - except AttributeError: - pass - else: - routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata( - routing_header - ) - metadata.append(routing_metadata) - - return self._inner_api_calls["delete_node_pool"]( - request, retry=retry, timeout=timeout, metadata=metadata - ) - def rollback_node_pool_upgrade( self, project_id=None, @@ -2140,8 +2144,8 @@ def rollback_node_pool_upgrade( This field has been deprecated and replaced by the name field. 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 + name (str): The name (project, location, cluster, node pool id) of the node poll + to rollback upgrade. Specified in the format ``projects/*/locations/*/clusters/*/nodePools/*``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will @@ -2238,8 +2242,8 @@ def set_node_pool_management( This field has been deprecated and replaced by the name field. node_pool_id (str): Deprecated. The name of the node pool to update. 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 - set management properties. Specified in the format + 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/*``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will @@ -2341,8 +2345,8 @@ def set_labels( 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/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2433,8 +2437,9 @@ def set_legacy_abac( by the name field. cluster_id (str): Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. - name (str): The name (project, location, cluster id) of the cluster to set legacy - abac. Specified in the format ``projects/*/locations/*/clusters/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2607,8 +2612,9 @@ def complete_i_p_rotation( 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 complete IP - rotation. Specified in the format ``projects/*/locations/*/clusters/*``. + name (str): The name (project, location, cluster id) of the cluster to complete + IP rotation. Specified in the format + ``projects/*/locations/*/clusters/*``. 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. @@ -2640,7 +2646,7 @@ def complete_i_p_rotation( ) request = cluster_service_pb2.CompleteIPRotationRequest( - project_id=project_id, zone=zone, cluster_id=cluster_id, name=name + project_id=project_id, zone=zone, cluster_id=cluster_id, name=name, ) if metadata is None: metadata = [] @@ -2697,8 +2703,8 @@ def set_node_pool_size( This field has been deprecated and replaced by the name field. node_pool_id (str): Deprecated. The name of the node pool to update. 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 - set size. Specified in the format + 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/*``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will @@ -2984,10 +2990,10 @@ def list_usable_subnetworks( ... pass Args: - parent (str): 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 + parent (str): 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. This defaults to the parent project ID. page_size (int): The maximum number of resources contained in the @@ -3029,7 +3035,7 @@ def list_usable_subnetworks( ) request = cluster_service_pb2.ListUsableSubnetworksRequest( - parent=parent, filter=filter_, page_size=page_size + parent=parent, filter=filter_, page_size=page_size, ) if metadata is None: metadata = [] diff --git a/packages/google-cloud-container/google/cloud/container_v1/gapic/cluster_manager_client_config.py b/packages/google-cloud-container/google/cloud/container_v1/gapic/cluster_manager_client_config.py index 1a761ab11def..bee6ad660b4a 100644 --- a/packages/google-cloud-container/google/cloud/container_v1/gapic/cluster_manager_client_config.py +++ b/packages/google-cloud-container/google/cloud/container_v1/gapic/cluster_manager_client_config.py @@ -17,6 +17,16 @@ } }, "methods": { + "DeleteCluster": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default", + }, + "DeleteNodePool": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default", + }, "ListClusters": { "timeout_millis": 60000, "retry_codes_name": "idempotent", @@ -77,11 +87,6 @@ "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, - "DeleteCluster": { - "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", - "retry_params_name": "default", - }, "ListOperations": { "timeout_millis": 60000, "retry_codes_name": "idempotent", @@ -117,11 +122,6 @@ "retry_codes_name": "non_idempotent", "retry_params_name": "default", }, - "DeleteNodePool": { - "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", - "retry_params_name": "default", - }, "RollbackNodePoolUpgrade": { "timeout_millis": 60000, "retry_codes_name": "non_idempotent", diff --git a/packages/google-cloud-container/google/cloud/container_v1/gapic/enums.py b/packages/google-cloud-container/google/cloud/container_v1/gapic/enums.py index eb8928a05aba..d2115633fca7 100644 --- a/packages/google-cloud-container/google/cloud/container_v1/gapic/enums.py +++ b/packages/google-cloud-container/google/cloud/container_v1/gapic/enums.py @@ -29,14 +29,15 @@ class Status(enum.IntEnum): PROVISIONING (int): The PROVISIONING state indicates the cluster is being created. RUNNING (int): The RUNNING state indicates the cluster has been created and is fully usable. - RECONCILING (int): The RECONCILING state indicates that some work is actively being done on - the cluster, such as upgrading the master or node software. Details can - be found in the ``statusMessage`` field. + RECONCILING (int): The RECONCILING state indicates that some work is actively being + done on the cluster, such as upgrading the master or node software. + Details can be found in the ``statusMessage`` field. STOPPING (int): The STOPPING state indicates the cluster is being deleted. - ERROR (int): The ERROR state indicates the cluster may be unusable. Details can be - found in the ``statusMessage`` field. - DEGRADED (int): The DEGRADED state indicates the cluster requires user action to restore - full functionality. Details can be found in the ``statusMessage`` field. + ERROR (int): The ERROR state indicates the cluster may be unusable. Details can + be found in the ``statusMessage`` field. + DEGRADED (int): The DEGRADED state indicates the cluster requires user action to + restore full functionality. Details can be found in the + ``statusMessage`` field. """ STATUS_UNSPECIFIED = 0 @@ -89,16 +90,16 @@ class Status(enum.IntEnum): PROVISIONING (int): The PROVISIONING state indicates the node pool is being created. RUNNING (int): The RUNNING state indicates the node pool has been created and is fully usable. - RUNNING_WITH_ERROR (int): The RUNNING\_WITH\_ERROR state indicates the node pool has been created - and is partially usable. Some error state has occurred and some + RUNNING_WITH_ERROR (int): The RUNNING_WITH_ERROR state indicates the node pool has been + created and is partially usable. Some error state has occurred and some functionality may be impaired. Customer may need to reissue a request or trigger a new update. - RECONCILING (int): The RECONCILING state indicates that some work is actively being done on - the node pool, such as upgrading node software. Details can be found in - the ``statusMessage`` field. - STOPPING (int): The STOPPING state indicates the node pool is being deleted. - ERROR (int): The ERROR state indicates the node pool may be unusable. Details can be + RECONCILING (int): The RECONCILING state indicates that some work is actively being + done on the node pool, such as upgrading node software. Details can be found in the ``statusMessage`` field. + STOPPING (int): The STOPPING state indicates the node pool is being deleted. + ERROR (int): The ERROR state indicates the node pool may be unusable. Details can + be found in the ``statusMessage`` field. """ STATUS_UNSPECIFIED = 0 @@ -218,8 +219,8 @@ class Code(enum.IntEnum): Attributes: UNKNOWN (int): UNKNOWN indicates a generic condition. - GCE_STOCKOUT (int): GCE\_STOCKOUT indicates a Google Compute Engine stockout. - GKE_SERVICE_ACCOUNT_DELETED (int): GKE\_SERVICE\_ACCOUNT\_DELETED indicates that the user deleted their + GCE_STOCKOUT (int): GCE_STOCKOUT indicates a Google Compute Engine stockout. + GKE_SERVICE_ACCOUNT_DELETED (int): GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their 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. @@ -244,12 +245,12 @@ class Status(enum.IntEnum): Attributes: UNKNOWN (int): UNKNOWN is the zero value of the Status enum. It's not a valid status. UNUSED (int): UNUSED denotes that this range is unclaimed by any cluster. - IN_USE_SERVICE (int): IN\_USE\_SERVICE denotes that this range is claimed by a cluster for + IN_USE_SERVICE (int): IN_USE_SERVICE denotes that this range is claimed by a cluster for services. It cannot be used for other clusters. - IN_USE_SHAREABLE_POD (int): IN\_USE\_SHAREABLE\_POD denotes this range was created by the network + IN_USE_SHAREABLE_POD (int): IN_USE_SHAREABLE_POD denotes this range was created by the network admin and is currently claimed by a cluster for pods. It can only be used by other clusters as a pod range. - IN_USE_MANAGED_POD (int): IN\_USE\_MANAGED\_POD denotes this range was created by GKE and is + IN_USE_MANAGED_POD (int): IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed for pods. It cannot be used for other clusters. """ diff --git a/packages/google-cloud-container/google/cloud/container_v1/gapic/transports/cluster_manager_grpc_transport.py b/packages/google-cloud-container/google/cloud/container_v1/gapic/transports/cluster_manager_grpc_transport.py index 5fad469cda0a..37c93439650c 100644 --- a/packages/google-cloud-container/google/cloud/container_v1/gapic/transports/cluster_manager_grpc_transport.py +++ b/packages/google-cloud-container/google/cloud/container_v1/gapic/transports/cluster_manager_grpc_transport.py @@ -53,7 +53,7 @@ def __init__( # exception (channels come with credentials baked in already). if channel is not None and credentials is not None: raise ValueError( - "The `channel` and `credentials` arguments are mutually " "exclusive." + "The `channel` and `credentials` arguments are mutually " "exclusive.", ) # Create the channel. @@ -72,7 +72,9 @@ def __init__( # gRPC uses objects called "stubs" that are bound to the # channel and provide a basic method for each RPC. self._stubs = { - "cluster_manager_stub": cluster_service_pb2_grpc.ClusterManagerStub(channel) + "cluster_manager_stub": cluster_service_pb2_grpc.ClusterManagerStub( + channel + ), } @classmethod @@ -107,6 +109,40 @@ def channel(self): """ return self._channel + @property + def delete_cluster(self): + """Return the gRPC stub for :meth:`ClusterManagerClient.delete_cluster`. + + Deletes the cluster, including the Kubernetes endpoint and all worker + nodes. + + 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, + 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 + deserialized request object and returns a + deserialized response object. + """ + return self._stubs["cluster_manager_stub"].DeleteCluster + + @property + def delete_node_pool(self): + """Return the gRPC stub for :meth:`ClusterManagerClient.delete_node_pool`. + + Deletes a node pool from a cluster. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs["cluster_manager_stub"].DeleteNodePool + @property def list_clusters(self): """Return the gRPC stub for :meth:`ClusterManagerClient.list_clusters`. @@ -138,8 +174,8 @@ def get_cluster(self): def create_cluster(self): """Return the gRPC stub for :meth:`ClusterManagerClient.create_cluster`. - Creates a cluster, consisting of the specified number and type of Google - Compute Engine instances. + Creates a cluster, consisting of the specified number and type of + Google Compute Engine instances. By default, the cluster is created in the project's `default network `__. @@ -277,27 +313,6 @@ def set_master_auth(self): """ return self._stubs["cluster_manager_stub"].SetMasterAuth - @property - def delete_cluster(self): - """Return the gRPC stub for :meth:`ClusterManagerClient.delete_cluster`. - - Deletes the cluster, including the Kubernetes endpoint and all worker - nodes. - - 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, - 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 - deserialized request object and returns a - deserialized response object. - """ - return self._stubs["cluster_manager_stub"].DeleteCluster - @property def list_operations(self): """Return the gRPC stub for :meth:`ClusterManagerClient.list_operations`. @@ -389,19 +404,6 @@ def create_node_pool(self): """ return self._stubs["cluster_manager_stub"].CreateNodePool - @property - def delete_node_pool(self): - """Return the gRPC stub for :meth:`ClusterManagerClient.delete_node_pool`. - - Deletes a node pool from a cluster. - - Returns: - Callable: A callable which accepts the appropriate - deserialized request object and returns a - deserialized response object. - """ - return self._stubs["cluster_manager_stub"].DeleteNodePool - @property def rollback_node_pool_upgrade(self): """Return the gRPC stub for :meth:`ClusterManagerClient.rollback_node_pool_upgrade`. diff --git a/packages/google-cloud-container/google/cloud/container_v1/proto/cluster_service.proto b/packages/google-cloud-container/google/cloud/container_v1/proto/cluster_service.proto index 3a798ca12f46..6363fc9496da 100644 --- a/packages/google-cloud-container/google/cloud/container_v1/proto/cluster_service.proto +++ b/packages/google-cloud-container/google/cloud/container_v1/proto/cluster_service.proto @@ -989,7 +989,7 @@ message Cluster { string description = 2; // The number of nodes to create in this cluster. You must ensure that your - // Compute Engine resource quota + // Compute Engine [resource quota](https://cloud.google.com/compute/quotas) // is sufficient for this number of instances. You must also have available // firewall and routes quota. // For requests, this field should only be used in lieu of a @@ -2087,7 +2087,7 @@ message NodePool { NodeConfig config = 2; // The initial node count for the pool. You must ensure that your - // Compute Engine resource quota + // Compute Engine [resource quota](https://cloud.google.com/compute/quotas) // is sufficient for this number of instances. You must also have available // firewall and routes quota. int32 initial_node_count = 3; diff --git a/packages/google-cloud-container/google/cloud/container_v1/proto/cluster_service_pb2.py b/packages/google-cloud-container/google/cloud/container_v1/proto/cluster_service_pb2.py index 06680e7234cc..e110e056f044 100644 --- a/packages/google-cloud-container/google/cloud/container_v1/proto/cluster_service_pb2.py +++ b/packages/google-cloud-container/google/cloud/container_v1/proto/cluster_service_pb2.py @@ -3,9 +3,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/container_v1/proto/cluster_service.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -27,12 +24,9 @@ name="google/cloud/container_v1/proto/cluster_service.proto", package="google.container.v1", syntax="proto3", - serialized_options=_b( - "\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"\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"\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"`__ @@ -9515,7 +10190,7 @@ Shielded Instance options. """, # @@protoc_insertion_point(class_scope:google.container.v1.NodeConfig) - ), + }, ) _sym_db.RegisterMessage(NodeConfig) _sym_db.RegisterMessage(NodeConfig.MetadataEntry) @@ -9524,10 +10199,11 @@ ShieldedInstanceConfig = _reflection.GeneratedProtocolMessageType( "ShieldedInstanceConfig", (_message.Message,), - dict( - DESCRIPTOR=_SHIELDEDINSTANCECONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""A set of Shielded Instance options. + { + "DESCRIPTOR": _SHIELDEDINSTANCECONFIG, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """A set of Shielded Instance options. + Attributes: enable_secure_boot: Defines whether the instance has Secure Boot enabled. Secure @@ -9543,21 +10219,22 @@ created. """, # @@protoc_insertion_point(class_scope:google.container.v1.ShieldedInstanceConfig) - ), + }, ) _sym_db.RegisterMessage(ShieldedInstanceConfig) NodeTaint = _reflection.GeneratedProtocolMessageType( "NodeTaint", (_message.Message,), - dict( - DESCRIPTOR=_NODETAINT, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Kubernetes taint is comprised of three fields: key, value, and effect. + { + "DESCRIPTOR": _NODETAINT, + "__module__": "google.cloud.container_v1.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. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint- and-toleration/ + Attributes: key: Key for taint. @@ -9567,19 +10244,20 @@ Effect for taint. """, # @@protoc_insertion_point(class_scope:google.container.v1.NodeTaint) - ), + }, ) _sym_db.RegisterMessage(NodeTaint) MasterAuth = _reflection.GeneratedProtocolMessageType( "MasterAuth", (_message.Message,), - dict( - DESCRIPTOR=_MASTERAUTH, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""The authentication information for accessing the master endpoint. + { + "DESCRIPTOR": _MASTERAUTH, + "__module__": "google.cloud.container_v1.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. + Attributes: username: The username to use for HTTP basic authentication to the @@ -9606,34 +10284,36 @@ authenticate to the cluster endpoint. """, # @@protoc_insertion_point(class_scope:google.container.v1.MasterAuth) - ), + }, ) _sym_db.RegisterMessage(MasterAuth) ClientCertificateConfig = _reflection.GeneratedProtocolMessageType( "ClientCertificateConfig", (_message.Message,), - dict( - DESCRIPTOR=_CLIENTCERTIFICATECONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration for client certificates on the cluster. + { + "DESCRIPTOR": _CLIENTCERTIFICATECONFIG, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration for client certificates on the cluster. + Attributes: issue_client_certificate: Issue a client certificate. """, # @@protoc_insertion_point(class_scope:google.container.v1.ClientCertificateConfig) - ), + }, ) _sym_db.RegisterMessage(ClientCertificateConfig) AddonsConfig = _reflection.GeneratedProtocolMessageType( "AddonsConfig", (_message.Message,), - dict( - DESCRIPTOR=_ADDONSCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration for the addons that can be automatically spun up in the + { + "DESCRIPTOR": _ADDONSCONFIG, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality. + Attributes: http_load_balancing: Configuration for the HTTP (L7) load balancing controller @@ -9660,19 +10340,20 @@ to use a managed Knative service. """, # @@protoc_insertion_point(class_scope:google.container.v1.AddonsConfig) - ), + }, ) _sym_db.RegisterMessage(AddonsConfig) HttpLoadBalancing = _reflection.GeneratedProtocolMessageType( "HttpLoadBalancing", (_message.Message,), - dict( - DESCRIPTOR=_HTTPLOADBALANCING, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration options for the HTTP (L7) load balancing controller + { + "DESCRIPTOR": _HTTPLOADBALANCING, + "__module__": "google.cloud.container_v1.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. + Attributes: disabled: Whether the HTTP Load Balancing controller is enabled in the @@ -9680,19 +10361,20 @@ manages the load balancers. """, # @@protoc_insertion_point(class_scope:google.container.v1.HttpLoadBalancing) - ), + }, ) _sym_db.RegisterMessage(HttpLoadBalancing) HorizontalPodAutoscaling = _reflection.GeneratedProtocolMessageType( "HorizontalPodAutoscaling", (_message.Message,), - dict( - DESCRIPTOR=_HORIZONTALPODAUTOSCALING, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration options for the horizontal pod autoscaling feature, + { + "DESCRIPTOR": _HORIZONTALPODAUTOSCALING, + "__module__": "google.cloud.container_v1.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. + Attributes: disabled: Whether the Horizontal Pod Autoscaling feature is enabled in @@ -9701,84 +10383,88 @@ Monitoring service. """, # @@protoc_insertion_point(class_scope:google.container.v1.HorizontalPodAutoscaling) - ), + }, ) _sym_db.RegisterMessage(HorizontalPodAutoscaling) KubernetesDashboard = _reflection.GeneratedProtocolMessageType( "KubernetesDashboard", (_message.Message,), - dict( - DESCRIPTOR=_KUBERNETESDASHBOARD, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration for the Kubernetes Dashboard. + { + "DESCRIPTOR": _KUBERNETESDASHBOARD, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration for the Kubernetes Dashboard. + Attributes: disabled: Whether the Kubernetes Dashboard is enabled for this cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1.KubernetesDashboard) - ), + }, ) _sym_db.RegisterMessage(KubernetesDashboard) NetworkPolicyConfig = _reflection.GeneratedProtocolMessageType( "NetworkPolicyConfig", (_message.Message,), - dict( - DESCRIPTOR=_NETWORKPOLICYCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration for NetworkPolicy. This only tracks whether the addon is + { + "DESCRIPTOR": _NETWORKPOLICYCONFIG, + "__module__": "google.cloud.container_v1.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. + Attributes: disabled: Whether NetworkPolicy is enabled for this cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1.NetworkPolicyConfig) - ), + }, ) _sym_db.RegisterMessage(NetworkPolicyConfig) PrivateClusterConfig = _reflection.GeneratedProtocolMessageType( "PrivateClusterConfig", (_message.Message,), - dict( - DESCRIPTOR=_PRIVATECLUSTERCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration options for private clusters. + { + "DESCRIPTOR": _PRIVATECLUSTERCONFIG, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration options for private clusters. + Attributes: enable_private_nodes: Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking. enable_private_endpoint: - Whether the master's internal IP address is used as the + Whether the master’s internal IP address is used as the cluster endpoint. master_ipv4_cidr_block: The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use - within the cluster's network. + within the cluster’s network. private_endpoint: - Output only. The internal IP address of this cluster's master + Output only. The internal IP address of this cluster’s master endpoint. public_endpoint: - Output only. The external IP address of this cluster's master + Output only. The external IP address of this cluster’s master endpoint. """, # @@protoc_insertion_point(class_scope:google.container.v1.PrivateClusterConfig) - ), + }, ) _sym_db.RegisterMessage(PrivateClusterConfig) AuthenticatorGroupsConfig = _reflection.GeneratedProtocolMessageType( "AuthenticatorGroupsConfig", (_message.Message,), - dict( - DESCRIPTOR=_AUTHENTICATORGROUPSCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration for returning group information from authenticators. + { + "DESCRIPTOR": _AUTHENTICATORGROUPSCONFIG, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration for returning group information from authenticators. + Attributes: enabled: Whether this cluster should return group membership lookups @@ -9788,63 +10474,66 @@ relevant if enabled = true. """, # @@protoc_insertion_point(class_scope:google.container.v1.AuthenticatorGroupsConfig) - ), + }, ) _sym_db.RegisterMessage(AuthenticatorGroupsConfig) CloudRunConfig = _reflection.GeneratedProtocolMessageType( "CloudRunConfig", (_message.Message,), - dict( - DESCRIPTOR=_CLOUDRUNCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration options for the Cloud Run feature. + { + "DESCRIPTOR": _CLOUDRUNCONFIG, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration options for the Cloud Run feature. + Attributes: disabled: Whether Cloud Run addon is enabled for this cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1.CloudRunConfig) - ), + }, ) _sym_db.RegisterMessage(CloudRunConfig) MasterAuthorizedNetworksConfig = _reflection.GeneratedProtocolMessageType( "MasterAuthorizedNetworksConfig", (_message.Message,), - dict( - CidrBlock=_reflection.GeneratedProtocolMessageType( + { + "CidrBlock": _reflection.GeneratedProtocolMessageType( "CidrBlock", (_message.Message,), - dict( - DESCRIPTOR=_MASTERAUTHORIZEDNETWORKSCONFIG_CIDRBLOCK, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""CidrBlock contains an optional name and one CIDR block. + { + "DESCRIPTOR": _MASTERAUTHORIZEDNETWORKSCONFIG_CIDRBLOCK, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """CidrBlock contains an optional name and one CIDR block. + Attributes: display_name: - display\_name is an optional field for users to identify CIDR + display_name is an optional field for users to identify CIDR blocks. cidr_block: - cidr\_block must be specified in CIDR notation. + cidr_block must be specified in CIDR notation. """, # @@protoc_insertion_point(class_scope:google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) - ), + }, ), - DESCRIPTOR=_MASTERAUTHORIZEDNETWORKSCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration options for the master authorized networks feature. + "DESCRIPTOR": _MASTERAUTHORIZEDNETWORKSCONFIG, + "__module__": "google.cloud.container_v1.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. + Attributes: enabled: Whether or not master authorized networks is enabled. cidr_blocks: - cidr\_blocks define up to 50 external networks that could + cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS. """, # @@protoc_insertion_point(class_scope:google.container.v1.MasterAuthorizedNetworksConfig) - ), + }, ) _sym_db.RegisterMessage(MasterAuthorizedNetworksConfig) _sym_db.RegisterMessage(MasterAuthorizedNetworksConfig.CidrBlock) @@ -9852,11 +10541,12 @@ LegacyAbac = _reflection.GeneratedProtocolMessageType( "LegacyAbac", (_message.Message,), - dict( - DESCRIPTOR=_LEGACYABAC, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration for the legacy Attribute Based Access Control + { + "DESCRIPTOR": _LEGACYABAC, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration for the legacy Attribute Based Access Control authorization mode. + Attributes: enabled: Whether the ABAC authorizer is enabled for this cluster. When @@ -9866,19 +10556,20 @@ IAM. """, # @@protoc_insertion_point(class_scope:google.container.v1.LegacyAbac) - ), + }, ) _sym_db.RegisterMessage(LegacyAbac) NetworkPolicy = _reflection.GeneratedProtocolMessageType( "NetworkPolicy", (_message.Message,), - dict( - DESCRIPTOR=_NETWORKPOLICY, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration options for the NetworkPolicy feature. + { + "DESCRIPTOR": _NETWORKPOLICY, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services- networking/networkpolicies/ + Attributes: provider: The selected network policy provider. @@ -9886,34 +10577,36 @@ Whether network policy is enabled on the cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1.NetworkPolicy) - ), + }, ) _sym_db.RegisterMessage(NetworkPolicy) BinaryAuthorization = _reflection.GeneratedProtocolMessageType( "BinaryAuthorization", (_message.Message,), - dict( - DESCRIPTOR=_BINARYAUTHORIZATION, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration for Binary Authorization. + { + "DESCRIPTOR": _BINARYAUTHORIZATION, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration for Binary Authorization. + Attributes: enabled: Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Binary Authorization. """, # @@protoc_insertion_point(class_scope:google.container.v1.BinaryAuthorization) - ), + }, ) _sym_db.RegisterMessage(BinaryAuthorization) IPAllocationPolicy = _reflection.GeneratedProtocolMessageType( "IPAllocationPolicy", (_message.Message,), - dict( - DESCRIPTOR=_IPALLOCATIONPOLICY, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration for controlling how IPs are allocated in the cluster. + { + "DESCRIPTOR": _IPALLOCATIONPOLICY, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration for controlling how IPs are allocated in the cluster. + Attributes: use_ip_aliases: Whether alias IPs will be used for pod IPs in the cluster. @@ -9926,24 +10619,24 @@ is true. If this field is empty, then an automatic name will be chosen for the new subnetwork. cluster_ipv4_cidr: - This field is deprecated, use cluster\_ipv4\_cidr\_block. + This field is deprecated, use cluster_ipv4_cidr_block. node_ipv4_cidr: - This field is deprecated, use node\_ipv4\_cidr\_block. + This field is deprecated, use node_ipv4_cidr_block. services_ipv4_cidr: - This field is deprecated, use services\_ipv4\_cidr\_block. + This field is deprecated, use services_ipv4_cidr_block. cluster_secondary_range_name: The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable - with use\_ip\_aliases is true and create\_subnetwork is false. + with use_ip_aliases is true and create_subnetwork is false. services_secondary_range_name: The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork. This field is only - applicable with use\_ip\_aliases is true and - create\_subnetwork is false. + applicable with use_ip_aliases is true and create_subnetwork + is false. cluster_ipv4_cidr_block: The IP address range for the cluster pod IPs. If this field is set, then ``cluster.cluster_ipv4_cidr`` must be left blank. @@ -9993,30 +10686,31 @@ range to use. """, # @@protoc_insertion_point(class_scope:google.container.v1.IPAllocationPolicy) - ), + }, ) _sym_db.RegisterMessage(IPAllocationPolicy) Cluster = _reflection.GeneratedProtocolMessageType( "Cluster", (_message.Message,), - dict( - ResourceLabelsEntry=_reflection.GeneratedProtocolMessageType( + { + "ResourceLabelsEntry": _reflection.GeneratedProtocolMessageType( "ResourceLabelsEntry", (_message.Message,), - dict( - DESCRIPTOR=_CLUSTER_RESOURCELABELSENTRY, - __module__="google.cloud.container_v1.proto.cluster_service_pb2" + { + "DESCRIPTOR": _CLUSTER_RESOURCELABELSENTRY, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2" # @@protoc_insertion_point(class_scope:google.container.v1.Cluster.ResourceLabelsEntry) - ), + }, ), - DESCRIPTOR=_CLUSTER, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""A Google Kubernetes Engine cluster. + "DESCRIPTOR": _CLUSTER, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """A Google Kubernetes Engine cluster. + Attributes: name: The name of this cluster. The name must be unique within this - project and location (e.g. zone or region), and can be up to + 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. @@ -10024,35 +10718,36 @@ An optional description of this cluster. initial_node_count: The number of nodes to create in this cluster. You must ensure - that your Compute Engine resource quota is sufficient for this - number of instances. You must also have available firewall and - routes quota. For requests, this field should only be used in - 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. This field is deprecated, use - node\_pool.initial\_node\_count instead. + that your Compute Engine `resource quota + `__ is sufficient for + this number of instances. You must also have available + firewall and routes quota. For requests, this field should + only be used in 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. This field is + deprecated, use node_pool.initial_node_count instead. node_config: - Parameters used in creating the cluster's nodes. For requests, - this field should only be used in lieu of a "node\_pool" + 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" + “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 + node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (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. + 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 - before v1.12, if master\_auth is unspecified, ``username`` - will be set to "admin", a random password will be generated, - and a client certificate will be issued. + before v1.12, if master_auth is unspecified, ``username`` will + be set to “admin”, a random password will be generated, and a + client certificate will be issued. logging_service: The logging service the cluster should use to write logs. Currently available options: - - "logging.googleapis.com/kubernetes" - the Google Cloud Logging + “logging.googleapis.com/kubernetes” - the Google Cloud Logging service with Kubernetes-native resource model - ``logging.googleapis.com`` - the Google Cloud Logging service. - ``none`` - no logs will be exported from the cluster. - if @@ -10085,15 +10780,15 @@ which the cluster is connected. node_pools: The node pools associated with this cluster. This field should - not be set if "node\_config" or "initial\_node\_count" are + not be set if “node_config” or “initial_node_count” are specified. locations: The list of Google Compute Engine `zones `__ in - which the cluster's nodes should be located. + which the cluster’s nodes should be located. enable_kubernetes_alpha: Kubernetes alpha features are enabled on this cluster. This - includes alpha API groups (e.g. v1alpha1) and features that + includes alpha API groups (e.g. v1alpha1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are @@ -10144,7 +10839,7 @@ which the cluster resides. This field is deprecated, use location instead. endpoint: - [Output only] The IP address of this cluster's master + [Output only] The IP address of this cluster’s master endpoint. The endpoint can be accessed from the internet at ``https://username:password@endpoint/``. See the ``masterAuth`` property of this resource for username and @@ -10156,11 +10851,11 @@ upgrades are reflected in currentMasterVersion and currentNodeVersion. 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 + 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 - "","-": + “1.X.Y-gke.N”: picks an explicit Kubernetes version - "“,”-": picks the default Kubernetes version current_master_version: [Output only] The current software version of the master @@ -10170,7 +10865,7 @@ `__ instead. The current version of the node software components. If they are - currently at multiple versions because they're in the process + currently at multiple versions because they’re in the process of being upgraded, this reflects the minimum version of all nodes. create_time: @@ -10194,7 +10889,7 @@ addresses are typically put in the last ``/16`` from the container CIDR. instance_group_urls: - Deprecated. Use node\_pools.instance\_group\_urls. + Deprecated. Use node_pools.instance_group_urls. current_node_count: [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node @@ -10220,7 +10915,7 @@ Which conditions caused the current cluster state. """, # @@protoc_insertion_point(class_scope:google.container.v1.Cluster) - ), + }, ) _sym_db.RegisterMessage(Cluster) _sym_db.RegisterMessage(Cluster.ResourceLabelsEntry) @@ -10228,57 +10923,58 @@ ClusterUpdate = _reflection.GeneratedProtocolMessageType( "ClusterUpdate", (_message.Message,), - dict( - DESCRIPTOR=_CLUSTERUPDATE, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ClusterUpdate describes an update to the cluster. Exactly one update + { + "DESCRIPTOR": _CLUSTERUPDATE, + "__module__": "google.cloud.container_v1.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. + Attributes: desired_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 + 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 - "-": + “1.X.Y-gke.N”: picks an explicit Kubernetes version - “-”: picks the Kubernetes master version desired_monitoring_service: The monitoring service the cluster should use to write metrics. Currently available options: - - "monitoring.googleapis.com/kubernetes" - the Google Cloud + “monitoring.googleapis.com/kubernetes” - the Google Cloud Monitoring service with Kubernetes-native resource model - - "monitoring.googleapis.com" - the Google Cloud Monitoring - service - "none" - no metrics will be exported from the + “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” or + “desired_node_pool_autoscaling” 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. + “desired_node_pool” field as well. desired_database_encryption: Configuration of etcd encryption. desired_node_pool_autoscaling: Autoscaler configuration for the node pool specified in - desired\_node\_pool\_id. If there is only one pool in the - cluster and desired\_node\_pool\_id is not provided then the - change applies to that single node pool. + desired_node_pool_id. If there is only one pool in the cluster + and desired_node_pool_id is not provided then the change + applies to that single node pool. desired_locations: The desired list of Google Compute Engine `zones `__ in - which the cluster's nodes should be located. Changing the + 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. + include the cluster’s primary zone. desired_master_authorized_networks_config: The desired configuration options for master authorized networks feature. @@ -10290,10 +10986,10 @@ desired_logging_service: The logging service the cluster should use to write logs. Currently available options: - - "logging.googleapis.com/kubernetes" - the Google Cloud Logging + “logging.googleapis.com/kubernetes” - the Google Cloud Logging service with Kubernetes-native resource model - - "logging.googleapis.com" - the Google Cloud Logging service - - "none" - no logs will be exported from the cluster + “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: @@ -10304,25 +11000,26 @@ 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": + “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 + “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 """, # @@protoc_insertion_point(class_scope:google.container.v1.ClusterUpdate) - ), + }, ) _sym_db.RegisterMessage(ClusterUpdate) Operation = _reflection.GeneratedProtocolMessageType( "Operation", (_message.Message,), - dict( - DESCRIPTOR=_OPERATION, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""This operation resource represents operations that may have happened + { + "DESCRIPTOR": _OPERATION, + "__module__": "google.cloud.container_v1.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. + Attributes: name: The server-assigned ID for the operation. @@ -10361,17 +11058,18 @@ Which conditions caused the current node pool state. """, # @@protoc_insertion_point(class_scope:google.container.v1.Operation) - ), + }, ) _sym_db.RegisterMessage(Operation) CreateClusterRequest = _reflection.GeneratedProtocolMessageType( "CreateClusterRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATECLUSTERREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""CreateClusterRequest creates a cluster. + { + "DESCRIPTOR": _CREATECLUSTERREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """CreateClusterRequest creates a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10392,17 +11090,18 @@ created. Specified in the format ``projects/*/locations/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.CreateClusterRequest) - ), + }, ) _sym_db.RegisterMessage(CreateClusterRequest) GetClusterRequest = _reflection.GeneratedProtocolMessageType( "GetClusterRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETCLUSTERREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""GetClusterRequest gets the settings of a cluster. + { + "DESCRIPTOR": _GETCLUSTERREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """GetClusterRequest gets the settings of a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10423,17 +11122,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.GetClusterRequest) - ), + }, ) _sym_db.RegisterMessage(GetClusterRequest) UpdateClusterRequest = _reflection.GeneratedProtocolMessageType( "UpdateClusterRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATECLUSTERREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""UpdateClusterRequest updates the settings of a cluster. + { + "DESCRIPTOR": _UPDATECLUSTERREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """UpdateClusterRequest updates the settings of a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10456,17 +11156,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.UpdateClusterRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateClusterRequest) UpdateNodePoolRequest = _reflection.GeneratedProtocolMessageType( "UpdateNodePoolRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATENODEPOOLREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""UpdateNodePoolRequests update a node pool's image and/or version. + { + "DESCRIPTOR": _UPDATENODEPOOLREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """UpdateNodePoolRequests update a node pool’s image and/or version. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10488,11 +11189,11 @@ 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 + 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 - "-": + “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. @@ -10502,18 +11203,19 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.UpdateNodePoolRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateNodePoolRequest) SetNodePoolAutoscalingRequest = _reflection.GeneratedProtocolMessageType( "SetNodePoolAutoscalingRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETNODEPOOLAUTOSCALINGREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetNodePoolAutoscalingRequest sets the autoscaler settings of a node + { + "DESCRIPTOR": _SETNODEPOOLAUTOSCALINGREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10539,17 +11241,18 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetNodePoolAutoscalingRequest) - ), + }, ) _sym_db.RegisterMessage(SetNodePoolAutoscalingRequest) SetLoggingServiceRequest = _reflection.GeneratedProtocolMessageType( "SetLoggingServiceRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETLOGGINGSERVICEREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetLoggingServiceRequest sets the logging service of a cluster. + { + "DESCRIPTOR": _SETLOGGINGSERVICEREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """SetLoggingServiceRequest sets the logging service of a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10567,25 +11270,26 @@ logging_service: 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 + “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 ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetLoggingServiceRequest) - ), + }, ) _sym_db.RegisterMessage(SetLoggingServiceRequest) SetMonitoringServiceRequest = _reflection.GeneratedProtocolMessageType( "SetMonitoringServiceRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETMONITORINGSERVICEREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetMonitoringServiceRequest sets the monitoring service of a cluster. + { + "DESCRIPTOR": _SETMONITORINGSERVICEREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """SetMonitoringServiceRequest sets the monitoring service of a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10603,10 +11307,10 @@ monitoring_service: Required. The monitoring service the cluster should use to write metrics. Currently available options: - - "monitoring.googleapis.com/kubernetes" - the Google Cloud + “monitoring.googleapis.com/kubernetes” - the Google Cloud Monitoring service with Kubernetes-native resource model - - "monitoring.googleapis.com" - the Google Cloud Monitoring - service - "none" - no metrics will be exported from the + “monitoring.googleapis.com” - the Google Cloud Monitoring + service - “none” - no metrics will be exported from the cluster name: The name (project, location, cluster) of the cluster to set @@ -10614,17 +11318,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetMonitoringServiceRequest) - ), + }, ) _sym_db.RegisterMessage(SetMonitoringServiceRequest) SetAddonsConfigRequest = _reflection.GeneratedProtocolMessageType( "SetAddonsConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETADDONSCONFIGREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetAddonsConfigRequest sets the addons associated with the cluster. + { + "DESCRIPTOR": _SETADDONSCONFIGREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """SetAddonsConfigRequest sets the addons associated with the cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10648,17 +11353,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetAddonsConfigRequest) - ), + }, ) _sym_db.RegisterMessage(SetAddonsConfigRequest) SetLocationsRequest = _reflection.GeneratedProtocolMessageType( "SetLocationsRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETLOCATIONSREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetLocationsRequest sets the locations of the cluster. + { + "DESCRIPTOR": _SETLOCATIONSREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """SetLocationsRequest sets the locations of the cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10676,28 +11382,29 @@ locations: Required. The desired list of Google Compute Engine `zones `__ in - which the cluster's nodes should be located. Changing the + 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. + include the cluster’s primary zone. name: The name (project, location, cluster) of the cluster to set locations. Specified in the format ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetLocationsRequest) - ), + }, ) _sym_db.RegisterMessage(SetLocationsRequest) UpdateMasterRequest = _reflection.GeneratedProtocolMessageType( "UpdateMasterRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATEMASTERREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""UpdateMasterRequest updates the master of the cluster. + { + "DESCRIPTOR": _UPDATEMASTERREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """UpdateMasterRequest updates the master of the cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10716,11 +11423,11 @@ 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 + 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 @@ -10728,17 +11435,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.UpdateMasterRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateMasterRequest) SetMasterAuthRequest = _reflection.GeneratedProtocolMessageType( "SetMasterAuthRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETMASTERAUTHREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetMasterAuthRequest updates the admin password of a cluster. + { + "DESCRIPTOR": _SETMASTERAUTHREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """SetMasterAuthRequest updates the admin password of a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10764,17 +11472,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetMasterAuthRequest) - ), + }, ) _sym_db.RegisterMessage(SetMasterAuthRequest) DeleteClusterRequest = _reflection.GeneratedProtocolMessageType( "DeleteClusterRequest", (_message.Message,), - dict( - DESCRIPTOR=_DELETECLUSTERREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""DeleteClusterRequest deletes a cluster. + { + "DESCRIPTOR": _DELETECLUSTERREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """DeleteClusterRequest deletes a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10795,17 +11504,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.DeleteClusterRequest) - ), + }, ) _sym_db.RegisterMessage(DeleteClusterRequest) ListClustersRequest = _reflection.GeneratedProtocolMessageType( "ListClustersRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTCLUSTERSREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ListClustersRequest lists clusters. + { + "DESCRIPTOR": _LISTCLUSTERSREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """ListClustersRequest lists clusters. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10815,25 +11525,26 @@ zone: Deprecated. The name of the Google Compute Engine `zone `__ in - which the cluster resides, or "-" for all zones. This field + which the cluster resides, or “-” for all zones. This field has been deprecated and replaced by the parent field. parent: The parent (project and location) where the clusters will be listed. Specified in the format ``projects/*/locations/*``. - Location "-" matches all zones and all regions. + Location “-” matches all zones and all regions. """, # @@protoc_insertion_point(class_scope:google.container.v1.ListClustersRequest) - ), + }, ) _sym_db.RegisterMessage(ListClustersRequest) ListClustersResponse = _reflection.GeneratedProtocolMessageType( "ListClustersResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTCLUSTERSRESPONSE, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ListClustersResponse is the result of ListClustersRequest. + { + "DESCRIPTOR": _LISTCLUSTERSRESPONSE, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """ListClustersResponse is the result of ListClustersRequest. + Attributes: clusters: A list of clusters in the project in the specified zone, or @@ -10843,17 +11554,18 @@ may be missing those zones. """, # @@protoc_insertion_point(class_scope:google.container.v1.ListClustersResponse) - ), + }, ) _sym_db.RegisterMessage(ListClustersResponse) GetOperationRequest = _reflection.GeneratedProtocolMessageType( "GetOperationRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETOPERATIONREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""GetOperationRequest gets a single operation. + { + "DESCRIPTOR": _GETOPERATIONREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """GetOperationRequest gets a single operation. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10874,17 +11586,18 @@ ``projects/*/locations/*/operations/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.GetOperationRequest) - ), + }, ) _sym_db.RegisterMessage(GetOperationRequest) ListOperationsRequest = _reflection.GeneratedProtocolMessageType( "ListOperationsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTOPERATIONSREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ListOperationsRequest lists operations. + { + "DESCRIPTOR": _LISTOPERATIONSREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """ListOperationsRequest lists operations. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10899,20 +11612,21 @@ parent: The parent (project and location) where the operations will be listed. Specified in the format ``projects/*/locations/*``. - Location "-" matches all zones and all regions. + Location “-” matches all zones and all regions. """, # @@protoc_insertion_point(class_scope:google.container.v1.ListOperationsRequest) - ), + }, ) _sym_db.RegisterMessage(ListOperationsRequest) CancelOperationRequest = _reflection.GeneratedProtocolMessageType( "CancelOperationRequest", (_message.Message,), - dict( - DESCRIPTOR=_CANCELOPERATIONREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""CancelOperationRequest cancels a single operation. + { + "DESCRIPTOR": _CANCELOPERATIONREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """CancelOperationRequest cancels a single operation. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10933,17 +11647,18 @@ ``projects/*/locations/*/operations/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.CancelOperationRequest) - ), + }, ) _sym_db.RegisterMessage(CancelOperationRequest) ListOperationsResponse = _reflection.GeneratedProtocolMessageType( "ListOperationsResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTOPERATIONSRESPONSE, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ListOperationsResponse is the result of ListOperationsRequest. + { + "DESCRIPTOR": _LISTOPERATIONSRESPONSE, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """ListOperationsResponse is the result of ListOperationsRequest. + Attributes: operations: A list of operations in the project in the specified zone. @@ -10952,17 +11667,18 @@ may be missing the operations from those zones. """, # @@protoc_insertion_point(class_scope:google.container.v1.ListOperationsResponse) - ), + }, ) _sym_db.RegisterMessage(ListOperationsResponse) GetServerConfigRequest = _reflection.GeneratedProtocolMessageType( "GetServerConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETSERVERCONFIGREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Gets the current Kubernetes Engine service configuration. + { + "DESCRIPTOR": _GETSERVERCONFIGREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Gets the current Kubernetes Engine service configuration. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -10979,17 +11695,18 @@ specified in the format ``projects/*/locations/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.GetServerConfigRequest) - ), + }, ) _sym_db.RegisterMessage(GetServerConfigRequest) ServerConfig = _reflection.GeneratedProtocolMessageType( "ServerConfig", (_message.Message,), - dict( - DESCRIPTOR=_SERVERCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Kubernetes Engine service configuration. + { + "DESCRIPTOR": _SERVERCONFIG, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Kubernetes Engine service configuration. + Attributes: default_cluster_version: Version of Kubernetes the service deploys by default. @@ -11003,17 +11720,18 @@ List of valid master versions. """, # @@protoc_insertion_point(class_scope:google.container.v1.ServerConfig) - ), + }, ) _sym_db.RegisterMessage(ServerConfig) CreateNodePoolRequest = _reflection.GeneratedProtocolMessageType( "CreateNodePoolRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATENODEPOOLREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""CreateNodePoolRequest creates a node pool for a cluster. + { + "DESCRIPTOR": _CREATENODEPOOLREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """CreateNodePoolRequest creates a node pool for a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11036,17 +11754,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.CreateNodePoolRequest) - ), + }, ) _sym_db.RegisterMessage(CreateNodePoolRequest) DeleteNodePoolRequest = _reflection.GeneratedProtocolMessageType( "DeleteNodePoolRequest", (_message.Message,), - dict( - DESCRIPTOR=_DELETENODEPOOLREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""DeleteNodePoolRequest deletes a node pool for a cluster. + { + "DESCRIPTOR": _DELETENODEPOOLREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """DeleteNodePoolRequest deletes a node pool for a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11070,17 +11789,18 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.DeleteNodePoolRequest) - ), + }, ) _sym_db.RegisterMessage(DeleteNodePoolRequest) ListNodePoolsRequest = _reflection.GeneratedProtocolMessageType( "ListNodePoolsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTNODEPOOLSREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ListNodePoolsRequest lists the node pool(s) for a cluster. + { + "DESCRIPTOR": _LISTNODEPOOLSREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """ListNodePoolsRequest lists the node pool(s) for a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11101,17 +11821,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.ListNodePoolsRequest) - ), + }, ) _sym_db.RegisterMessage(ListNodePoolsRequest) GetNodePoolRequest = _reflection.GeneratedProtocolMessageType( "GetNodePoolRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETNODEPOOLREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""GetNodePoolRequest retrieves a node pool for a cluster. + { + "DESCRIPTOR": _GETNODEPOOLREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """GetNodePoolRequest retrieves a node pool for a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11135,22 +11856,23 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.GetNodePoolRequest) - ), + }, ) _sym_db.RegisterMessage(GetNodePoolRequest) NodePool = _reflection.GeneratedProtocolMessageType( "NodePool", (_message.Message,), - dict( - DESCRIPTOR=_NODEPOOL, - __module__="google.cloud.container_v1.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 + { + "DESCRIPTOR": _NODEPOOL, + "__module__": "google.cloud.container_v1.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. + Attributes: name: The name of the node pool. @@ -11158,9 +11880,10 @@ The node configuration of the pool. initial_node_count: The initial node count for the pool. You must ensure that your - Compute Engine resource quota is sufficient for this number of - instances. You must also have available firewall and routes - quota. + Compute Engine `resource quota + `__ is sufficient for + this number of instances. You must also have available + firewall and routes quota. self_link: [Output only] Server-defined URL for the resource. version: @@ -11190,18 +11913,19 @@ pool. """, # @@protoc_insertion_point(class_scope:google.container.v1.NodePool) - ), + }, ) _sym_db.RegisterMessage(NodePool) NodeManagement = _reflection.GeneratedProtocolMessageType( "NodeManagement", (_message.Message,), - dict( - DESCRIPTOR=_NODEMANAGEMENT, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""NodeManagement defines the set of node management services turned on + { + "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. + Attributes: auto_upgrade: A flag that specifies whether node auto-upgrade is enabled for @@ -11217,18 +11941,19 @@ Specifies the Auto Upgrade knobs for the node pool. """, # @@protoc_insertion_point(class_scope:google.container.v1.NodeManagement) - ), + }, ) _sym_db.RegisterMessage(NodeManagement) AutoUpgradeOptions = _reflection.GeneratedProtocolMessageType( "AutoUpgradeOptions", (_message.Message,), - dict( - DESCRIPTOR=_AUTOUPGRADEOPTIONS, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""AutoUpgradeOptions defines the set of options for the user to control + { + "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. + Attributes: auto_upgrade_start_time: [Output only] This field is set when upgrades are about to @@ -11240,52 +11965,54 @@ commence with the description of the upgrade. """, # @@protoc_insertion_point(class_scope:google.container.v1.AutoUpgradeOptions) - ), + }, ) _sym_db.RegisterMessage(AutoUpgradeOptions) MaintenancePolicy = _reflection.GeneratedProtocolMessageType( "MaintenancePolicy", (_message.Message,), - dict( - DESCRIPTOR=_MAINTENANCEPOLICY, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""MaintenancePolicy defines the maintenance policy to be used for the + { + "DESCRIPTOR": _MAINTENANCEPOLICY, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__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 + 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 + 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.v1.MaintenancePolicy) - ), + }, ) _sym_db.RegisterMessage(MaintenancePolicy) MaintenanceWindow = _reflection.GeneratedProtocolMessageType( "MaintenanceWindow", (_message.Message,), - dict( - MaintenanceExclusionsEntry=_reflection.GeneratedProtocolMessageType( + { + "MaintenanceExclusionsEntry": _reflection.GeneratedProtocolMessageType( "MaintenanceExclusionsEntry", (_message.Message,), - dict( - DESCRIPTOR=_MAINTENANCEWINDOW_MAINTENANCEEXCLUSIONSENTRY, - __module__="google.cloud.container_v1.proto.cluster_service_pb2" + { + "DESCRIPTOR": _MAINTENANCEWINDOW_MAINTENANCEEXCLUSIONSENTRY, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2" # @@protoc_insertion_point(class_scope:google.container.v1.MaintenanceWindow.MaintenanceExclusionsEntry) - ), + }, ), - DESCRIPTOR=_MAINTENANCEWINDOW, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""MaintenanceWindow defines the maintenance window to be used for the + "DESCRIPTOR": _MAINTENANCEWINDOW, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """MaintenanceWindow defines the maintenance window to be used for the cluster. + Attributes: daily_maintenance_window: DailyMaintenanceWindow specifies a daily maintenance operation @@ -11300,7 +12027,7 @@ should not occur in these windows. """, # @@protoc_insertion_point(class_scope:google.container.v1.MaintenanceWindow) - ), + }, ) _sym_db.RegisterMessage(MaintenanceWindow) _sym_db.RegisterMessage(MaintenanceWindow.MaintenanceExclusionsEntry) @@ -11308,10 +12035,11 @@ TimeWindow = _reflection.GeneratedProtocolMessageType( "TimeWindow", (_message.Message,), - dict( - DESCRIPTOR=_TIMEWINDOW, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Represents an arbitrary window of time. + { + "DESCRIPTOR": _TIMEWINDOW, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Represents an arbitrary window of time. + Attributes: start_time: The time that the window first starts. @@ -11320,17 +12048,18 @@ after the start time. """, # @@protoc_insertion_point(class_scope:google.container.v1.TimeWindow) - ), + }, ) _sym_db.RegisterMessage(TimeWindow) RecurringTimeWindow = _reflection.GeneratedProtocolMessageType( "RecurringTimeWindow", (_message.Message,), - dict( - DESCRIPTOR=_RECURRINGTIMEWINDOW, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Represents an arbitrary window of time that recurs. + { + "DESCRIPTOR": _RECURRINGTIMEWINDOW, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Represents an arbitrary window of time that recurs. + Attributes: window: The window of the first recurrence. @@ -11338,13 +12067,13 @@ 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: + 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 + 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 @@ -11352,47 +12081,49 @@ 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 + 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.v1.RecurringTimeWindow) - ), + }, ) _sym_db.RegisterMessage(RecurringTimeWindow) DailyMaintenanceWindow = _reflection.GeneratedProtocolMessageType( "DailyMaintenanceWindow", (_message.Message,), - dict( - DESCRIPTOR=_DAILYMAINTENANCEWINDOW, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Time window specified for daily maintenance operations. + { + "DESCRIPTOR": _DAILYMAINTENANCEWINDOW, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Time window specified for daily maintenance operations. + Attributes: start_time: Time within the maintenance window to start the maintenance operations. Time format should be in `RFC3339 - `__ format "HH:MM", + `__ format “HH:MM”, where HH : [00-23] and MM : [00-59] GMT. duration: [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. Duration will be in `RFC3339 `__ - format "PTnHnMnS". + format “PTnHnMnS”. """, # @@protoc_insertion_point(class_scope:google.container.v1.DailyMaintenanceWindow) - ), + }, ) _sym_db.RegisterMessage(DailyMaintenanceWindow) SetNodePoolManagementRequest = _reflection.GeneratedProtocolMessageType( "SetNodePoolManagementRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETNODEPOOLMANAGEMENTREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetNodePoolManagementRequest sets the node management properties of a + { + "DESCRIPTOR": _SETNODEPOOLMANAGEMENTREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """SetNodePoolManagementRequest sets the node management properties of a node pool. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11418,17 +12149,18 @@ format ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetNodePoolManagementRequest) - ), + }, ) _sym_db.RegisterMessage(SetNodePoolManagementRequest) SetNodePoolSizeRequest = _reflection.GeneratedProtocolMessageType( "SetNodePoolSizeRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETNODEPOOLSIZEREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetNodePoolSizeRequest sets the size a node pool. + { + "DESCRIPTOR": _SETNODEPOOLSIZEREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """SetNodePoolSizeRequest sets the size a node pool. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11454,19 +12186,20 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetNodePoolSizeRequest) - ), + }, ) _sym_db.RegisterMessage(SetNodePoolSizeRequest) RollbackNodePoolUpgradeRequest = _reflection.GeneratedProtocolMessageType( "RollbackNodePoolUpgradeRequest", (_message.Message,), - dict( - DESCRIPTOR=_ROLLBACKNODEPOOLUPGRADEREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or + { + "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. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11490,35 +12223,37 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.RollbackNodePoolUpgradeRequest) - ), + }, ) _sym_db.RegisterMessage(RollbackNodePoolUpgradeRequest) ListNodePoolsResponse = _reflection.GeneratedProtocolMessageType( "ListNodePoolsResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTNODEPOOLSRESPONSE, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ListNodePoolsResponse is the result of ListNodePoolsRequest. + { + "DESCRIPTOR": _LISTNODEPOOLSRESPONSE, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """ListNodePoolsResponse is the result of ListNodePoolsRequest. + Attributes: node_pools: A list of node pools for a cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1.ListNodePoolsResponse) - ), + }, ) _sym_db.RegisterMessage(ListNodePoolsResponse) ClusterAutoscaling = _reflection.GeneratedProtocolMessageType( "ClusterAutoscaling", (_message.Message,), - dict( - DESCRIPTOR=_CLUSTERAUTOSCALING, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ClusterAutoscaling contains global, per-cluster information required + { + "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. + Attributes: enable_node_autoprovisioning: Enables automatic node pool creation and deletion. @@ -11531,101 +12266,105 @@ autoprovisioning_locations: The list of Google Compute Engine `zones `__ in - which the NodePool's nodes can be created by NAP. + which the NodePool’s nodes can be created by NAP. """, # @@protoc_insertion_point(class_scope:google.container.v1.ClusterAutoscaling) - ), + }, ) _sym_db.RegisterMessage(ClusterAutoscaling) AutoprovisioningNodePoolDefaults = _reflection.GeneratedProtocolMessageType( "AutoprovisioningNodePoolDefaults", (_message.Message,), - dict( - DESCRIPTOR=_AUTOPROVISIONINGNODEPOOLDEFAULTS, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""AutoprovisioningNodePoolDefaults contains defaults for a node pool + { + "DESCRIPTOR": _AUTOPROVISIONINGNODEPOOLDEFAULTS, + "__module__": "google.cloud.container_v1.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. + 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 + node VMs. If service_account is specified, scopes should be empty. """, # @@protoc_insertion_point(class_scope:google.container.v1.AutoprovisioningNodePoolDefaults) - ), + }, ) _sym_db.RegisterMessage(AutoprovisioningNodePoolDefaults) ResourceLimit = _reflection.GeneratedProtocolMessageType( "ResourceLimit", (_message.Message,), - dict( - DESCRIPTOR=_RESOURCELIMIT, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Contains information about amount of some resource in the cluster. For + { + "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. + Attributes: resource_type: - Resource name "cpu", "memory" or gpu-specific string. + Resource name “cpu”, “memory” or gpu-specific string. minimum: Minimum amount of the resource in the cluster. maximum: Maximum amount of the resource in the cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1.ResourceLimit) - ), + }, ) _sym_db.RegisterMessage(ResourceLimit) NodePoolAutoscaling = _reflection.GeneratedProtocolMessageType( "NodePoolAutoscaling", (_message.Message,), - dict( - DESCRIPTOR=_NODEPOOLAUTOSCALING, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""NodePoolAutoscaling contains information required by cluster + { + "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. + Attributes: enabled: Is autoscaling enabled for this node pool. min_node_count: Minimum number of nodes in the NodePool. Must be >= 1 and <= - max\_node\_count. + max_node_count. max_node_count: Maximum number of nodes in the NodePool. Must be >= - min\_node\_count. There has to enough quota to scale up the + min_node_count. There has to enough quota to scale up the cluster. autoprovisioned: Can this node pool be deleted automatically. """, # @@protoc_insertion_point(class_scope:google.container.v1.NodePoolAutoscaling) - ), + }, ) _sym_db.RegisterMessage(NodePoolAutoscaling) SetLabelsRequest = _reflection.GeneratedProtocolMessageType( "SetLabelsRequest", (_message.Message,), - dict( - ResourceLabelsEntry=_reflection.GeneratedProtocolMessageType( + { + "ResourceLabelsEntry": _reflection.GeneratedProtocolMessageType( "ResourceLabelsEntry", (_message.Message,), - dict( - DESCRIPTOR=_SETLABELSREQUEST_RESOURCELABELSENTRY, - __module__="google.cloud.container_v1.proto.cluster_service_pb2" + { + "DESCRIPTOR": _SETLABELSREQUEST_RESOURCELABELSENTRY, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2" # @@protoc_insertion_point(class_scope:google.container.v1.SetLabelsRequest.ResourceLabelsEntry) - ), + }, ), - DESCRIPTOR=_SETLABELSREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetLabelsRequest sets the Google Cloud Platform labels on a Google + "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 + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11656,7 +12395,7 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetLabelsRequest) - ), + }, ) _sym_db.RegisterMessage(SetLabelsRequest) _sym_db.RegisterMessage(SetLabelsRequest.ResourceLabelsEntry) @@ -11664,11 +12403,12 @@ SetLegacyAbacRequest = _reflection.GeneratedProtocolMessageType( "SetLegacyAbacRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETLEGACYABACREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetLegacyAbacRequest enables or disables the ABAC authorization + { + "DESCRIPTOR": _SETLEGACYABACREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11692,18 +12432,19 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetLegacyAbacRequest) - ), + }, ) _sym_db.RegisterMessage(SetLegacyAbacRequest) StartIPRotationRequest = _reflection.GeneratedProtocolMessageType( "StartIPRotationRequest", (_message.Message,), - dict( - DESCRIPTOR=_STARTIPROTATIONREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""StartIPRotationRequest creates a new IP for the cluster and then + { + "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. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11726,18 +12467,19 @@ Whether to rotate credentials during IP rotation. """, # @@protoc_insertion_point(class_scope:google.container.v1.StartIPRotationRequest) - ), + }, ) _sym_db.RegisterMessage(StartIPRotationRequest) CompleteIPRotationRequest = _reflection.GeneratedProtocolMessageType( "CompleteIPRotationRequest", (_message.Message,), - dict( - DESCRIPTOR=_COMPLETEIPROTATIONREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""CompleteIPRotationRequest moves the cluster master back into single-IP + { + "DESCRIPTOR": _COMPLETEIPROTATIONREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """CompleteIPRotationRequest moves the cluster master back into single-IP mode. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11758,17 +12500,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.CompleteIPRotationRequest) - ), + }, ) _sym_db.RegisterMessage(CompleteIPRotationRequest) AcceleratorConfig = _reflection.GeneratedProtocolMessageType( "AcceleratorConfig", (_message.Message,), - dict( - DESCRIPTOR=_ACCELERATORCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""AcceleratorConfig represents a Hardware Accelerator request. + { + "DESCRIPTOR": _ACCELERATORCONFIG, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """AcceleratorConfig represents a Hardware Accelerator request. + Attributes: accelerator_count: The number of the accelerator cards exposed to an instance. @@ -11778,17 +12521,18 @@ `__ """, # @@protoc_insertion_point(class_scope:google.container.v1.AcceleratorConfig) - ), + }, ) _sym_db.RegisterMessage(AcceleratorConfig) SetNetworkPolicyRequest = _reflection.GeneratedProtocolMessageType( "SetNetworkPolicyRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETNETWORKPOLICYREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetNetworkPolicyRequest enables/disables network policy for a cluster. + { + "DESCRIPTOR": _SETNETWORKPOLICYREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """SetNetworkPolicyRequest enables/disables network policy for a cluster. + Attributes: project_id: Deprecated. The Google Developers Console `project ID or @@ -11811,17 +12555,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetNetworkPolicyRequest) - ), + }, ) _sym_db.RegisterMessage(SetNetworkPolicyRequest) SetMaintenancePolicyRequest = _reflection.GeneratedProtocolMessageType( "SetMaintenancePolicyRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETMAINTENANCEPOLICYREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""SetMaintenancePolicyRequest sets the maintenance policy for a cluster. + { + "DESCRIPTOR": _SETMAINTENANCEPOLICYREQUEST, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """SetMaintenancePolicyRequest sets the maintenance policy for a cluster. + Attributes: project_id: Required. The Google Developers Console `project ID or project @@ -11841,18 +12586,19 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1.SetMaintenancePolicyRequest) - ), + }, ) _sym_db.RegisterMessage(SetMaintenancePolicyRequest) StatusCondition = _reflection.GeneratedProtocolMessageType( "StatusCondition", (_message.Message,), - 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 + { + "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). + Attributes: code: Machine-friendly representation of the condition @@ -11860,17 +12606,18 @@ Human-friendly representation of the condition """, # @@protoc_insertion_point(class_scope:google.container.v1.StatusCondition) - ), + }, ) _sym_db.RegisterMessage(StatusCondition) NetworkConfig = _reflection.GeneratedProtocolMessageType( "NetworkConfig", (_message.Message,), - dict( - DESCRIPTOR=_NETWORKCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""NetworkConfig reports the relative names of network & subnetwork. + { + "DESCRIPTOR": _NETWORKCONFIG, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """NetworkConfig reports the relative names of network & subnetwork. + Attributes: network: Output only. The relative name of the Google Compute Engine [n @@ -11889,50 +12636,53 @@ network. """, # @@protoc_insertion_point(class_scope:google.container.v1.NetworkConfig) - ), + }, ) _sym_db.RegisterMessage(NetworkConfig) IntraNodeVisibilityConfig = _reflection.GeneratedProtocolMessageType( "IntraNodeVisibilityConfig", (_message.Message,), - dict( - DESCRIPTOR=_INTRANODEVISIBILITYCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""IntraNodeVisibilityConfig contains the desired config of the intra- + { + "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. + Attributes: enabled: Enables intra node visibility for this cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1.IntraNodeVisibilityConfig) - ), + }, ) _sym_db.RegisterMessage(IntraNodeVisibilityConfig) MaxPodsConstraint = _reflection.GeneratedProtocolMessageType( "MaxPodsConstraint", (_message.Message,), - dict( - DESCRIPTOR=_MAXPODSCONSTRAINT, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Constraints applied to pods. + { + "DESCRIPTOR": _MAXPODSCONSTRAINT, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Constraints applied to pods. + Attributes: max_pods_per_node: Constraint enforced on the max num of pods per node. """, # @@protoc_insertion_point(class_scope:google.container.v1.MaxPodsConstraint) - ), + }, ) _sym_db.RegisterMessage(MaxPodsConstraint) DatabaseEncryption = _reflection.GeneratedProtocolMessageType( "DatabaseEncryption", (_message.Message,), - dict( - DESCRIPTOR=_DATABASEENCRYPTION, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration of etcd encryption. + { + "DESCRIPTOR": _DATABASEENCRYPTION, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration of etcd encryption. + Attributes: state: Denotes the state of etcd encryption. @@ -11942,18 +12692,19 @@ ring/cryptoKeys/my-key """, # @@protoc_insertion_point(class_scope:google.container.v1.DatabaseEncryption) - ), + }, ) _sym_db.RegisterMessage(DatabaseEncryption) ListUsableSubnetworksRequest = _reflection.GeneratedProtocolMessageType( "ListUsableSubnetworksRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTUSABLESUBNETWORKSREQUEST, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ListUsableSubnetworksRequest requests the list of usable subnetworks + { + "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. + Attributes: parent: The parent project where subnetworks are usable. Specified in @@ -11961,7 +12712,7 @@ filter: Filtering currently only supports equality on the networkProjectId and must be in the form: - "networkProjectId=[PROJECTID]", where ``networkProjectId`` is + “networkProjectId=[PROJECTID]”, where ``networkProjectId`` is the project which owns the listed subnetworks. This defaults to the parent project ID. page_size: @@ -11976,18 +12727,19 @@ results. """, # @@protoc_insertion_point(class_scope:google.container.v1.ListUsableSubnetworksRequest) - ), + }, ) _sym_db.RegisterMessage(ListUsableSubnetworksRequest) ListUsableSubnetworksResponse = _reflection.GeneratedProtocolMessageType( "ListUsableSubnetworksResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTUSABLESUBNETWORKSRESPONSE, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""ListUsableSubnetworksResponse is the response of + { + "DESCRIPTOR": _LISTUSABLESUBNETWORKSRESPONSE, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest. + Attributes: subnetworks: A list of usable subnetworks in the specified network project. @@ -11999,17 +12751,18 @@ will become empty when there are no more pages. """, # @@protoc_insertion_point(class_scope:google.container.v1.ListUsableSubnetworksResponse) - ), + }, ) _sym_db.RegisterMessage(ListUsableSubnetworksResponse) UsableSubnetworkSecondaryRange = _reflection.GeneratedProtocolMessageType( "UsableSubnetworkSecondaryRange", (_message.Message,), - dict( - DESCRIPTOR=_USABLESUBNETWORKSECONDARYRANGE, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Secondary IP range of a usable subnetwork. + { + "DESCRIPTOR": _USABLESUBNETWORKSECONDARYRANGE, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Secondary IP range of a usable subnetwork. + Attributes: range_name: The name associated with this subnetwork secondary range, used @@ -12022,17 +12775,18 @@ programmably. """, # @@protoc_insertion_point(class_scope:google.container.v1.UsableSubnetworkSecondaryRange) - ), + }, ) _sym_db.RegisterMessage(UsableSubnetworkSecondaryRange) UsableSubnetwork = _reflection.GeneratedProtocolMessageType( "UsableSubnetwork", (_message.Message,), - dict( - DESCRIPTOR=_USABLESUBNETWORK, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Network Name. Example: projects/my-project/global/networks/my-network + { + "DESCRIPTOR": _USABLESUBNETWORK, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Network Name. Example: projects/my-project/global/networks/my-network + Attributes: subnetwork: Subnetwork Name. Example: projects/my-project/regions/us- @@ -12045,41 +12799,43 @@ status_message: A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under - the subnet. For example if the secondary\_ip\_ranges is empty + the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message - will be given by status\_message. + will be given by status_message. """, # @@protoc_insertion_point(class_scope:google.container.v1.UsableSubnetwork) - ), + }, ) _sym_db.RegisterMessage(UsableSubnetwork) ResourceUsageExportConfig = _reflection.GeneratedProtocolMessageType( "ResourceUsageExportConfig", (_message.Message,), - dict( - BigQueryDestination=_reflection.GeneratedProtocolMessageType( + { + "BigQueryDestination": _reflection.GeneratedProtocolMessageType( "BigQueryDestination", (_message.Message,), - dict( - DESCRIPTOR=_RESOURCEUSAGEEXPORTCONFIG_BIGQUERYDESTINATION, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Parameters for using BigQuery as the destination of resource usage + { + "DESCRIPTOR": _RESOURCEUSAGEEXPORTCONFIG_BIGQUERYDESTINATION, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Parameters for using BigQuery as the destination of resource usage export. + Attributes: dataset_id: The ID of a BigQuery Dataset. """, # @@protoc_insertion_point(class_scope:google.container.v1.ResourceUsageExportConfig.BigQueryDestination) - ), + }, ), - ConsumptionMeteringConfig=_reflection.GeneratedProtocolMessageType( + "ConsumptionMeteringConfig": _reflection.GeneratedProtocolMessageType( "ConsumptionMeteringConfig", (_message.Message,), - dict( - DESCRIPTOR=_RESOURCEUSAGEEXPORTCONFIG_CONSUMPTIONMETERINGCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Parameters for controlling consumption metering. + { + "DESCRIPTOR": _RESOURCEUSAGEEXPORTCONFIG_CONSUMPTIONMETERINGCONFIG, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Parameters for controlling consumption metering. + Attributes: enabled: Whether to enable consumption metering for this cluster. If @@ -12087,11 +12843,12 @@ resource consumption records. """, # @@protoc_insertion_point(class_scope:google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) - ), + }, ), - DESCRIPTOR=_RESOURCEUSAGEEXPORTCONFIG, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""Configuration for exporting cluster resource usages. + "DESCRIPTOR": _RESOURCEUSAGEEXPORTCONFIG, + "__module__": "google.cloud.container_v1.proto.cluster_service_pb2", + "__doc__": """Configuration for exporting cluster resource usages. + Attributes: bigquery_destination: Configuration to use BigQuery as usage export destination. @@ -12103,7 +12860,7 @@ Configuration to enable resource consumption metering. """, # @@protoc_insertion_point(class_scope:google.container.v1.ResourceUsageExportConfig) - ), + }, ) _sym_db.RegisterMessage(ResourceUsageExportConfig) _sym_db.RegisterMessage(ResourceUsageExportConfig.BigQueryDestination) @@ -12112,18 +12869,19 @@ VerticalPodAutoscaling = _reflection.GeneratedProtocolMessageType( "VerticalPodAutoscaling", (_message.Message,), - dict( - DESCRIPTOR=_VERTICALPODAUTOSCALING, - __module__="google.cloud.container_v1.proto.cluster_service_pb2", - __doc__="""VerticalPodAutoscaling contains global, per-cluster information + { + "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. + Attributes: enabled: Enables vertical pod autoscaling. """, # @@protoc_insertion_point(class_scope:google.container.v1.VerticalPodAutoscaling) - ), + }, ) _sym_db.RegisterMessage(VerticalPodAutoscaling) @@ -12264,9 +13022,8 @@ full_name="google.container.v1.ClusterManager", file=DESCRIPTOR, index=0, - serialized_options=_b( - "\312A\030container.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform" - ), + serialized_options=b"\312A\030container.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform", + create_key=_descriptor._internal_create_key, serialized_start=15940, serialized_end=24726, methods=[ @@ -12277,9 +13034,8 @@ containing_service=None, 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\332A\006parent" - ), + 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\332A\006parent", + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="GetCluster", @@ -12288,9 +13044,8 @@ containing_service=None, input_type=_GETCLUSTERREQUEST, output_type=_CLUSTER, - serialized_options=_b( - "\202\323\344\223\002n\022,/v1/{name=projects/*/locations/*/clusters/*}Z>\022\022**/v1/{name=projects/*/locations/*/clusters/*}:setResourceLabels:\001*ZP"K/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels:\001*' - ), + serialized_options=b'\202\323\344\223\002\225\001">/v1/{name=projects/*/locations/*/clusters/*}:setResourceLabels:\001*ZP"K/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels:\001*', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="SetLegacyAbac", @@ -12541,9 +13274,8 @@ containing_service=None, input_type=_SETLEGACYABACREQUEST, output_type=_OPERATION, - serialized_options=_b( - '\202\323\344\223\002\215\001":/v1/{name=projects/*/locations/*/clusters/*}:setLegacyAbac:\001*ZL"G/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/legacyAbac:\001*\332A"project_id,zone,cluster_id,enabled\332A\014name,enabled' - ), + serialized_options=b'\202\323\344\223\002\215\001":/v1/{name=projects/*/locations/*/clusters/*}:setLegacyAbac:\001*ZL"G/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/legacyAbac:\001*\332A"project_id,zone,cluster_id,enabled\332A\014name,enabled', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="StartIPRotation", @@ -12552,9 +13284,8 @@ containing_service=None, input_type=_STARTIPROTATIONREQUEST, output_type=_OPERATION, - serialized_options=_b( - '\202\323\344\223\002\224\001"`__. @@ -452,7 +452,7 @@ def create_cluster( ) request = cluster_service_pb2.CreateClusterRequest( - project_id=project_id, zone=zone, cluster=cluster, parent=parent + project_id=project_id, zone=zone, cluster=cluster, parent=parent, ) if metadata is None: metadata = [] @@ -757,8 +757,8 @@ def set_node_pool_autoscaling( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1beta1.types.NodePoolAutoscaling` - name (str): The name (project, location, cluster, node pool) of the node pool to set - autoscaler settings. Specified in the format + 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/*``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will @@ -858,8 +858,8 @@ def set_logging_service( 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_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 @@ -967,8 +967,9 @@ def set_monitoring_service( - "monitoring.googleapis.com" - the Google Cloud Monitoring service - "none" - no metrics will be exported from the cluster - name (str): The name (project, location, cluster) of the cluster to set monitoring. - Specified in the format ``projects/*/locations/*/clusters/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1177,8 +1178,9 @@ def set_locations( the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone. - name (str): The name (project, location, cluster) of the cluster to set locations. - Specified in the format ``projects/*/locations/*/clusters/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1534,7 +1536,7 @@ def delete_cluster( ) request = cluster_service_pb2.DeleteClusterRequest( - project_id=project_id, zone=zone, cluster_id=cluster_id, name=name + project_id=project_id, zone=zone, cluster_id=cluster_id, name=name, ) if metadata is None: metadata = [] @@ -1586,9 +1588,9 @@ def list_operations( `zone `__ to return operations for, or ``-`` for all zones. This field has been deprecated and replaced by the parent field. - parent (str): The parent (project and location) where the operations will be listed. - Specified in the format ``projects/*/locations/*``. Location "-" matches - all zones and all regions. + parent (str): The parent (project and location) where the operations will be + listed. Specified in the format ``projects/*/locations/*``. Location "-" + matches all zones and all regions. 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. @@ -1620,7 +1622,7 @@ def list_operations( ) request = cluster_service_pb2.ListOperationsRequest( - project_id=project_id, zone=zone, parent=parent + project_id=project_id, zone=zone, parent=parent, ) if metadata is None: metadata = [] @@ -1711,7 +1713,7 @@ def get_operation( ) request = cluster_service_pb2.GetOperationRequest( - project_id=project_id, zone=zone, operation_id=operation_id, name=name + project_id=project_id, zone=zone, operation_id=operation_id, name=name, ) if metadata is None: metadata = [] @@ -1769,8 +1771,8 @@ def cancel_operation( 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/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1799,7 +1801,7 @@ def cancel_operation( ) request = cluster_service_pb2.CancelOperationRequest( - project_id=project_id, zone=zone, operation_id=operation_id, name=name + project_id=project_id, zone=zone, operation_id=operation_id, name=name, ) if metadata is None: metadata = [] @@ -1851,8 +1853,8 @@ def get_server_config( `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. @@ -1884,7 +1886,7 @@ def get_server_config( ) request = cluster_service_pb2.GetServerConfigRequest( - project_id=project_id, zone=zone, name=name + project_id=project_id, zone=zone, name=name, ) if metadata is None: metadata = [] @@ -1943,8 +1945,9 @@ def list_node_pools( by the parent field. 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/*``. + parent (str): The parent (project, location, cluster id) where the node pools will + be listed. Specified in the format + ``projects/*/locations/*/clusters/*``. 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. @@ -1976,7 +1979,7 @@ def list_node_pools( ) request = cluster_service_pb2.ListNodePoolsRequest( - project_id=project_id, zone=zone, cluster_id=cluster_id, parent=parent + project_id=project_id, zone=zone, cluster_id=cluster_id, parent=parent, ) if metadata is None: metadata = [] @@ -2041,8 +2044,8 @@ def get_node_pool( This field has been deprecated and replaced by the name field. 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 + name (str): The name (project, location, cluster, node pool id) of the node pool + to get. Specified in the format ``projects/*/locations/*/clusters/*/nodePools/*``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will @@ -2146,8 +2149,9 @@ def create_node_pool( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1beta1.types.NodePool` - parent (str): The parent (project, location, cluster id) where the node pool will be - created. Specified in the format ``projects/*/locations/*/clusters/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2248,8 +2252,8 @@ def delete_node_pool( 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. 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 + name (str): The name (project, location, cluster, node pool id) of the node pool + to delete. Specified in the format ``projects/*/locations/*/clusters/*/nodePools/*``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will @@ -2351,8 +2355,8 @@ def rollback_node_pool_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 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 + name (str): The name (project, location, cluster, node pool id) of the node poll + to rollback upgrade. Specified in the format ``projects/*/locations/*/clusters/*/nodePools/*``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will @@ -2461,8 +2465,8 @@ def set_node_pool_management( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.container_v1beta1.types.NodeManagement` - name (str): The name (project, location, cluster, node pool id) of the node pool to - set management properties. Specified in the format + 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/*``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will @@ -2574,8 +2578,8 @@ 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. - name (str): The name (project, location, cluster id) of the cluster to set labels. - Specified in the format ``projects/*/locations/*/clusters/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2675,8 +2679,9 @@ def set_legacy_abac( 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): 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/*``. + 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 to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2869,8 +2874,9 @@ def complete_i_p_rotation( 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. - name (str): The name (project, location, cluster id) of the cluster to complete IP - rotation. Specified in the format ``projects/*/locations/*/clusters/*``. + name (str): The name (project, location, cluster id) of the cluster to complete + IP rotation. Specified in the format + ``projects/*/locations/*/clusters/*``. 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. @@ -2902,7 +2908,7 @@ def complete_i_p_rotation( ) request = cluster_service_pb2.CompleteIPRotationRequest( - project_id=project_id, zone=zone, cluster_id=cluster_id, name=name + project_id=project_id, zone=zone, cluster_id=cluster_id, name=name, ) if metadata is None: metadata = [] @@ -2971,8 +2977,8 @@ def set_node_pool_size( 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): 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 + 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/*``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will @@ -3271,10 +3277,10 @@ def list_usable_subnetworks( ... pass Args: - 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 + 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. This defaults to the parent project ID. page_size (int): The maximum number of resources contained in the @@ -3316,7 +3322,7 @@ def list_usable_subnetworks( ) request = cluster_service_pb2.ListUsableSubnetworksRequest( - parent=parent, filter=filter_, page_size=page_size + parent=parent, filter=filter_, page_size=page_size, ) if metadata is None: metadata = [] @@ -3367,8 +3373,8 @@ def list_locations( >>> response = client.list_locations(parent) Args: - parent (str): Required. 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. @@ -3399,7 +3405,7 @@ def list_locations( client_info=self._client_info, ) - request = cluster_service_pb2.ListLocationsRequest(parent=parent) + request = cluster_service_pb2.ListLocationsRequest(parent=parent,) if metadata is None: metadata = [] metadata = list(metadata) diff --git a/packages/google-cloud-container/google/cloud/container_v1beta1/gapic/enums.py b/packages/google-cloud-container/google/cloud/container_v1beta1/gapic/enums.py index bb2ab3e899f2..45c2714cbe91 100644 --- a/packages/google-cloud-container/google/cloud/container_v1beta1/gapic/enums.py +++ b/packages/google-cloud-container/google/cloud/container_v1beta1/gapic/enums.py @@ -29,14 +29,15 @@ class Status(enum.IntEnum): PROVISIONING (int): The PROVISIONING state indicates the cluster is being created. RUNNING (int): The RUNNING state indicates the cluster has been created and is fully usable. - RECONCILING (int): The RECONCILING state indicates that some work is actively being done on - the cluster, such as upgrading the master or node software. Details can - be found in the ``statusMessage`` field. + RECONCILING (int): The RECONCILING state indicates that some work is actively being + done on the cluster, such as upgrading the master or node software. + Details can be found in the ``statusMessage`` field. STOPPING (int): The STOPPING state indicates the cluster is being deleted. - ERROR (int): The ERROR state indicates the cluster may be unusable. Details can be - found in the ``statusMessage`` field. - DEGRADED (int): The DEGRADED state indicates the cluster requires user action to restore - full functionality. Details can be found in the ``statusMessage`` field. + ERROR (int): The ERROR state indicates the cluster may be unusable. Details can + be found in the ``statusMessage`` field. + DEGRADED (int): The DEGRADED state indicates the cluster requires user action to + restore full functionality. Details can be found in the + ``statusMessage`` field. """ STATUS_UNSPECIFIED = 0 @@ -85,7 +86,8 @@ class LocationType(enum.IntEnum): LocationType is the type of GKE location, regional or zonal. Attributes: - LOCATION_TYPE_UNSPECIFIED (int): LOCATION\_TYPE\_UNSPECIFIED means the location type was not determined. + LOCATION_TYPE_UNSPECIFIED (int): LOCATION_TYPE_UNSPECIFIED means the location type was not + determined. ZONE (int): A GKE Location where Zonal clusters can be created. REGION (int): A GKE Location where Regional clusters can be created. """ @@ -119,16 +121,16 @@ class Status(enum.IntEnum): PROVISIONING (int): The PROVISIONING state indicates the node pool is being created. RUNNING (int): The RUNNING state indicates the node pool has been created and is fully usable. - RUNNING_WITH_ERROR (int): The RUNNING\_WITH\_ERROR state indicates the node pool has been created - and is partially usable. Some error state has occurred and some + RUNNING_WITH_ERROR (int): The RUNNING_WITH_ERROR state indicates the node pool has been + created and is partially usable. Some error state has occurred and some functionality may be impaired. Customer may need to reissue a request or trigger a new update. - RECONCILING (int): The RECONCILING state indicates that some work is actively being done on - the node pool, such as upgrading node software. Details can be found in - the ``statusMessage`` field. - STOPPING (int): The STOPPING state indicates the node pool is being deleted. - ERROR (int): The ERROR state indicates the node pool may be unusable. Details can be + RECONCILING (int): The RECONCILING state indicates that some work is actively being + done on the node pool, such as upgrading node software. Details can be found in the ``statusMessage`` field. + STOPPING (int): The STOPPING state indicates the node pool is being deleted. + ERROR (int): The ERROR state indicates the node pool may be unusable. Details can + be found in the ``statusMessage`` field. """ STATUS_UNSPECIFIED = 0 @@ -248,8 +250,8 @@ class Code(enum.IntEnum): Attributes: UNKNOWN (int): UNKNOWN indicates a generic condition. - GCE_STOCKOUT (int): GCE\_STOCKOUT indicates a Google Compute Engine stockout. - GKE_SERVICE_ACCOUNT_DELETED (int): GKE\_SERVICE\_ACCOUNT\_DELETED indicates that the user deleted their + GCE_STOCKOUT (int): GCE_STOCKOUT indicates a Google Compute Engine stockout. + GKE_SERVICE_ACCOUNT_DELETED (int): GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their 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. @@ -274,12 +276,12 @@ class Status(enum.IntEnum): Attributes: UNKNOWN (int): UNKNOWN is the zero value of the Status enum. It's not a valid status. UNUSED (int): UNUSED denotes that this range is unclaimed by any cluster. - IN_USE_SERVICE (int): IN\_USE\_SERVICE denotes that this range is claimed by a cluster for + IN_USE_SERVICE (int): IN_USE_SERVICE denotes that this range is claimed by a cluster for services. It cannot be used for other clusters. - IN_USE_SHAREABLE_POD (int): IN\_USE\_SHAREABLE\_POD denotes this range was created by the network + IN_USE_SHAREABLE_POD (int): IN_USE_SHAREABLE_POD denotes this range was created by the network admin and is currently claimed by a cluster for pods. It can only be used by other clusters as a pod range. - IN_USE_MANAGED_POD (int): IN\_USE\_MANAGED\_POD denotes this range was created by GKE and is + IN_USE_MANAGED_POD (int): IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed for pods. It cannot be used for other clusters. """ diff --git a/packages/google-cloud-container/google/cloud/container_v1beta1/gapic/transports/cluster_manager_grpc_transport.py b/packages/google-cloud-container/google/cloud/container_v1beta1/gapic/transports/cluster_manager_grpc_transport.py index 35de67aabc03..bafe84498e25 100644 --- a/packages/google-cloud-container/google/cloud/container_v1beta1/gapic/transports/cluster_manager_grpc_transport.py +++ b/packages/google-cloud-container/google/cloud/container_v1beta1/gapic/transports/cluster_manager_grpc_transport.py @@ -53,7 +53,7 @@ def __init__( # exception (channels come with credentials baked in already). if channel is not None and credentials is not None: raise ValueError( - "The `channel` and `credentials` arguments are mutually " "exclusive." + "The `channel` and `credentials` arguments are mutually " "exclusive.", ) # Create the channel. @@ -72,7 +72,9 @@ def __init__( # gRPC uses objects called "stubs" that are bound to the # channel and provide a basic method for each RPC. self._stubs = { - "cluster_manager_stub": cluster_service_pb2_grpc.ClusterManagerStub(channel) + "cluster_manager_stub": cluster_service_pb2_grpc.ClusterManagerStub( + channel + ), } @classmethod @@ -138,8 +140,8 @@ def get_cluster(self): def create_cluster(self): """Return the gRPC stub for :meth:`ClusterManagerClient.create_cluster`. - Creates a cluster, consisting of the specified number and type of Google - Compute Engine instances. + Creates a cluster, consisting of the specified number and type of + Google Compute Engine instances. By default, the cluster is created in the project's `default network `__. diff --git a/packages/google-cloud-container/google/cloud/container_v1beta1/proto/cluster_service.proto b/packages/google-cloud-container/google/cloud/container_v1beta1/proto/cluster_service.proto index 711ea2a9bb9f..f43de9df02fc 100644 --- a/packages/google-cloud-container/google/cloud/container_v1beta1/proto/cluster_service.proto +++ b/packages/google-cloud-container/google/cloud/container_v1beta1/proto/cluster_service.proto @@ -1026,7 +1026,7 @@ message Cluster { string description = 2; // The number of nodes to create in this cluster. You must ensure that your - // Compute Engine resource quota + // Compute Engine [resource quota](https://cloud.google.com/compute/quotas) // is sufficient for this number of instances. You must also have available // firewall and routes quota. // For requests, this field should only be used in lieu of a @@ -2376,7 +2376,7 @@ message NodePool { NodeConfig config = 2; // The initial node count for the pool. You must ensure that your - // Compute Engine resource quota + // Compute Engine [resource quota](https://cloud.google.com/compute/quotas) // is sufficient for this number of instances. You must also have available // firewall and routes quota. int32 initial_node_count = 3; diff --git a/packages/google-cloud-container/google/cloud/container_v1beta1/proto/cluster_service_pb2.py b/packages/google-cloud-container/google/cloud/container_v1beta1/proto/cluster_service_pb2.py index 9e82527a5ea0..870f8dbec6f5 100644 --- a/packages/google-cloud-container/google/cloud/container_v1beta1/proto/cluster_service_pb2.py +++ b/packages/google-cloud-container/google/cloud/container_v1beta1/proto/cluster_service_pb2.py @@ -3,9 +3,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/container_v1beta1/proto/cluster_service.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -27,12 +24,9 @@ name="google/cloud/container_v1beta1/proto/cluster_service.proto", package="google.container.v1beta1", syntax="proto3", - serialized_options=_b( - "\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\352\002!Google::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\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\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`__ To unset the min cpu platform field pass - "automatic" as field value. + “automatic” as field value. workload_metadata_config: The workload metadata configuration for this node. taints: @@ -10284,7 +11029,7 @@ Shielded Instance options. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeConfig) - ), + }, ) _sym_db.RegisterMessage(NodeConfig) _sym_db.RegisterMessage(NodeConfig.MetadataEntry) @@ -10293,10 +11038,11 @@ 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. + { + "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 @@ -10312,21 +11058,22 @@ 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. + { + "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. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint- and-toleration/ + Attributes: key: Key for taint. @@ -10336,19 +11083,20 @@ Effect for taint. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeTaint) - ), + }, ) _sym_db.RegisterMessage(NodeTaint) MasterAuth = _reflection.GeneratedProtocolMessageType( "MasterAuth", (_message.Message,), - dict( - DESCRIPTOR=_MASTERAUTH, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""The authentication information for accessing the master endpoint. + { + "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. + Attributes: username: The username to use for HTTP basic authentication to the @@ -10375,34 +11123,36 @@ authenticate to the cluster endpoint. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.MasterAuth) - ), + }, ) _sym_db.RegisterMessage(MasterAuth) ClientCertificateConfig = _reflection.GeneratedProtocolMessageType( "ClientCertificateConfig", (_message.Message,), - dict( - DESCRIPTOR=_CLIENTCERTIFICATECONFIG, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration for client certificates on the cluster. + { + "DESCRIPTOR": _CLIENTCERTIFICATECONFIG, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration for client certificates on the cluster. + Attributes: issue_client_certificate: Issue a client certificate. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ClientCertificateConfig) - ), + }, ) _sym_db.RegisterMessage(ClientCertificateConfig) AddonsConfig = _reflection.GeneratedProtocolMessageType( "AddonsConfig", (_message.Message,), - 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 + { + "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. + Attributes: http_load_balancing: Configuration for the HTTP (L7) load balancing controller @@ -10433,19 +11183,20 @@ option can only be enabled at cluster creation time. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.AddonsConfig) - ), + }, ) _sym_db.RegisterMessage(AddonsConfig) HttpLoadBalancing = _reflection.GeneratedProtocolMessageType( "HttpLoadBalancing", (_message.Message,), - dict( - DESCRIPTOR=_HTTPLOADBALANCING, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration options for the HTTP (L7) load balancing controller + { + "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. + Attributes: disabled: Whether the HTTP Load Balancing controller is enabled in the @@ -10453,19 +11204,20 @@ manages the load balancers. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.HttpLoadBalancing) - ), + }, ) _sym_db.RegisterMessage(HttpLoadBalancing) HorizontalPodAutoscaling = _reflection.GeneratedProtocolMessageType( "HorizontalPodAutoscaling", (_message.Message,), - dict( - DESCRIPTOR=_HORIZONTALPODAUTOSCALING, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration options for the horizontal pod autoscaling feature, + { + "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. + Attributes: disabled: Whether the Horizontal Pod Autoscaling feature is enabled in @@ -10474,84 +11226,88 @@ Monitoring service. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.HorizontalPodAutoscaling) - ), + }, ) _sym_db.RegisterMessage(HorizontalPodAutoscaling) KubernetesDashboard = _reflection.GeneratedProtocolMessageType( "KubernetesDashboard", (_message.Message,), - dict( - DESCRIPTOR=_KUBERNETESDASHBOARD, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration for the Kubernetes Dashboard. + { + "DESCRIPTOR": _KUBERNETESDASHBOARD, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration for the Kubernetes Dashboard. + Attributes: disabled: Whether the Kubernetes Dashboard is enabled for this cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.KubernetesDashboard) - ), + }, ) _sym_db.RegisterMessage(KubernetesDashboard) NetworkPolicyConfig = _reflection.GeneratedProtocolMessageType( "NetworkPolicyConfig", (_message.Message,), - dict( - DESCRIPTOR=_NETWORKPOLICYCONFIG, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration for NetworkPolicy. This only tracks whether the addon is + { + "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. + Attributes: disabled: Whether NetworkPolicy is enabled for this cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkPolicyConfig) - ), + }, ) _sym_db.RegisterMessage(NetworkPolicyConfig) PrivateClusterConfig = _reflection.GeneratedProtocolMessageType( "PrivateClusterConfig", (_message.Message,), - dict( - DESCRIPTOR=_PRIVATECLUSTERCONFIG, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration options for private clusters. + { + "DESCRIPTOR": _PRIVATECLUSTERCONFIG, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration options for private clusters. + Attributes: enable_private_nodes: Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking. enable_private_endpoint: - Whether the master's internal IP address is used as the + Whether the master’s internal IP address is used as the cluster endpoint. master_ipv4_cidr_block: The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use - within the cluster's network. + within the cluster’s network. private_endpoint: - Output only. The internal IP address of this cluster's master + Output only. The internal IP address of this cluster’s master endpoint. public_endpoint: - Output only. The external IP address of this cluster's master + Output only. The external IP address of this cluster’s master endpoint. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.PrivateClusterConfig) - ), + }, ) _sym_db.RegisterMessage(PrivateClusterConfig) IstioConfig = _reflection.GeneratedProtocolMessageType( "IstioConfig", (_message.Message,), - dict( - DESCRIPTOR=_ISTIOCONFIG, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration options for Istio addon. + { + "DESCRIPTOR": _ISTIOCONFIG, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration options for Istio addon. + Attributes: disabled: Whether Istio is enabled for this cluster. @@ -10559,63 +11315,66 @@ The specified Istio auth mode, either none, or mutual TLS. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.IstioConfig) - ), + }, ) _sym_db.RegisterMessage(IstioConfig) CloudRunConfig = _reflection.GeneratedProtocolMessageType( "CloudRunConfig", (_message.Message,), - dict( - DESCRIPTOR=_CLOUDRUNCONFIG, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration options for the Cloud Run feature. + { + "DESCRIPTOR": _CLOUDRUNCONFIG, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration options for the Cloud Run feature. + Attributes: disabled: Whether Cloud Run addon is enabled for this cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.CloudRunConfig) - ), + }, ) _sym_db.RegisterMessage(CloudRunConfig) MasterAuthorizedNetworksConfig = _reflection.GeneratedProtocolMessageType( "MasterAuthorizedNetworksConfig", (_message.Message,), - dict( - CidrBlock=_reflection.GeneratedProtocolMessageType( + { + "CidrBlock": _reflection.GeneratedProtocolMessageType( "CidrBlock", (_message.Message,), - dict( - DESCRIPTOR=_MASTERAUTHORIZEDNETWORKSCONFIG_CIDRBLOCK, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""CidrBlock contains an optional name and one CIDR block. + { + "DESCRIPTOR": _MASTERAUTHORIZEDNETWORKSCONFIG_CIDRBLOCK, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """CidrBlock contains an optional name and one CIDR block. + Attributes: display_name: - display\_name is an optional field for users to identify CIDR + display_name is an optional field for users to identify CIDR blocks. cidr_block: - cidr\_block must be specified in CIDR notation. + cidr_block must be specified in CIDR notation. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) - ), + }, ), - DESCRIPTOR=_MASTERAUTHORIZEDNETWORKSCONFIG, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration options for the master authorized networks feature. + "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. + Attributes: enabled: Whether or not master authorized networks is enabled. cidr_blocks: - cidr\_blocks define up to 10 external networks that could + cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.MasterAuthorizedNetworksConfig) - ), + }, ) _sym_db.RegisterMessage(MasterAuthorizedNetworksConfig) _sym_db.RegisterMessage(MasterAuthorizedNetworksConfig.CidrBlock) @@ -10623,11 +11382,12 @@ LegacyAbac = _reflection.GeneratedProtocolMessageType( "LegacyAbac", (_message.Message,), - dict( - DESCRIPTOR=_LEGACYABAC, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration for the legacy Attribute Based Access Control + { + "DESCRIPTOR": _LEGACYABAC, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration for the legacy Attribute Based Access Control authorization mode. + Attributes: enabled: Whether the ABAC authorizer is enabled for this cluster. When @@ -10637,19 +11397,20 @@ IAM. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.LegacyAbac) - ), + }, ) _sym_db.RegisterMessage(LegacyAbac) NetworkPolicy = _reflection.GeneratedProtocolMessageType( "NetworkPolicy", (_message.Message,), - dict( - DESCRIPTOR=_NETWORKPOLICY, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration options for the NetworkPolicy feature. + { + "DESCRIPTOR": _NETWORKPOLICY, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services- networking/networkpolicies/ + Attributes: provider: The selected network policy provider. @@ -10657,17 +11418,18 @@ Whether network policy is enabled on the cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkPolicy) - ), + }, ) _sym_db.RegisterMessage(NetworkPolicy) IPAllocationPolicy = _reflection.GeneratedProtocolMessageType( "IPAllocationPolicy", (_message.Message,), - dict( - DESCRIPTOR=_IPALLOCATIONPOLICY, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration for controlling how IPs are allocated in the cluster. + { + "DESCRIPTOR": _IPALLOCATIONPOLICY, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration for controlling how IPs are allocated in the cluster. + Attributes: use_ip_aliases: Whether alias IPs will be used for pod IPs in the cluster. @@ -10680,24 +11442,23 @@ is true. If this field is empty, then an automatic name will be chosen for the new subnetwork. cluster_ipv4_cidr: - This field is deprecated, use cluster\_ipv4\_cidr\_block. + This field is deprecated, use cluster_ipv4_cidr_block. node_ipv4_cidr: - This field is deprecated, use node\_ipv4\_cidr\_block. + This field is deprecated, use node_ipv4_cidr_block. services_ipv4_cidr: - This field is deprecated, use services\_ipv4\_cidr\_block. + This field is deprecated, use services_ipv4_cidr_block. cluster_secondary_range_name: The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable - with use\_ip\_aliases and create\_subnetwork is false. + with use_ip_aliases and create_subnetwork is false. services_secondary_range_name: The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork. This field is only - applicable with use\_ip\_aliases and create\_subnetwork is - false. + applicable with use_ip_aliases and create_subnetwork is false. cluster_ipv4_cidr_block: The IP address range for the cluster pod IPs. If this field is set, then ``cluster.cluster_ipv4_cidr`` must be left blank. @@ -10737,15 +11498,14 @@ If true, allow allocation of cluster CIDR ranges that overlap with certain kinds of network routes. By default we do not allow cluster CIDR ranges to intersect with any user declared - routes. With allow\_route\_overlap == true, we allow - overlapping with CIDR ranges that are larger than the cluster - CIDR range. If this field is set to true, then cluster and - services CIDRs must be fully-specified (e.g. ``10.96.0.0/14``, - but not ``/14``), which means: 1) When ``use_ip_aliases`` is - true, ``cluster_ipv4_cidr_block`` and - ``services_ipv4_cidr_block`` must be fully-specified. 2) When - ``use_ip_aliases`` is false, ``cluster.cluster_ipv4_cidr`` - muse be fully-specified. + routes. With allow_route_overlap == true, we allow overlapping + with CIDR ranges that are larger than the cluster CIDR range. + If this field is set to true, then cluster and services CIDRs + must be fully-specified (e.g. ``10.96.0.0/14``, but not + ``/14``), which means: 1) When ``use_ip_aliases`` is true, + ``cluster_ipv4_cidr_block`` and ``services_ipv4_cidr_block`` + must be fully-specified. 2) When ``use_ip_aliases`` is false, + ``cluster.cluster_ipv4_cidr`` muse be fully-specified. tpu_ipv4_cidr_block: The IP address range of the Cloud TPUs in this cluster. If unspecified, a range will be automatically chosen with the @@ -10760,34 +11520,36 @@ range to use. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.IPAllocationPolicy) - ), + }, ) _sym_db.RegisterMessage(IPAllocationPolicy) BinaryAuthorization = _reflection.GeneratedProtocolMessageType( "BinaryAuthorization", (_message.Message,), - dict( - DESCRIPTOR=_BINARYAUTHORIZATION, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration for Binary Authorization. + { + "DESCRIPTOR": _BINARYAUTHORIZATION, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration for Binary Authorization. + Attributes: enabled: Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Google Binauthz. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.BinaryAuthorization) - ), + }, ) _sym_db.RegisterMessage(BinaryAuthorization) PodSecurityPolicyConfig = _reflection.GeneratedProtocolMessageType( "PodSecurityPolicyConfig", (_message.Message,), - dict( - DESCRIPTOR=_PODSECURITYPOLICYCONFIG, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Configuration for the PodSecurityPolicy feature. + { + "DESCRIPTOR": _PODSECURITYPOLICYCONFIG, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration for the PodSecurityPolicy feature. + Attributes: enabled: Enable the PodSecurityPolicy controller for this cluster. If @@ -10795,17 +11557,18 @@ created. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.PodSecurityPolicyConfig) - ), + }, ) _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. + { + "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 @@ -10815,30 +11578,31 @@ relevant if enabled = true. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.AuthenticatorGroupsConfig) - ), + }, ) _sym_db.RegisterMessage(AuthenticatorGroupsConfig) Cluster = _reflection.GeneratedProtocolMessageType( "Cluster", (_message.Message,), - dict( - ResourceLabelsEntry=_reflection.GeneratedProtocolMessageType( + { + "ResourceLabelsEntry": _reflection.GeneratedProtocolMessageType( "ResourceLabelsEntry", (_message.Message,), - dict( - DESCRIPTOR=_CLUSTER_RESOURCELABELSENTRY, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2" + { + "DESCRIPTOR": _CLUSTER_RESOURCELABELSENTRY, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2" # @@protoc_insertion_point(class_scope:google.container.v1beta1.Cluster.ResourceLabelsEntry) - ), + }, ), - DESCRIPTOR=_CLUSTER, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""A Google Kubernetes Engine cluster. + "DESCRIPTOR": _CLUSTER, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """A Google Kubernetes Engine cluster. + Attributes: name: The name of this cluster. The name must be unique within this - project and location (e.g. zone or region), and can be up to + 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. @@ -10846,31 +11610,32 @@ An optional description of this cluster. initial_node_count: The number of nodes to create in this cluster. You must ensure - that your Compute Engine resource quota is sufficient for this - number of instances. You must also have available firewall and - routes quota. For requests, this field should only be used in - 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. This field is deprecated, use - node\_pool.initial\_node\_count instead. + that your Compute Engine `resource quota + `__ is sufficient for + this number of instances. You must also have available + firewall and routes quota. For requests, this field should + only be used in 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. This field is + deprecated, use node_pool.initial_node_count instead. node_config: - Parameters used in creating the cluster's nodes. For requests, - this field should only be used in lieu of a "node\_pool" + 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" + “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 + node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (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. + 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 - before v1.12, if master\_auth is unspecified, ``username`` - will be set to "admin", a random password will be generated, - and a client certificate will be issued. + before v1.12, if master_auth is unspecified, ``username`` will + be set to “admin”, a random password will be generated, and a + client certificate will be issued. logging_service: The logging service the cluster should use to write logs. Currently available options: - ``logging.googleapis.com`` - @@ -10906,15 +11671,15 @@ subnetwork ID instead of the name. node_pools: The node pools associated with this cluster. This field should - not be set if "node\_config" or "initial\_node\_count" are + not be set if “node_config” or “initial_node_count” are specified. locations: The list of Google Compute Engine `zones `__ in - which the cluster's nodes should be located. + which the cluster’s nodes should be located. enable_kubernetes_alpha: Kubernetes alpha features are enabled on this cluster. This - includes alpha API groups (e.g. v1beta1) and features that may + includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are @@ -10948,13 +11713,13 @@ clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use - private\_cluster\_config.enable\_private\_nodes instead. + private_cluster_config.enable_private_nodes instead. master_ipv4_cidr_block: The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use - private\_cluster\_config.master\_ipv4\_cidr\_block instead. + private_cluster_config.master_ipv4_cidr_block instead. default_max_pods_constraint: The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this @@ -10977,7 +11742,7 @@ which the cluster resides. This field is deprecated, use location instead. endpoint: - [Output only] The IP address of this cluster's master + [Output only] The IP address of this cluster’s master endpoint. The endpoint can be accessed from the internet at ``https://username:password@endpoint/``. See the ``masterAuth`` property of this resource for username and @@ -10989,11 +11754,11 @@ upgrades are reflected in currentMasterVersion and currentNodeVersion. 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 + 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 - "","-": + “1.X.Y-gke.N”: picks an explicit Kubernetes version - "“,”-": picks the default Kubernetes version current_master_version: [Output only] The current software version of the master @@ -11003,7 +11768,7 @@ `__ instead. The current version of the node software components. If they - are currently at multiple versions because they're in the + are currently at multiple versions because they’re in the process of being upgraded, this reflects the minimum version of all nodes. create_time: @@ -11027,7 +11792,7 @@ addresses are typically put in the last ``/16`` from the container CIDR. instance_group_urls: - Deprecated. Use node\_pools.instance\_group\_urls. + Deprecated. Use node_pools.instance_group_urls. current_node_count: [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node @@ -11055,7 +11820,7 @@ Which conditions caused the current cluster state. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.Cluster) - ), + }, ) _sym_db.RegisterMessage(Cluster) _sym_db.RegisterMessage(Cluster.ResourceLabelsEntry) @@ -11063,56 +11828,57 @@ ClusterUpdate = _reflection.GeneratedProtocolMessageType( "ClusterUpdate", (_message.Message,), - dict( - DESCRIPTOR=_CLUSTERUPDATE, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ClusterUpdate describes an update to the cluster. Exactly one update + { + "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. + Attributes: desired_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 + 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 - "-": + “1.X.Y-gke.N”: picks an explicit Kubernetes version - “-”: picks the Kubernetes master version desired_monitoring_service: The monitoring service the cluster should use to write metrics. Currently available options: - - "monitoring.googleapis.com/kubernetes" - the Google Cloud + “monitoring.googleapis.com/kubernetes” - the Google Cloud Monitoring service with Kubernetes-native resource model - - "monitoring.googleapis.com" - the Google Cloud Monitoring - service - "none" - no metrics will be exported from the + “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", - "desired\_node\_pool\_autoscaling", or - "desired\_workload\_metadata\_config" 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. + “desired_node_pool” field as well. desired_node_pool_autoscaling: Autoscaler configuration for the node pool specified in - desired\_node\_pool\_id. If there is only one pool in the - cluster and desired\_node\_pool\_id is not provided then the - change applies to that single node pool. + desired_node_pool_id. If there is only one pool in the cluster + and desired_node_pool_id is not provided then the change + applies to that single node pool. desired_locations: The desired list of Google Compute Engine `zones `__ in - which the cluster's nodes should be located. Changing the + 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. + include the cluster’s primary zone. desired_master_authorized_networks_config: The desired configuration options for master authorized networks feature. @@ -11127,10 +11893,10 @@ desired_logging_service: The logging service the cluster should use to write metrics. Currently available options: - - "logging.googleapis.com/kubernetes" - the Google Cloud Logging + “logging.googleapis.com/kubernetes” - the Google Cloud Logging service with Kubernetes-native resource model - - "logging.googleapis.com" - the Google Cloud Logging service - - "none" - no logs will be exported from the cluster + “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: @@ -11142,25 +11908,26 @@ value is the latest supported version. 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": + “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 + “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 """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ClusterUpdate) - ), + }, ) _sym_db.RegisterMessage(ClusterUpdate) Operation = _reflection.GeneratedProtocolMessageType( "Operation", (_message.Message,), - dict( - DESCRIPTOR=_OPERATION, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""This operation resource represents operations that may have happened + { + "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. + Attributes: name: The server-assigned ID for the operation. @@ -11201,24 +11968,25 @@ Which conditions caused the current node pool state. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.Operation) - ), + }, ) _sym_db.RegisterMessage(Operation) OperationProgress = _reflection.GeneratedProtocolMessageType( "OperationProgress", (_message.Message,), - dict( - Metric=_reflection.GeneratedProtocolMessageType( + { + "Metric": _reflection.GeneratedProtocolMessageType( "Metric", (_message.Message,), - dict( - DESCRIPTOR=_OPERATIONPROGRESS_METRIC, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Progress metric is (string, int\|float\|string) pair. + { + "DESCRIPTOR": _OPERATIONPROGRESS_METRIC, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Progress metric is (string, int|float|string) pair. + Attributes: name: - Metric name, required. e.g., "nodes total", "percent done" + Metric name, required. e.g., “nodes total”, “percent done” value: Strictly one of the values is required. int_value: @@ -11230,11 +11998,12 @@ etc.). """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.OperationProgress.Metric) - ), + }, ), - DESCRIPTOR=_OPERATIONPROGRESS, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Information about operation (or operation stage) progress. + "DESCRIPTOR": _OPERATIONPROGRESS, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Information about operation (or operation stage) progress. + Attributes: name: A non-parameterized string describing an operation stage. @@ -11243,15 +12012,15 @@ Status of an operation stage. Unset for single-stage operations. metrics: - Progress metric bundle, for example: metrics: [{name: "nodes - done", int\_value: 15}, {name: "nodes total", int\_value: 32}] - or metrics: [{name: "progress", double\_value: 0.56}, {name: - "progress scale", double\_value: 1.0}] + Progress metric bundle, for example: metrics: [{name: “nodes + done”, int_value: 15}, {name: “nodes total”, int_value: 32}] + or metrics: [{name: “progress”, double_value: 0.56}, {name: + “progress scale”, double_value: 1.0}] stages: Substages of an operation or a stage. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.OperationProgress) - ), + }, ) _sym_db.RegisterMessage(OperationProgress) _sym_db.RegisterMessage(OperationProgress.Metric) @@ -11259,10 +12028,11 @@ CreateClusterRequest = _reflection.GeneratedProtocolMessageType( "CreateClusterRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATECLUSTERREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""CreateClusterRequest creates a cluster. + { + "DESCRIPTOR": _CREATECLUSTERREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """CreateClusterRequest creates a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11284,17 +12054,18 @@ created. Specified in the format ``projects/*/locations/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.CreateClusterRequest) - ), + }, ) _sym_db.RegisterMessage(CreateClusterRequest) GetClusterRequest = _reflection.GeneratedProtocolMessageType( "GetClusterRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETCLUSTERREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""GetClusterRequest gets the settings of a cluster. + { + "DESCRIPTOR": _GETCLUSTERREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """GetClusterRequest gets the settings of a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11316,17 +12087,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.GetClusterRequest) - ), + }, ) _sym_db.RegisterMessage(GetClusterRequest) UpdateClusterRequest = _reflection.GeneratedProtocolMessageType( "UpdateClusterRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATECLUSTERREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""UpdateClusterRequest updates the settings of a cluster. + { + "DESCRIPTOR": _UPDATECLUSTERREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """UpdateClusterRequest updates the settings of a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11350,17 +12122,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.UpdateClusterRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateClusterRequest) UpdateNodePoolRequest = _reflection.GeneratedProtocolMessageType( "UpdateNodePoolRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATENODEPOOLREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetNodePoolVersionRequest updates the version of a node pool. + { + "DESCRIPTOR": _UPDATENODEPOOLREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetNodePoolVersionRequest updates the version of a node pool. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11383,11 +12156,11 @@ 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 + 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 - "-": + “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. @@ -11399,18 +12172,19 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.UpdateNodePoolRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateNodePoolRequest) SetNodePoolAutoscalingRequest = _reflection.GeneratedProtocolMessageType( "SetNodePoolAutoscalingRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETNODEPOOLAUTOSCALINGREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetNodePoolAutoscalingRequest sets the autoscaler settings of a node + { + "DESCRIPTOR": _SETNODEPOOLAUTOSCALINGREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11437,17 +12211,18 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNodePoolAutoscalingRequest) - ), + }, ) _sym_db.RegisterMessage(SetNodePoolAutoscalingRequest) SetLoggingServiceRequest = _reflection.GeneratedProtocolMessageType( "SetLoggingServiceRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETLOGGINGSERVICEREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetLoggingServiceRequest sets the logging service of a cluster. + { + "DESCRIPTOR": _SETLOGGINGSERVICEREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetLoggingServiceRequest sets the logging service of a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11466,25 +12241,26 @@ logging_service: 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 + “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 ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLoggingServiceRequest) - ), + }, ) _sym_db.RegisterMessage(SetLoggingServiceRequest) SetMonitoringServiceRequest = _reflection.GeneratedProtocolMessageType( "SetMonitoringServiceRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETMONITORINGSERVICEREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetMonitoringServiceRequest sets the monitoring service of a cluster. + { + "DESCRIPTOR": _SETMONITORINGSERVICEREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetMonitoringServiceRequest sets the monitoring service of a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11503,8 +12279,8 @@ monitoring_service: 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 + “monitoring.googleapis.com” - the Google Cloud Monitoring + service - “none” - no metrics will be exported from the cluster name: The name (project, location, cluster) of the cluster to set @@ -11512,17 +12288,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetMonitoringServiceRequest) - ), + }, ) _sym_db.RegisterMessage(SetMonitoringServiceRequest) SetAddonsConfigRequest = _reflection.GeneratedProtocolMessageType( "SetAddonsConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETADDONSCONFIGREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetAddonsRequest sets the addons associated with the cluster. + { + "DESCRIPTOR": _SETADDONSCONFIGREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetAddonsRequest sets the addons associated with the cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11547,17 +12324,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetAddonsConfigRequest) - ), + }, ) _sym_db.RegisterMessage(SetAddonsConfigRequest) SetLocationsRequest = _reflection.GeneratedProtocolMessageType( "SetLocationsRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETLOCATIONSREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetLocationsRequest sets the locations of the cluster. + { + "DESCRIPTOR": _SETLOCATIONSREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetLocationsRequest sets the locations of the cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11576,28 +12354,29 @@ locations: Required. The desired list of Google Compute Engine `zones `__ in - which the cluster's nodes should be located. Changing the + 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. + include the cluster’s primary zone. name: The name (project, location, cluster) of the cluster to set locations. Specified in the format ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLocationsRequest) - ), + }, ) _sym_db.RegisterMessage(SetLocationsRequest) UpdateMasterRequest = _reflection.GeneratedProtocolMessageType( "UpdateMasterRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATEMASTERREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""UpdateMasterRequest updates the master of the cluster. + { + "DESCRIPTOR": _UPDATEMASTERREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """UpdateMasterRequest updates the master of the cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11617,11 +12396,11 @@ 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 + 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 @@ -11629,17 +12408,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.UpdateMasterRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateMasterRequest) SetMasterAuthRequest = _reflection.GeneratedProtocolMessageType( "SetMasterAuthRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETMASTERAUTHREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetMasterAuthRequest updates the admin password of a cluster. + { + "DESCRIPTOR": _SETMASTERAUTHREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetMasterAuthRequest updates the admin password of a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11666,17 +12446,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetMasterAuthRequest) - ), + }, ) _sym_db.RegisterMessage(SetMasterAuthRequest) DeleteClusterRequest = _reflection.GeneratedProtocolMessageType( "DeleteClusterRequest", (_message.Message,), - dict( - DESCRIPTOR=_DELETECLUSTERREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""DeleteClusterRequest deletes a cluster. + { + "DESCRIPTOR": _DELETECLUSTERREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """DeleteClusterRequest deletes a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11698,17 +12479,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.DeleteClusterRequest) - ), + }, ) _sym_db.RegisterMessage(DeleteClusterRequest) ListClustersRequest = _reflection.GeneratedProtocolMessageType( "ListClustersRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTCLUSTERSREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListClustersRequest lists clusters. + { + "DESCRIPTOR": _LISTCLUSTERSREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """ListClustersRequest lists clusters. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11719,25 +12501,26 @@ Required. Deprecated. The name of the Google Compute Engine `zone `__ in - which the cluster resides, or "-" for all zones. This field + which the cluster resides, or “-” for all zones. This field has been deprecated and replaced by the parent field. parent: The parent (project and location) where the clusters will be listed. Specified in the format ``projects/*/locations/*``. - Location "-" matches all zones and all regions. + Location “-” matches all zones and all regions. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ListClustersRequest) - ), + }, ) _sym_db.RegisterMessage(ListClustersRequest) ListClustersResponse = _reflection.GeneratedProtocolMessageType( "ListClustersResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTCLUSTERSRESPONSE, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListClustersResponse is the result of ListClustersRequest. + { + "DESCRIPTOR": _LISTCLUSTERSRESPONSE, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """ListClustersResponse is the result of ListClustersRequest. + Attributes: clusters: A list of clusters in the project in the specified zone, or @@ -11747,17 +12530,18 @@ may be missing those zones. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ListClustersResponse) - ), + }, ) _sym_db.RegisterMessage(ListClustersResponse) GetOperationRequest = _reflection.GeneratedProtocolMessageType( "GetOperationRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETOPERATIONREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""GetOperationRequest gets a single operation. + { + "DESCRIPTOR": _GETOPERATIONREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """GetOperationRequest gets a single operation. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11780,17 +12564,18 @@ ``projects/*/locations/*/operations/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.GetOperationRequest) - ), + }, ) _sym_db.RegisterMessage(GetOperationRequest) ListOperationsRequest = _reflection.GeneratedProtocolMessageType( "ListOperationsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTOPERATIONSREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListOperationsRequest lists operations. + { + "DESCRIPTOR": _LISTOPERATIONSREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """ListOperationsRequest lists operations. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11806,20 +12591,21 @@ parent: The parent (project and location) where the operations will be listed. Specified in the format ``projects/*/locations/*``. - Location "-" matches all zones and all regions. + Location “-” matches all zones and all regions. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ListOperationsRequest) - ), + }, ) _sym_db.RegisterMessage(ListOperationsRequest) CancelOperationRequest = _reflection.GeneratedProtocolMessageType( "CancelOperationRequest", (_message.Message,), - dict( - DESCRIPTOR=_CANCELOPERATIONREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""CancelOperationRequest cancels a single operation. + { + "DESCRIPTOR": _CANCELOPERATIONREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """CancelOperationRequest cancels a single operation. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11842,17 +12628,18 @@ ``projects/*/locations/*/operations/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.CancelOperationRequest) - ), + }, ) _sym_db.RegisterMessage(CancelOperationRequest) ListOperationsResponse = _reflection.GeneratedProtocolMessageType( "ListOperationsResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTOPERATIONSRESPONSE, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListOperationsResponse is the result of ListOperationsRequest. + { + "DESCRIPTOR": _LISTOPERATIONSRESPONSE, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """ListOperationsResponse is the result of ListOperationsRequest. + Attributes: operations: A list of operations in the project in the specified zone. @@ -11861,17 +12648,18 @@ may be missing the operations from those zones. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ListOperationsResponse) - ), + }, ) _sym_db.RegisterMessage(ListOperationsResponse) GetServerConfigRequest = _reflection.GeneratedProtocolMessageType( "GetServerConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETSERVERCONFIGREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Gets the current Kubernetes Engine service configuration. + { + "DESCRIPTOR": _GETSERVERCONFIGREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Gets the current Kubernetes Engine service configuration. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11889,17 +12677,18 @@ specified in the format ``projects/*/locations/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.GetServerConfigRequest) - ), + }, ) _sym_db.RegisterMessage(GetServerConfigRequest) ServerConfig = _reflection.GeneratedProtocolMessageType( "ServerConfig", (_message.Message,), - dict( - DESCRIPTOR=_SERVERCONFIG, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Kubernetes Engine service configuration. + { + "DESCRIPTOR": _SERVERCONFIG, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Kubernetes Engine service configuration. + Attributes: default_cluster_version: Version of Kubernetes the service deploys by default. @@ -11913,17 +12702,18 @@ List of valid master versions. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ServerConfig) - ), + }, ) _sym_db.RegisterMessage(ServerConfig) CreateNodePoolRequest = _reflection.GeneratedProtocolMessageType( "CreateNodePoolRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATENODEPOOLREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""CreateNodePoolRequest creates a node pool for a cluster. + { + "DESCRIPTOR": _CREATENODEPOOLREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """CreateNodePoolRequest creates a node pool for a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11947,17 +12737,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.CreateNodePoolRequest) - ), + }, ) _sym_db.RegisterMessage(CreateNodePoolRequest) DeleteNodePoolRequest = _reflection.GeneratedProtocolMessageType( "DeleteNodePoolRequest", (_message.Message,), - dict( - DESCRIPTOR=_DELETENODEPOOLREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""DeleteNodePoolRequest deletes a node pool for a cluster. + { + "DESCRIPTOR": _DELETENODEPOOLREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """DeleteNodePoolRequest deletes a node pool for a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -11982,17 +12773,18 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.DeleteNodePoolRequest) - ), + }, ) _sym_db.RegisterMessage(DeleteNodePoolRequest) ListNodePoolsRequest = _reflection.GeneratedProtocolMessageType( "ListNodePoolsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTNODEPOOLSREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListNodePoolsRequest lists the node pool(s) for a cluster. + { + "DESCRIPTOR": _LISTNODEPOOLSREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """ListNodePoolsRequest lists the node pool(s) for a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -12014,17 +12806,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ListNodePoolsRequest) - ), + }, ) _sym_db.RegisterMessage(ListNodePoolsRequest) GetNodePoolRequest = _reflection.GeneratedProtocolMessageType( "GetNodePoolRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETNODEPOOLREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""GetNodePoolRequest retrieves a node pool for a cluster. + { + "DESCRIPTOR": _GETNODEPOOLREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """GetNodePoolRequest retrieves a node pool for a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -12049,22 +12842,23 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.GetNodePoolRequest) - ), + }, ) _sym_db.RegisterMessage(GetNodePoolRequest) NodePool = _reflection.GeneratedProtocolMessageType( "NodePool", (_message.Message,), - 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 + { + "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. + Attributes: name: The name of the node pool. @@ -12072,9 +12866,10 @@ The node configuration of the pool. initial_node_count: The initial node count for the pool. You must ensure that your - Compute Engine resource quota is sufficient for this number of - instances. You must also have available firewall and routes - quota. + Compute Engine `resource quota + `__ is sufficient for + this number of instances. You must also have available + firewall and routes quota. self_link: [Output only] Server-defined URL for the resource. version: @@ -12104,18 +12899,19 @@ pool. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool) - ), + }, ) _sym_db.RegisterMessage(NodePool) NodeManagement = _reflection.GeneratedProtocolMessageType( "NodeManagement", (_message.Message,), - dict( - DESCRIPTOR=_NODEMANAGEMENT, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""NodeManagement defines the set of node management services turned on + { + "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. + Attributes: auto_upgrade: Whether the nodes will be automatically upgraded. @@ -12125,18 +12921,19 @@ Specifies the Auto Upgrade knobs for the node pool. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeManagement) - ), + }, ) _sym_db.RegisterMessage(NodeManagement) AutoUpgradeOptions = _reflection.GeneratedProtocolMessageType( "AutoUpgradeOptions", (_message.Message,), - dict( - DESCRIPTOR=_AUTOUPGRADEOPTIONS, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""AutoUpgradeOptions defines the set of options for the user to control + { + "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. + Attributes: auto_upgrade_start_time: [Output only] This field is set when upgrades are about to @@ -12148,56 +12945,58 @@ commence with the description of the upgrade. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.AutoUpgradeOptions) - ), + }, ) _sym_db.RegisterMessage(AutoUpgradeOptions) MaintenancePolicy = _reflection.GeneratedProtocolMessageType( "MaintenancePolicy", (_message.Message,), - dict( - DESCRIPTOR=_MAINTENANCEPOLICY, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""MaintenancePolicy defines the maintenance policy to be used for the + { + "DESCRIPTOR": _MAINTENANCEPOLICY, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__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 + 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 + 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) - ), + }, ) _sym_db.RegisterMessage(MaintenancePolicy) MaintenanceWindow = _reflection.GeneratedProtocolMessageType( "MaintenanceWindow", (_message.Message,), - dict( - MaintenanceExclusionsEntry=_reflection.GeneratedProtocolMessageType( + { + "MaintenanceExclusionsEntry": _reflection.GeneratedProtocolMessageType( "MaintenanceExclusionsEntry", (_message.Message,), - dict( - DESCRIPTOR=_MAINTENANCEWINDOW_MAINTENANCEEXCLUSIONSENTRY, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2" + { + "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 + "DESCRIPTOR": _MAINTENANCEWINDOW, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """MaintenanceWindow defines the maintenance window to be used for the cluster. + Attributes: policy: Unimplemented, reserved for future use. - HourlyMaintenanceWindow hourly\_maintenance\_window = 1; + HourlyMaintenanceWindow hourly_maintenance_window = 1; daily_maintenance_window: DailyMaintenanceWindow specifies a daily maintenance operation window. @@ -12211,7 +13010,7 @@ should not occur in these windows. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.MaintenanceWindow) - ), + }, ) _sym_db.RegisterMessage(MaintenanceWindow) _sym_db.RegisterMessage(MaintenanceWindow.MaintenanceExclusionsEntry) @@ -12219,10 +13018,11 @@ 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. + { + "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. @@ -12231,17 +13031,18 @@ 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. + { + "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. @@ -12249,13 +13050,13 @@ 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: + 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 + 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 @@ -12263,44 +13064,46 @@ 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 + 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", (_message.Message,), - dict( - DESCRIPTOR=_DAILYMAINTENANCEWINDOW, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Time window specified for daily maintenance operations. + { + "DESCRIPTOR": _DAILYMAINTENANCEWINDOW, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Time window specified for daily maintenance operations. + 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 chosen to be smallest possible in the given scenario. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.DailyMaintenanceWindow) - ), + }, ) _sym_db.RegisterMessage(DailyMaintenanceWindow) SetNodePoolManagementRequest = _reflection.GeneratedProtocolMessageType( "SetNodePoolManagementRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETNODEPOOLMANAGEMENTREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetNodePoolManagementRequest sets the node management properties of a + { + "DESCRIPTOR": _SETNODEPOOLMANAGEMENTREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetNodePoolManagementRequest sets the node management properties of a node pool. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -12327,17 +13130,18 @@ format ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNodePoolManagementRequest) - ), + }, ) _sym_db.RegisterMessage(SetNodePoolManagementRequest) SetNodePoolSizeRequest = _reflection.GeneratedProtocolMessageType( "SetNodePoolSizeRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETNODEPOOLSIZEREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetNodePoolSizeRequest sets the size a node pool. + { + "DESCRIPTOR": _SETNODEPOOLSIZEREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetNodePoolSizeRequest sets the size a node pool. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -12364,19 +13168,20 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNodePoolSizeRequest) - ), + }, ) _sym_db.RegisterMessage(SetNodePoolSizeRequest) RollbackNodePoolUpgradeRequest = _reflection.GeneratedProtocolMessageType( "RollbackNodePoolUpgradeRequest", (_message.Message,), - dict( - DESCRIPTOR=_ROLLBACKNODEPOOLUPGRADEREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or + { + "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. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -12401,35 +13206,37 @@ ``projects/*/locations/*/clusters/*/nodePools/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.RollbackNodePoolUpgradeRequest) - ), + }, ) _sym_db.RegisterMessage(RollbackNodePoolUpgradeRequest) ListNodePoolsResponse = _reflection.GeneratedProtocolMessageType( "ListNodePoolsResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTNODEPOOLSRESPONSE, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListNodePoolsResponse is the result of ListNodePoolsRequest. + { + "DESCRIPTOR": _LISTNODEPOOLSRESPONSE, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """ListNodePoolsResponse is the result of ListNodePoolsRequest. + Attributes: node_pools: A list of node pools for a cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ListNodePoolsResponse) - ), + }, ) _sym_db.RegisterMessage(ListNodePoolsResponse) ClusterAutoscaling = _reflection.GeneratedProtocolMessageType( "ClusterAutoscaling", (_message.Message,), - dict( - DESCRIPTOR=_CLUSTERAUTOSCALING, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ClusterAutoscaling contains global, per-cluster information required + { + "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. + Attributes: enable_node_autoprovisioning: Enables automatic node pool creation and deletion. @@ -12442,101 +13249,105 @@ autoprovisioning_locations: The list of Google Compute Engine `zones `__ in - which the NodePool's nodes can be created by NAP. + 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 + { + "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. + 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 + 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 + { + "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. + Attributes: resource_type: - Resource name "cpu", "memory" or gpu-specific string. + Resource name “cpu”, “memory” or gpu-specific string. minimum: Minimum amount of the resource in the cluster. maximum: Maximum amount of the resource in the cluster. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceLimit) - ), + }, ) _sym_db.RegisterMessage(ResourceLimit) NodePoolAutoscaling = _reflection.GeneratedProtocolMessageType( "NodePoolAutoscaling", (_message.Message,), - dict( - DESCRIPTOR=_NODEPOOLAUTOSCALING, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""NodePoolAutoscaling contains information required by cluster + { + "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. + Attributes: enabled: Is autoscaling enabled for this node pool. min_node_count: Minimum number of nodes in the NodePool. Must be >= 1 and <= - max\_node\_count. + max_node_count. max_node_count: Maximum number of nodes in the NodePool. Must be >= - min\_node\_count. There has to enough quota to scale up the + min_node_count. There has to enough quota to scale up the cluster. autoprovisioned: Can this node pool be deleted automatically. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePoolAutoscaling) - ), + }, ) _sym_db.RegisterMessage(NodePoolAutoscaling) SetLabelsRequest = _reflection.GeneratedProtocolMessageType( "SetLabelsRequest", (_message.Message,), - dict( - ResourceLabelsEntry=_reflection.GeneratedProtocolMessageType( + { + "ResourceLabelsEntry": _reflection.GeneratedProtocolMessageType( "ResourceLabelsEntry", (_message.Message,), - dict( - DESCRIPTOR=_SETLABELSREQUEST_RESOURCELABELSENTRY, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2" + { + "DESCRIPTOR": _SETLABELSREQUEST_RESOURCELABELSENTRY, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2" # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLabelsRequest.ResourceLabelsEntry) - ), + }, ), - DESCRIPTOR=_SETLABELSREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetLabelsRequest sets the Google Cloud Platform labels on a Google + "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 + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -12568,7 +13379,7 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLabelsRequest) - ), + }, ) _sym_db.RegisterMessage(SetLabelsRequest) _sym_db.RegisterMessage(SetLabelsRequest.ResourceLabelsEntry) @@ -12576,11 +13387,12 @@ SetLegacyAbacRequest = _reflection.GeneratedProtocolMessageType( "SetLegacyAbacRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETLEGACYABACREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetLegacyAbacRequest enables or disables the ABAC authorization + { + "DESCRIPTOR": _SETLEGACYABACREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -12605,18 +13417,19 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLegacyAbacRequest) - ), + }, ) _sym_db.RegisterMessage(SetLegacyAbacRequest) StartIPRotationRequest = _reflection.GeneratedProtocolMessageType( "StartIPRotationRequest", (_message.Message,), - dict( - DESCRIPTOR=_STARTIPROTATIONREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""StartIPRotationRequest creates a new IP for the cluster and then + { + "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. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -12640,18 +13453,19 @@ Whether to rotate credentials during IP rotation. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.StartIPRotationRequest) - ), + }, ) _sym_db.RegisterMessage(StartIPRotationRequest) CompleteIPRotationRequest = _reflection.GeneratedProtocolMessageType( "CompleteIPRotationRequest", (_message.Message,), - dict( - DESCRIPTOR=_COMPLETEIPROTATIONREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""CompleteIPRotationRequest moves the cluster master back into single-IP + { + "DESCRIPTOR": _COMPLETEIPROTATIONREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """CompleteIPRotationRequest moves the cluster master back into single-IP mode. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -12673,17 +13487,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.CompleteIPRotationRequest) - ), + }, ) _sym_db.RegisterMessage(CompleteIPRotationRequest) AcceleratorConfig = _reflection.GeneratedProtocolMessageType( "AcceleratorConfig", (_message.Message,), - dict( - DESCRIPTOR=_ACCELERATORCONFIG, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""AcceleratorConfig represents a Hardware Accelerator request. + { + "DESCRIPTOR": _ACCELERATORCONFIG, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """AcceleratorConfig represents a Hardware Accelerator request. + Attributes: accelerator_count: The number of the accelerator cards exposed to an instance. @@ -12693,35 +13508,37 @@ `__ """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.AcceleratorConfig) - ), + }, ) _sym_db.RegisterMessage(AcceleratorConfig) WorkloadMetadataConfig = _reflection.GeneratedProtocolMessageType( "WorkloadMetadataConfig", (_message.Message,), - dict( - DESCRIPTOR=_WORKLOADMETADATACONFIG, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""WorkloadMetadataConfig defines the metadata configuration to expose to + { + "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. + Attributes: node_metadata: 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) - ), + }, ) _sym_db.RegisterMessage(WorkloadMetadataConfig) SetNetworkPolicyRequest = _reflection.GeneratedProtocolMessageType( "SetNetworkPolicyRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETNETWORKPOLICYREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetNetworkPolicyRequest enables/disables network policy for a cluster. + { + "DESCRIPTOR": _SETNETWORKPOLICYREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetNetworkPolicyRequest enables/disables network policy for a cluster. + Attributes: project_id: Required. Deprecated. The Google Developers Console `project @@ -12745,17 +13562,18 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNetworkPolicyRequest) - ), + }, ) _sym_db.RegisterMessage(SetNetworkPolicyRequest) SetMaintenancePolicyRequest = _reflection.GeneratedProtocolMessageType( "SetMaintenancePolicyRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETMAINTENANCEPOLICYREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""SetMaintenancePolicyRequest sets the maintenance policy for a cluster. + { + "DESCRIPTOR": _SETMAINTENANCEPOLICYREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """SetMaintenancePolicyRequest sets the maintenance policy for a cluster. + Attributes: project_id: Required. The Google Developers Console `project ID or project @@ -12775,58 +13593,61 @@ ``projects/*/locations/*/clusters/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.SetMaintenancePolicyRequest) - ), + }, ) _sym_db.RegisterMessage(SetMaintenancePolicyRequest) ListLocationsRequest = _reflection.GeneratedProtocolMessageType( "ListLocationsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTLOCATIONSREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListLocationsRequest is used to request the locations that offer GKE. + { + "DESCRIPTOR": _LISTLOCATIONSREQUEST, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """ListLocationsRequest is used to request the locations that offer GKE. + Attributes: parent: Required. Contains the name of the resource requested. Specified in the format ``projects/*``. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ListLocationsRequest) - ), + }, ) _sym_db.RegisterMessage(ListLocationsRequest) ListLocationsResponse = _reflection.GeneratedProtocolMessageType( "ListLocationsResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTLOCATIONSRESPONSE, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListLocationsResponse returns the list of all GKE locations and their + { + "DESCRIPTOR": _LISTLOCATIONSRESPONSE, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """ListLocationsResponse returns the list of all GKE locations and their recommendation state. + Attributes: locations: A full list of GKE locations. next_page_token: Only return ListLocationsResponse that occur after the - page\_token. This value should be populated from the - ListLocationsResponse.next\_page\_token if that response token + page_token. This value should be populated from the + ListLocationsResponse.next_page_token if that response token was set (which happens when listing more Locations than fit in a single ListLocationsResponse). """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ListLocationsResponse) - ), + }, ) _sym_db.RegisterMessage(ListLocationsResponse) Location = _reflection.GeneratedProtocolMessageType( "Location", (_message.Message,), - dict( - DESCRIPTOR=_LOCATION, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Location returns the location name, and if the location is recommended + { + "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. + Attributes: type: Contains the type of location this Location is for. Regional @@ -12838,18 +13659,19 @@ Whether the location is recomended for GKE cluster scheduling. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.Location) - ), + }, ) _sym_db.RegisterMessage(Location) StatusCondition = _reflection.GeneratedProtocolMessageType( "StatusCondition", (_message.Message,), - 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 + { + "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). + Attributes: code: Machine-friendly representation of the condition @@ -12857,17 +13679,18 @@ Human-friendly representation of the condition """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.StatusCondition) - ), + }, ) _sym_db.RegisterMessage(StatusCondition) NetworkConfig = _reflection.GeneratedProtocolMessageType( "NetworkConfig", (_message.Message,), - dict( - DESCRIPTOR=_NETWORKCONFIG, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""NetworkConfig reports the relative names of network & subnetwork. + { + "DESCRIPTOR": _NETWORKCONFIG, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """NetworkConfig reports the relative names of network & subnetwork. + Attributes: network: Output only. The relative name of the Google Compute Engine [n @@ -12886,18 +13709,19 @@ network. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkConfig) - ), + }, ) _sym_db.RegisterMessage(NetworkConfig) ListUsableSubnetworksRequest = _reflection.GeneratedProtocolMessageType( "ListUsableSubnetworksRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTUSABLESUBNETWORKSREQUEST, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListUsableSubnetworksRequest requests the list of usable subnetworks. + { + "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. + Attributes: parent: Required. The parent project where subnetworks are usable. @@ -12905,7 +13729,7 @@ filter: Filtering currently only supports equality on the networkProjectId and must be in the form: - "networkProjectId=[PROJECTID]", where ``networkProjectId`` is + “networkProjectId=[PROJECTID]”, where ``networkProjectId`` is the project which owns the listed subnetworks. This defaults to the parent project ID. page_size: @@ -12920,18 +13744,19 @@ results. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ListUsableSubnetworksRequest) - ), + }, ) _sym_db.RegisterMessage(ListUsableSubnetworksRequest) ListUsableSubnetworksResponse = _reflection.GeneratedProtocolMessageType( "ListUsableSubnetworksResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTUSABLESUBNETWORKSRESPONSE, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""ListUsableSubnetworksResponse is the response of + { + "DESCRIPTOR": _LISTUSABLESUBNETWORKSRESPONSE, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest. + Attributes: subnetworks: A list of usable subnetworks in the specified network project. @@ -12943,17 +13768,18 @@ will become empty when there are no more pages. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ListUsableSubnetworksResponse) - ), + }, ) _sym_db.RegisterMessage(ListUsableSubnetworksResponse) UsableSubnetworkSecondaryRange = _reflection.GeneratedProtocolMessageType( "UsableSubnetworkSecondaryRange", (_message.Message,), - dict( - DESCRIPTOR=_USABLESUBNETWORKSECONDARYRANGE, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Secondary IP range of a usable subnetwork. + { + "DESCRIPTOR": _USABLESUBNETWORKSECONDARYRANGE, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Secondary IP range of a usable subnetwork. + Attributes: range_name: The name associated with this subnetwork secondary range, used @@ -12966,17 +13792,18 @@ programmably. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.UsableSubnetworkSecondaryRange) - ), + }, ) _sym_db.RegisterMessage(UsableSubnetworkSecondaryRange) UsableSubnetwork = _reflection.GeneratedProtocolMessageType( "UsableSubnetwork", (_message.Message,), - dict( - DESCRIPTOR=_USABLESUBNETWORK, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Network Name. Example: projects/my-project/global/networks/my-network + { + "DESCRIPTOR": _USABLESUBNETWORK, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Network Name. Example: projects/my-project/global/networks/my-network + Attributes: subnetwork: Subnetwork Name. Example: projects/my-project/regions/us- @@ -12989,73 +13816,77 @@ status_message: A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under - the subnet. For example if the secondary\_ip\_ranges is empty + the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message - will be given by status\_message. + will be given by status_message. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.UsableSubnetwork) - ), + }, ) _sym_db.RegisterMessage(UsableSubnetwork) VerticalPodAutoscaling = _reflection.GeneratedProtocolMessageType( "VerticalPodAutoscaling", (_message.Message,), - dict( - DESCRIPTOR=_VERTICALPODAUTOSCALING, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""VerticalPodAutoscaling contains global, per-cluster information + { + "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. + Attributes: enabled: Enables vertical pod autoscaling. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.VerticalPodAutoscaling) - ), + }, ) _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- + { + "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,), - dict( - DESCRIPTOR=_MAXPODSCONSTRAINT, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Constraints applied to pods. + { + "DESCRIPTOR": _MAXPODSCONSTRAINT, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Constraints applied to pods. + Attributes: max_pods_per_node: Constraint enforced on the max num of pods per node. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.MaxPodsConstraint) - ), + }, ) _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. + { + "DESCRIPTOR": _DATABASEENCRYPTION, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration of etcd encryption. + Attributes: state: Denotes the state of etcd encryption. @@ -13065,36 +13896,38 @@ ring/cryptoKeys/my-key """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.DatabaseEncryption) - ), + }, ) _sym_db.RegisterMessage(DatabaseEncryption) ResourceUsageExportConfig = _reflection.GeneratedProtocolMessageType( "ResourceUsageExportConfig", (_message.Message,), - dict( - BigQueryDestination=_reflection.GeneratedProtocolMessageType( + { + "BigQueryDestination": _reflection.GeneratedProtocolMessageType( "BigQueryDestination", (_message.Message,), - dict( - DESCRIPTOR=_RESOURCEUSAGEEXPORTCONFIG_BIGQUERYDESTINATION, - __module__="google.cloud.container_v1beta1.proto.cluster_service_pb2", - __doc__="""Parameters for using BigQuery as the destination of resource usage + { + "DESCRIPTOR": _RESOURCEUSAGEEXPORTCONFIG_BIGQUERYDESTINATION, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Parameters for using BigQuery as the destination of resource usage export. + Attributes: dataset_id: The ID of a BigQuery Dataset. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) - ), + }, ), - ConsumptionMeteringConfig=_reflection.GeneratedProtocolMessageType( + "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. + { + "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 @@ -13102,11 +13935,12 @@ 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. + "DESCRIPTOR": _RESOURCEUSAGEEXPORTCONFIG, + "__module__": "google.cloud.container_v1beta1.proto.cluster_service_pb2", + "__doc__": """Configuration for exporting cluster resource usages. + Attributes: bigquery_destination: Configuration to use BigQuery as usage export destination. @@ -13118,7 +13952,7 @@ Configuration to enable resource consumption metering. """, # @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceUsageExportConfig) - ), + }, ) _sym_db.RegisterMessage(ResourceUsageExportConfig) _sym_db.RegisterMessage(ResourceUsageExportConfig.BigQueryDestination) @@ -13268,9 +14102,8 @@ full_name="google.container.v1beta1.ClusterManager", file=DESCRIPTOR, index=0, - serialized_options=_b( - "\312A\030container.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform" - ), + serialized_options=b"\312A\030container.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform", + create_key=_descriptor._internal_create_key, serialized_start=18172, serialized_end=27563, methods=[ @@ -13281,9 +14114,8 @@ containing_service=None, 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\332A\017project_id,zone" - ), + serialized_options=b"\202\323\344\223\002k\0221/v1beta1/{parent=projects/*/locations/*}/clustersZ6\0224/v1beta1/projects/{project_id}/zones/{zone}/clusters\332A\017project_id,zone", + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="GetCluster", @@ -13292,9 +14124,8 @@ containing_service=None, 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}\332A\032project_id,zone,cluster_id" - ), + 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}\332A\032project_id,zone,cluster_id", + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="CreateCluster", @@ -13303,9 +14134,8 @@ containing_service=None, 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*\332A\027project_id,zone,cluster' - ), + 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*\332A\027project_id,zone,cluster', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="UpdateCluster", @@ -13314,9 +14144,8 @@ containing_service=None, 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*\332A!project_id,zone,cluster_id,update" - ), + 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*\332A!project_id,zone,cluster_id,update", + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="UpdateNodePool", @@ -13325,9 +14154,8 @@ containing_service=None, input_type=_UPDATENODEPOOLREQUEST, output_type=_OPERATION, - serialized_options=_b( - '\202\323\344\223\002\252\001\032=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:\001*Zf"a/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/update:\001*' - ), + serialized_options=b'\202\323\344\223\002\252\001\032=/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:\001*Zf"a/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/update:\001*', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="SetNodePoolAutoscaling", @@ -13336,9 +14164,8 @@ containing_service=None, input_type=_SETNODEPOOLAUTOSCALINGREQUEST, output_type=_OPERATION, - serialized_options=_b( - '\202\323\344\223\002\276\001"L/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setAutoscaling:\001*Zk"f/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/autoscaling:\001*' - ), + serialized_options=b'\202\323\344\223\002\276\001"L/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setAutoscaling:\001*Zk"f/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/autoscaling:\001*', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="SetLoggingService", @@ -13347,9 +14174,8 @@ containing_service=None, 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*\332A$project_id,zone,cluster_id,locations' - ), + serialized_options=b'\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', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="UpdateMaster", @@ -13391,9 +14214,8 @@ containing_service=None, 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*\332A)project_id,zone,cluster_id,master_version' - ), + 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*\332A)project_id,zone,cluster_id,master_version', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="SetMasterAuth", @@ -13402,9 +14224,8 @@ containing_service=None, input_type=_SETMASTERAUTHREQUEST, output_type=_OPERATION, - serialized_options=_b( - '\202\323\344\223\002\232\001"?/v1beta1/{name=projects/*/locations/*/clusters/*}:setMasterAuth:\001*ZT"O/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMasterAuth:\001*' - ), + serialized_options=b'\202\323\344\223\002\232\001"?/v1beta1/{name=projects/*/locations/*/clusters/*}:setMasterAuth:\001*ZT"O/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMasterAuth:\001*', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="DeleteCluster", @@ -13413,9 +14234,8 @@ containing_service=None, 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}\332A\032project_id,zone,cluster_id" - ), + 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}\332A\032project_id,zone,cluster_id", + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="ListOperations", @@ -13424,9 +14244,8 @@ containing_service=None, 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\332A\017project_id,zone" - ), + serialized_options=b"\202\323\344\223\002o\0223/v1beta1/{parent=projects/*/locations/*}/operationsZ8\0226/v1beta1/projects/{project_id}/zones/{zone}/operations\332A\017project_id,zone", + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="GetOperation", @@ -13435,9 +14254,8 @@ containing_service=None, 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}\332A\034project_id,zone,operation_id" - ), + 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}\332A\034project_id,zone,operation_id", + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="CancelOperation", @@ -13446,9 +14264,8 @@ containing_service=None, 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*\332A\034project_id,zone,operation_id' - ), + 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*\332A\034project_id,zone,operation_id', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="GetServerConfig", @@ -13457,9 +14274,8 @@ containing_service=None, 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\332A\017project_id,zone" - ), + serialized_options=b"\202\323\344\223\002q\0223/v1beta1/{name=projects/*/locations/*}/serverConfigZ:\0228/v1beta1/projects/{project_id}/zones/{zone}/serverconfig\332A\017project_id,zone", + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="ListNodePools", @@ -13468,9 +14284,8 @@ containing_service=None, 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\332A\032project_id,zone,cluster_id" - ), + 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\332A\032project_id,zone,cluster_id", + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="GetNodePool", @@ -13479,9 +14294,8 @@ containing_service=None, 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}\332A'project_id,zone,cluster_id,node_pool_id" - ), + 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}\332A'project_id,zone,cluster_id,node_pool_id", + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="CreateNodePool", @@ -13490,9 +14304,8 @@ containing_service=None, 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*\332A$project_id,zone,cluster_id,node_pool' - ), + 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*\332A$project_id,zone,cluster_id,node_pool', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="DeleteNodePool", @@ -13501,9 +14314,8 @@ containing_service=None, 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}\332A'project_id,zone,cluster_id,node_pool_id" - ), + 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}\332A'project_id,zone,cluster_id,node_pool_id", + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="RollbackNodePoolUpgrade", @@ -13512,9 +14324,8 @@ containing_service=None, 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*\332A\'project_id,zone,cluster_id,node_pool_id' - ), + 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*\332A\'project_id,zone,cluster_id,node_pool_id', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="SetNodePoolManagement", @@ -13523,9 +14334,8 @@ containing_service=None, 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*\332A2project_id,zone,cluster_id,node_pool_id,management' - ), + 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*\332A2project_id,zone,cluster_id,node_pool_id,management', + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name="SetLabels", @@ -13534,9 +14344,8 @@ containing_service=None, 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*\332A testing/test-env.sh +gcloud secrets versions access latest \ + --secret="python-docs-samples-service-account" \ + > testing/service-account.json +gcloud secrets versions access latest \ + --secret="python-docs-samples-client-secrets" \ + > testing/client-secrets.json \ No newline at end of file diff --git a/packages/google-cloud-container/scripts/readme-gen/readme_gen.py b/packages/google-cloud-container/scripts/readme-gen/readme_gen.py new file mode 100644 index 000000000000..d309d6e97518 --- /dev/null +++ b/packages/google-cloud-container/scripts/readme-gen/readme_gen.py @@ -0,0 +1,66 @@ +#!/usr/bin/env python + +# Copyright 2016 Google Inc +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Generates READMEs using configuration defined in yaml.""" + +import argparse +import io +import os +import subprocess + +import jinja2 +import yaml + + +jinja_env = jinja2.Environment( + trim_blocks=True, + loader=jinja2.FileSystemLoader( + os.path.abspath(os.path.join(os.path.dirname(__file__), 'templates')))) + +README_TMPL = jinja_env.get_template('README.tmpl.rst') + + +def get_help(file): + return subprocess.check_output(['python', file, '--help']).decode() + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('source') + parser.add_argument('--destination', default='README.rst') + + args = parser.parse_args() + + source = os.path.abspath(args.source) + root = os.path.dirname(source) + destination = os.path.join(root, args.destination) + + jinja_env.globals['get_help'] = get_help + + with io.open(source, 'r') as f: + config = yaml.load(f) + + # This allows get_help to execute in the right directory. + os.chdir(root) + + output = README_TMPL.render(config) + + with io.open(destination, 'w') as f: + f.write(output) + + +if __name__ == '__main__': + main() diff --git a/packages/google-cloud-container/scripts/readme-gen/templates/README.tmpl.rst b/packages/google-cloud-container/scripts/readme-gen/templates/README.tmpl.rst new file mode 100644 index 000000000000..4fd239765b0a --- /dev/null +++ b/packages/google-cloud-container/scripts/readme-gen/templates/README.tmpl.rst @@ -0,0 +1,87 @@ +{# The following line is a lie. BUT! Once jinja2 is done with it, it will + become truth! #} +.. This file is automatically generated. Do not edit this file directly. + +{{product.name}} Python Samples +=============================================================================== + +.. image:: https://gstatic.com/cloudssh/images/open-btn.png + :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor={{folder}}/README.rst + + +This directory contains samples for {{product.name}}. {{product.description}} + +{{description}} + +.. _{{product.name}}: {{product.url}} + +{% if required_api_url %} +To run the sample, you need to enable the API at: {{required_api_url}} +{% endif %} + +{% if required_role %} +To run the sample, you need to have `{{required_role}}` role. +{% endif %} + +{{other_required_steps}} + +{% if setup %} +Setup +------------------------------------------------------------------------------- + +{% for section in setup %} + +{% include section + '.tmpl.rst' %} + +{% endfor %} +{% endif %} + +{% if samples %} +Samples +------------------------------------------------------------------------------- + +{% for sample in samples %} +{{sample.name}} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +{% if not sample.hide_cloudshell_button %} +.. image:: https://gstatic.com/cloudssh/images/open-btn.png + :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor={{folder}}/{{sample.file}},{{folder}}/README.rst +{% endif %} + + +{{sample.description}} + +To run this sample: + +.. code-block:: bash + + $ python {{sample.file}} +{% if sample.show_help %} + + {{get_help(sample.file)|indent}} +{% endif %} + + +{% endfor %} +{% endif %} + +{% if cloud_client_library %} + +The client library +------------------------------------------------------------------------------- + +This sample uses the `Google Cloud Client Library for Python`_. +You can read the documentation for more details on API usage and use GitHub +to `browse the source`_ and `report issues`_. + +.. _Google Cloud Client Library for Python: + https://googlecloudplatform.github.io/google-cloud-python/ +.. _browse the source: + https://github.com/GoogleCloudPlatform/google-cloud-python +.. _report issues: + https://github.com/GoogleCloudPlatform/google-cloud-python/issues + +{% endif %} + +.. _Google Cloud SDK: https://cloud.google.com/sdk/ \ No newline at end of file diff --git a/packages/google-cloud-container/scripts/readme-gen/templates/auth.tmpl.rst b/packages/google-cloud-container/scripts/readme-gen/templates/auth.tmpl.rst new file mode 100644 index 000000000000..1446b94a5e3a --- /dev/null +++ b/packages/google-cloud-container/scripts/readme-gen/templates/auth.tmpl.rst @@ -0,0 +1,9 @@ +Authentication +++++++++++++++ + +This sample requires you to have authentication setup. Refer to the +`Authentication Getting Started Guide`_ for instructions on setting up +credentials for applications. + +.. _Authentication Getting Started Guide: + https://cloud.google.com/docs/authentication/getting-started diff --git a/packages/google-cloud-container/scripts/readme-gen/templates/auth_api_key.tmpl.rst b/packages/google-cloud-container/scripts/readme-gen/templates/auth_api_key.tmpl.rst new file mode 100644 index 000000000000..11957ce2714a --- /dev/null +++ b/packages/google-cloud-container/scripts/readme-gen/templates/auth_api_key.tmpl.rst @@ -0,0 +1,14 @@ +Authentication +++++++++++++++ + +Authentication for this service is done via an `API Key`_. To obtain an API +Key: + +1. Open the `Cloud Platform Console`_ +2. Make sure that billing is enabled for your project. +3. From the **Credentials** page, create a new **API Key** or use an existing + one for your project. + +.. _API Key: + https://developers.google.com/api-client-library/python/guide/aaa_apikeys +.. _Cloud Console: https://console.cloud.google.com/project?_ diff --git a/packages/google-cloud-container/scripts/readme-gen/templates/install_deps.tmpl.rst b/packages/google-cloud-container/scripts/readme-gen/templates/install_deps.tmpl.rst new file mode 100644 index 000000000000..a0406dba8c84 --- /dev/null +++ b/packages/google-cloud-container/scripts/readme-gen/templates/install_deps.tmpl.rst @@ -0,0 +1,29 @@ +Install Dependencies +++++++++++++++++++++ + +#. Clone python-docs-samples and change directory to the sample directory you want to use. + + .. code-block:: bash + + $ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git + +#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions. + + .. _Python Development Environment Setup Guide: + https://cloud.google.com/python/setup + +#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+. + + .. code-block:: bash + + $ virtualenv env + $ source env/bin/activate + +#. Install the dependencies needed to run the samples. + + .. code-block:: bash + + $ pip install -r requirements.txt + +.. _pip: https://pip.pypa.io/ +.. _virtualenv: https://virtualenv.pypa.io/ diff --git a/packages/google-cloud-container/scripts/readme-gen/templates/install_portaudio.tmpl.rst b/packages/google-cloud-container/scripts/readme-gen/templates/install_portaudio.tmpl.rst new file mode 100644 index 000000000000..5ea33d18c00c --- /dev/null +++ b/packages/google-cloud-container/scripts/readme-gen/templates/install_portaudio.tmpl.rst @@ -0,0 +1,35 @@ +Install PortAudio ++++++++++++++++++ + +Install `PortAudio`_. This is required by the `PyAudio`_ library to stream +audio from your computer's microphone. PyAudio depends on PortAudio for cross-platform compatibility, and is installed differently depending on the +platform. + +* For Mac OS X, you can use `Homebrew`_:: + + brew install portaudio + + **Note**: if you encounter an error when running `pip install` that indicates + it can't find `portaudio.h`, try running `pip install` with the following + flags:: + + pip install --global-option='build_ext' \ + --global-option='-I/usr/local/include' \ + --global-option='-L/usr/local/lib' \ + pyaudio + +* For Debian / Ubuntu Linux:: + + apt-get install portaudio19-dev python-all-dev + +* Windows may work without having to install PortAudio explicitly (it will get + installed with PyAudio). + +For more details, see the `PyAudio installation`_ page. + + +.. _PyAudio: https://people.csail.mit.edu/hubert/pyaudio/ +.. _PortAudio: http://www.portaudio.com/ +.. _PyAudio installation: + https://people.csail.mit.edu/hubert/pyaudio/#downloads +.. _Homebrew: http://brew.sh diff --git a/packages/google-cloud-container/synth.metadata b/packages/google-cloud-container/synth.metadata index 93d96f1beb0a..6cca6b36fbc6 100644 --- a/packages/google-cloud-container/synth.metadata +++ b/packages/google-cloud-container/synth.metadata @@ -1,33 +1,25 @@ { "sources": [ - { - "generator": { - "name": "artman", - "version": "2.0.0", - "dockerImage": "googleapis/artman@sha256:b3b47805231a305d0f40c4bf069df20f6a2635574e6d4259fac651d3f9f6e098" - } - }, { "git": { "name": ".", "remote": "https://github.com/googleapis/python-container.git", - "sha": "6afc050f21c57a2d0eda3327c07510f2226aa6a6" + "sha": "841904c36bb99b11c0a1a2ca2794e457902a8adb" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "26523a96798ce1a6caa1b3c912119059cfcc98a7", - "internalRef": "306320014", - "log": "26523a96798ce1a6caa1b3c912119059cfcc98a7\nchore: delete gapic config for resourcemanager/v2\n\nCommitter: @miraleung\nPiperOrigin-RevId: 306320014\n\n35672e7936b923eff048d0ee1529faa163cc81b8\nchore: enable gapicv2 for datacatalog/v1beta1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 306318928\n\ndea1f52034d188ca371c3a70c716ca2a6b3f2aa1\nchore: delete gapic config for language/v1beta1\n\nCommitter: @miraleung\nPiperOrigin-RevId: 306298030\n\ndf955af5d9508cf9215de6f1fbdad033d5b8fef6\nchore: enable gapicv2 for language/v1beta2 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 306297639\n\ne2a59ff2f861b1b92b2f15b242780dccddd77ab9\nchore: enable gapicv2 for bigquery/reservation/v1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 306297615\n\nc9942c00e8f35b5b37cd589ef7a0323aeda264e2\nchore: enable gapicv2 for datacatalog/v1beta1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 306297587\n\nf561f57eea013327be27d8f6799b3cc2d18ee804\nbazel: upgrade gapic-generator-go to v0.13.2\n\nChanges include:\n* update Bazel rules_go to v0.22.3\n* update Bazel Go repositories with latest\n* fix Bazel go_gapic_assembly_pkg archive contents path\n\nPiperOrigin-RevId: 306294636\n\na34f4eb96a94bfd5b3e7f8de253db28d0a3e9237\nchore: enable gapicv2 for asset/v1beta1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 306283252\n\n4efd71279f0781579ced60c374336ce1b8b8cea8\nchore: enable gapicv2 for asset/v1p4beta1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 306282838\n\n789fd7e0680b04a589447139811d55c5d1f34afe\nchore: enable gapicv2 for asset/v1p1beta1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 306282062\n\n0feb08065d91d6deebffef3019751f0619a72140\nchore: enable gapicv2 for asset/v1p2beta1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 306281797\n\n9ea892ebe8a7cd66da9bd62eb7086b8dc2ddd559\nchore: enable gapicv2 for vision/v1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 306281271\n\n4d61e1cb40184a7ad63ef37b1813f6608718674a\nAdd speech adaptation, phrase sets and custom classes.\n\nPiperOrigin-RevId: 306280989\n\n3824f547aa44df459580615c73cabb30a2a78ee0\nfeat: Adding Retry policy for OS Config V1Beta AgentEndpointService\n\nPiperOrigin-RevId: 306254195\n\n1bd77e8ce6f953ac641af7966d0c52646afc16a8\nPublishing ComputeRouteMatrix request and reply messages.\n\nPiperOrigin-RevId: 305974465\n\nf9d76ac088f5d444b16d5e17fe58a9eea57b7a99\nchore: enable gapic v2 and proto annotation for Documentai API.\n\ncommitter: @summer-ji-eng\nPiperOrigin-RevId: 305961792\n\n13736ead90e0fa65103eb03fea775a1c010564af\nUpdate bazel version for kokoro build to 3.0.0.\n(Hoping that will help with java 11 failures)\n\nPiperOrigin-RevId: 305950091\n\nab869e90c6ced0ef30fcc8e8fbe8e527a695d3cb\nchore: enable gapicv2 for longrunning API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305942456\n\ncf18ab5200e41e9d0cfef88c6c4bcdd394faf1ca\nfeat: Adding OS Config AgentEndpointService V1 RegisterAgent rpc\n\nPiperOrigin-RevId: 305925954\n\n1e92c343790ae63f88817afde60bd2d5bc775f36\nDialogflow weekly v2/v2beta1 library update:\n- Update comments on Contexts and Sessions resources.\n\nPiperOrigin-RevId: 305919798\n\n1df336ab4a989e7b0bc363baa9fc91eb66b0625e\nfeat: Adding OS Config AgentEndpointService V1Beta RegisterAgent rpc\n\nPiperOrigin-RevId: 305900738\n\n1692c3d51ee7d4366ce81892df1b9ca9846480d3\nchore: enable gapic v2 and proto annotation for automl API.\n\ncommitter: @xiaozhenliu\nPiperOrigin-RevId: 305894083\n\n801c3fb47b1a533989a1fe5af4aedf02af5f2eae\ndocs: Update documentation to clarify naming.\n\nPiperOrigin-RevId: 305814814\n\n41d5dee23527df3fc9127838a027df393d79ff3c\nDialogflow weekly v2/v2beta1 library update:\n- Update documentation on various resources.\n- Add LRO info to CreateDocument method.\n\nPiperOrigin-RevId: 305810283\n\nb21bc9b46e3263cd4ebe50f60c61589e3fe797f2\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 305797556\n\nb8c7c4e8da56547fc32bee9b563d306fadabdb6f\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 305789382\n\n96c0db42dbcb3bb0116cfa55c054dd139ffb3912\nchore: enable gapicv2 for videointelligence/v1p2beta1\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305779873\n\nfd35dc6865fa9f47f283d5a6c37c4901162007cf\nmigrate Asset v1 API to gapic v2.\n\ncommitter: @hzyi-google\nPiperOrigin-RevId: 305774392\n\nfe8b17aff5b419ffb418a77228fa049190488233\nbuild(google/maps): update python postprocessing\n\n- modify python versions. see https://github.com/googleapis/gapic-generator/pull/3128\n- use markdown readme instead of rst\n- remove enum34\n- fix namespace google.cloud -> google.maps. see https://github.com/googleapis/gapic-generator/issues/3166\n\nPiperOrigin-RevId: 305773355\n\nac1f904979899bc598fb0567cf7a367f08b40b43\nfix (breaking change): reorder Company and Job resources in talent API to be consistent with old gapic config.\n\ncommitter: @hzyi-google\nPiperOrigin-RevId: 305760190\n\n9af7212bc2cba8a7184f032e1ab6662ccf604b3a\ndocs: display resource name patterns in code font.\n\nPiperOrigin-RevId: 305751417\n\nc451a4457f38e5582e9794a0094c773355a9eaad\nBigQuery Connection API v1.\nBreaking changes:\n Removed UpdateConnectionCredential method.\n Removed ListConnectionsRequest.max_results, added ListConnectionsRequest.page_size.\n\nPiperOrigin-RevId: 305738384\n\naf71ea52236b05ce73253f6bc935fcf35c866664\nchore: enable gapicv2 for vision/v1p2beta1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305730427\n\n6114e2d30c0792522720d1c2cf8f5e111be7545b\nchore: enable gapicv2 for vision/v1p1beta1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305729994\n\nee4ea76504aa60c2bff9b7c11269c155d8c21e0d\ngapic-generator:\n- feat: Support extra plugin_args for php bazel rules rules (#3165)\n- feat: support '*' in resource definition (#3163)\n- fix: add null check and better error message when referenced resource is not found (#3169)\n\nresource name plugin:\n- support * annotation in resource def (#84)\n\nPiperOrigin-RevId: 305619145\n\ne4f4b23e07315492b533746e6a9255a1e6b3e748\nosconfig v1beta: fix the incorrect pattern for GuestPolicy resource and remove the obsolete history field.\n\nPiperOrigin-RevId: 305617619\n\nd741cd976975c745d0199987aff0e908b8352992\nchore: enable gapicv2 for firestore/v1 API\n\nNote that this contains breaking Java changes:\n com.google.cloud.firestore.v1.FirestoreClient: Method 'public void deleteDocument(com.google.firestore.v1.AnyPathName)' has been removed\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305561906\n\n0d69cddaa23b556e7299f84ad55a02ec1cad55a9\nchore: enable gapicv2 for firestore/admin/v1 API\n\nCommitter: @miraleung\n\nThere are the following breaking changes due to the collection_id discrepancy between [1] and [2]\n\n1. https://github.com/googleapis/googleapis/blob/6f8350c0df231d7e742fa10dbf929f33047715c9/google/firestore/admin/v1/firestore_gapic.yaml#L24-L29\n2. https://github.com/googleapis/googleapis/blob/6f8350c0df231d7e742fa10dbf929f33047715c9/google/firestore/admin/v1/field.proto#L39\n```\ncom.google.firestore.admin.v1.FieldName: Method 'public java.lang.String getCollectionId()' has been removed\ncom.google.firestore.admin.v1.FieldName: Method 'public java.lang.String getFieldId()' has been removed\ncom.google.firestore.admin.v1.FieldName$Builder: Method 'public java.lang.String getCollectionId()' has been removed\ncom.google.firestore.admin.v1.FieldName$Builder: Method 'public java.lang.String getFieldId()' has been removed\ncom.google.firestore.admin.v1.FieldName$Builder: Method 'public com.google.firestore.admin.v1.FieldName$Builder setCollectionId(java.lang.String)' has been removed\ncom.google.firestore.admin.v1.FieldName$Builder: Method 'public com.google.firestore.admin.v1.FieldName$Builder setFieldId(java.lang.String)' has been removed\ncom.google.firestore.admin.v1.IndexName: Method 'public java.lang.String getCollectionId()' has been removed\ncom.google.firestore.admin.v1.IndexName: Method 'public java.lang.String getIndexId()' has been removed\ncom.google.firestore.admin.v1.IndexName$Builder: Method 'public java.lang.String getCollectionId()' has been removed\ncom.google.firestore.admin.v1.IndexName$Builder: Method 'public java.lang.String getIndexId()' has been removed\ncom.google.firestore.admin.v1.IndexName$Builder: Method 'public com.google.firestore.admin.v1.IndexName$Builder setCollectionId(java.lang.String)' has been removed\ncom.google.firestore.admin.v1.IndexName$Builder: Method 'public com.google.firestore.admin.v1.IndexName$Builder setIndexId(java.lang.String)' has been removed\n```\n\nPiperOrigin-RevId: 305561114\n\n6f8350c0df231d7e742fa10dbf929f33047715c9\nchore: enable gapicv2 for firestore/v1beta1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305537104\n\nd398d687aad9eab4c6ceee9cd5e012fa61f7e28c\ndocs: change relative URLs to absolute URLs to fix broken links.\n\nPiperOrigin-RevId: 305496764\n\n5520cb891a72ab0b0cbe3facaca7b012785f5b49\nchore: update gapic-generator to cd3c9ee7\n\nChanges include:\n* update generated nox file\n* fix generated license text alignment\n\nPiperOrigin-RevId: 305484038\n\nb20965f260d70e57b7dcd312cd356d6a81f31f8e\nUpdating retry configuration settings.\n\nPiperOrigin-RevId: 305431885\n\n83d7f20c06182cb6ada9a3b47daf17b2fd22b020\nMigrate dialogflow from gapic v1 to gapic v2.\nIncluding breaking changes (resource pattern change) introduced in cl/304043500.\n\ncommitter: @hzyi-google\nPiperOrigin-RevId: 305358314\n\nf8a97692250a6c781d87528995a5c72d41ca7762\nchore: enable gapic v2 and proto annotation for Grafeas API.\n\ncommitter: @noahdietz\nPiperOrigin-RevId: 305354660\n\nb1a5ca68468eb1587168972c9d15928e98ba92b0\nEnable gapicv2 for v1/osconfig\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305351235\n\nc803327f9b1dd2583b070645b5b86e5e7ead3161\nEnable gapicv2 for osconfig/agentendpoint/v1beta\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305350472\n\n99dddf1de598f95a71d3536f5c170d84f0c0ef87\nchore: enable gapicv2 for build/v1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305349884\n\nbf85ee3ed64951c14b19ef8577689f43ee6f0f41\nchore: enable gapicv2 for cloudbuild/v1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305349873\n\nf497c7aa912df121e11772767e667fdbc10a63d9\nchore: enable gapic v2 and proto annotation for Web Security Scanner v1alpha API.\n\ncommitter: @noahdietz\nPiperOrigin-RevId: 305349342\n\n0669a37c66d76bd413343da69420bb75c49062e7\nchore: rename unused GAPIC v1 configs for IAM to legacy\n\ncommitter: @noahdietz\nPiperOrigin-RevId: 305340308\n\naf7da29c24814a1c873c22f477e9dd8dd5a17b0b\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 305330079\n\n3f767aa32b4b3313027d05b503aaba63e0c432a3\ndocs: Update an out-of-date external link.\n\nPiperOrigin-RevId: 305329485\n\n9ede34d093b9d786a974448fc7a3a17948c203e2\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 305327985\n\n27daba50281357b676e1ba882422ebeab4ce4f92\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 305327500\n\n82de0f6f04649651958b96fbc5b0b39dd4dbbd01\nFix: Add missing resource name definition (from the Compute API).\n\nPiperOrigin-RevId: 305324763\n\n744591190e828440f72745aef217f883afd1fd71\ndocs: change relative URLs to absolute URLs to fix broken links.\n\nPiperOrigin-RevId: 305323909\n\n1247c135ceaedfe04261d27a64aaecf78ffbae74\nchore: enable gapicv2 for videointelligence/v1beta2 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305321976\n\n633c8b13227b9e3810749964d580e5be504db488\nchore: enable gapicv2 for videointelligence/v1p1beta1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305320877\n\n29aac60f121dc43382b37ff92f2dbb692d94143a\ndocs: fix broken link to policy reference documentation.\n\nPiperOrigin-RevId: 305319540\n\n54ddbbf14c489b8a2f0731aa39408c016f5a8387\nbazel: update gapic-generator-go to v0.13.0\n\nChanges include:\n* add clientHook feature\n\nPiperOrigin-RevId: 305289945\n\n823facb4ca6a4b36b817ce955a790dcb40cf808f\nchore: enable gapicv2 for videointelligence/v1p3beta1\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305155214\n\n6b9c969d42bcb0f8206675bd868ed7d1ddcdaef9\nAdd API for bigqueryreservation v1.\n\nPiperOrigin-RevId: 305151484\n\n514f7d27811832a9f58b83d6f6305d894b097cf6\nchore: enable gapicv2 for phishingprotection/v1beta1 API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305126983\n\nff74d47d47280e6bbcbad1a7c82b1e0959c472ec\nfix: PHP-related fixes in BUILD.bazel and service.yamls\n\nThis PR also adds the rules for all 7 langauges in OsLogin and Kms BUILD.bazel files. Those build files were missing rules for 5 langagues, including PHP.\n\nThis PR is the prerequisite for migrating PHP synth.py scripts from artman to bazel.\n\nThe fixes in service.yaml fix regression made during proto annotation migration. This became visible only during PHP generation, because only PHP depends on the affected sections of the service.yaml config.\n\nPiperOrigin-RevId: 305108224\n\nfdbc7b1f63969307c71143a0c24fdfd02e739df6\nEnable gapicv2 for osconfig/agentendpoint/v1\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305086443\n\n1490d30e1ae339570dd7826ba625a603ede91a08\nEnable gapicv2 for osconfig/v1beta\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305069755\n\n7bf824e82e5c3549642b150dc4a9579602000f34\nEnable gapicv2 for iam/credentials/v1\n\nCommitter: @miraleung\nPiperOrigin-RevId: 305065283\n\n9ff6fd3b22f99167827e89aae7778408b5e82425\nUpdates Dataproc v1 API:\n- Adds Dataproc Jobs.SubmitJobAsOperation RPC\n- Adds SparkR and Presto job types to WorkflowTemplates\n- Adds new Optional Components\n- Clarifies usage of some APIs\n\nPiperOrigin-RevId: 305053617\n\ncad0f5137a70d0d14a8d9acbfcee98e4cd3e9662\nUpdates to Dataproc v1beta2 API:\n- Adds SparkR and Presto job types to WorkflowTemplates\n- Adds new Optional Components\n- Clarifies usage of some APIs\n\nPiperOrigin-RevId: 305053062\n\na005f045a301535eeb4c4b3fa7bb94eec9d22a8b\nAdd support for Cloud EKM to the Cloud KMS service and resource protos.\n\nPiperOrigin-RevId: 305026790\n\n5077b1e4674afdbbf11dac3f5f43d36285ba53ff\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 304836531\n\nd6cb4997910eda04c0c66c0f2fd043eeaa0f660d\nchore: enable gapic v2 and proto annotation for documentai API.\n\ncommitter @summer-ji-eng\n\nPiperOrigin-RevId: 304724866\n\n490bc556608bfa5b1548c9374b06152fa33d657e\nEnable gapicv2 for devtools/remoteworkers/v1test2\n\nCommitter: @miraleung\nPiperOrigin-RevId: 304718691\n\n9f78ce31a5bd7f4a63e3cf0ddf28221557adb7ed\nEnable gapicv2 for managedidentities/v1beta1\n\nCommitter: @miraleung\nPiperOrigin-RevId: 304718676\n\n6e17d259b8e320bc51aa240cefef05ec753e2b83\ndocs: treat a dummy example URL as a string literal instead of a link\n\nPiperOrigin-RevId: 304716376\n\na8d76f99d3073aaccabdcc122c798a63e812c4fe\ndocs: change relative URLs to absolute URLs to fix broken links.\n\nPiperOrigin-RevId: 304702368\n\n65c749bc6a1d240416a0e6979381b67f97aff907\ndocs: fix formatting of some regexes and string literals.\n\nPiperOrigin-RevId: 304701150\n\n9119eefcd2b5ce845a680fa4ec4093ed733498f0\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 304698702\n\n62a2a7cc33d3535638d220df238823eefcca930d\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 304696461\n\n23848c8f64a5e81a239d6133378468185f1756dc\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 304696192\n\n9514fa9e390a4c0715972c5b510cf4c10ad049a1\ndocs: change relative URLs to absolute URLs to fix broken links.\n\nPiperOrigin-RevId: 304695334\n\n0f7b1509a9a452808c3d07fe90fedfcea763d7d5\nfix: change config_schema_version to 2.0.0 for containeranalysis v1 gapic config.\n\ncommitter: @hzyi-google\nPiperOrigin-RevId: 304672648\n\n3d52f3c126fbfc31f067a7f54737b7f0dfbce163\nDialogflow weekly v2 library update:\n- Change `parent` field's resource_reference to specify child_type instead of type per client library generation requirement;\n- Change Session with its child resource pattern to support both projects/{project}/agent/sessions/{session} and projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session};\n- Fix `method_signature`\n- Regular documentation update\n\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 304635286\n\n4a6a01ce0ead505c245d11a2ce156de34800c58f\ndocs: change a relative URL to an absolute URL to fix broken links.\n\nPiperOrigin-RevId: 304633630\n\n1b969c28a6579265e89cd35e6c2ecacc89970e2d\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 304620317\n\n5378173a889f9c7d83e36e52d38a6267190de692\nAdd v1beta2 SubmitJobAsOperation RPC to Dataproc.\n\nPiperOrigin-RevId: 304594381\n\n3d5d228a58bdf875e6147b228db3159010c735ee\nEnable visibility on the GetSnapshot and GetTopicSnapshots methods\n\nPiperOrigin-RevId: 304500143\n\n1346f5c11a0376bc82c5c03259b304de52671518\nRefresh public client library for Cloud Monitoring.\nIncrease default ListTimeSeries deadline to 90s.\n\nPiperOrigin-RevId: 304467075\n\n4a6cfccb4a32cb28db7366295d90078c6af3112f\ndocs: Fix link in monitoring summary description.\n\nPiperOrigin-RevId: 304438717\n\n6e2ea9a4b63a264090f1bd4b5b25766a3f634f3a\nfix: add interface name overrides back to logging gapic config.\n\ncommitter: @hzyi-google\nPiperOrigin-RevId: 304438432\n\n01f3ccbaa66cf3ae4e3b9fd140b1ecfbe54a3ed0\nFix: Add package/namespace options for C#, Ruby and PHP in remaining protos.\n\nPiperOrigin-RevId: 304416658\n\nb89abbf12cd3c086abddcd79adb0a653349f960a\nchore(google/maps): Rename nox.py to noxfile.py\n\nupstream wip fix here: https://github.com/googleapis/gapic-generator/pull/3156\n\nPiperOrigin-RevId: 304411146\n\nbbf26d7f11fae7789b13959bf100983c496c9807\nSynchronize new proto/yaml changes.\n\nPiperOrigin-RevId: 304409906\n\n75047719f704d61f405cac6d7439637ab36c1232\nfix Dataproc: add missing `REQUIRED` annotation.\n\nPiperOrigin-RevId: 304305096\n\n7e1b880fd5d477176cf9b0bb9b137b9bea56e787\nAdd Ruby/PHP namespace options\n\nPiperOrigin-RevId: 304288402\n\naba342359b6743353195ca53f944fe71e6fb6cd4\nchore: add java assembly target for accesscontextmanager BUILD.bazel\n\nPiperOrigin-RevId: 304207684\n\ndc65f39f33cb139b3a2244199a3e722a4d94b679\nFor Secret Manager v1 and v1beta1, noted Secret ID character limitations.\n\nPiperOrigin-RevId: 304035052\n\n2ee8c4d06db823c29a127709e66c35e38b6e98ab\nchore(deps): Update gax-java dependency\nThis is to integrate java11 incompatibility fix\n\nPiperOrigin-RevId: 304032057\n\nb5c94cec71ea9b840dc0110a0275323313ecc85a\nchore: add java assembly target for orgpolicy BUILD.bazel\n\nPiperOrigin-RevId: 304021854\n\n690f4d6344197fde775230cec165a9db3b3929c7\nchore: use the latest protoc-java-resource-name-plugin in third_party/googleapis WORKSPACE.\n- trace up only one level when calculating parent types with singleton resource names\n\nPiperOrigin-RevId: 304007414\n\n87144228bd9920b824996355f27891310fad5a32\nEnable gapic v2 for DLP.\n\nCommitter: @hzyi-google\nPiperOrigin-RevId: 303999064\n\n17cfae00f2bb51cb1683f017da7e295a1b0f01a8\nAdd a new AuthorizationType for Data Source Definition.\n\nPiperOrigin-RevId: 303992863\n\n6da3d64919c006ef40cad2026f1e39084253afe2\nfix(google/maps): Change importpath to developers.google.com/maps/go.\n\nPiperOrigin-RevId: 303976942\n\n2983dccde54f0ce31793e1e628379616c468aea0\nbuild(google/maps): only modify root build.gradle with ext plugin\n\nPiperOrigin-RevId: 303975876\n\n00f0a285f2716ce57e98afe500e450b17b556ff8\nfix: Integerate gapic-generator java_gapic rules Java11 fix\n\nPiperOrigin-RevId: 303899179\n\na62857d26bd2ae15aec13a9244989e4104195b63\nfix: add proto_package to the artman config of dataproc v1beta2 to make artman smoketest pass.\n\nPiperOrigin-RevId: 303853989\n\nf260ba248df934fd4ddc22950fb529a59d79e0b5\nchore: use the latest gapic-generator in googleapis WORKSPACE.\n- PHP multi-pattern resource name support.\n- Trace up only one level when calculating parent types with singleton resource names\n\nPiperOrigin-RevId: 303836059\n\n89c7d455fffa5d8a7e73c2f4da43a74605ed72a6\nfeat: Add client library options to OsConfigService v1 patch APIs.\n\nPiperOrigin-RevId: 303831150\n\na45b0a2a8f6f497547ab531a4da978c76441d076\ndataproc: add back non-default retry parameters.\ncommitter: @hzyi-google\n\nPiperOrigin-RevId: 303830177\n\nad895ce95f1f6d2261fbbc3e8897958294e4f017\nenable gapic v2 for containeranalysis.\ncommitter: @hzyi-google\n\nPiperOrigin-RevId: 303821111\n\nbaf83e521834b67397839bcbe2d7864b49e38787\nAdding \"resource_reference\" annotations to services.\n\nPiperOrigin-RevId: 303791704\n\n7be2811ad17013a5ea24cd75dfd9e399dd6e18fe\nfix: Update gapic-generator version to pickup discogapic fixes\n\nPiperOrigin-RevId: 303545940\n\nb655808b3481a92f478ae2f828a6ce8220e40f32\ncloudasset: add org policy and access context manager protos to client libraries.\n\nPiperOrigin-RevId: 303527638\n\nd8c5da9a9471659b51d5862dd2ea7ad3c4bc49ef\nPopulate BAZEL.build files for AccessContextManager.\n\nPiperOrigin-RevId: 303526825\n\ncf9db7161cb9d4dbef06cd8bf5354ec485e51e2d\nPopulate BAZEL.build files for OrgPolicy.\n\nPiperOrigin-RevId: 303526702\n\n558b800ed594acc02555cc560fbb39c0e42bc438\nchore: turn on gapic v2 for Dataproc API.\nfix:\n- add missing method signatures\n- remove resource_reference not on a string field\n- adjust resource name pattern orders\n\nPiperOrigin-RevId: 303431167\n\n8eb444cf5ff63f68d826acbb37b2ac3da58655fb\nAdd logging protos for Recommender v1beta1.\n\nPiperOrigin-RevId: 303426030\n\n48a166ce9f6e2a88b10947341b37336fe9dd3478\nPush of PHP, C# and Ruby namespaces\n\nPiperOrigin-RevId: 303302813\n\n42f77489b300df2e27c84a7b65c4e8f04da20981\nThis is first release of the API protos and Bazel BUILD files for the Analytics Management API V1alpha.\n\nPiperOrigin-RevId: 303241805\n\n8bea81bfa461698981b3d3a488a95633d2f6e9ff\nchore: use latest protoc-java-resource-name-plugin in bazel WORKSPACE.\nnew commits:\n- fix: stop generating `parseList` and `toStringList` if a multi-pattern resource name has subclasses (#79)\n\ncommitter: @hzyi-google\nPiperOrigin-RevId: 303197602\n\nb14af92e565264675d6b12cd2c0ded6c94ddd7f8\nfix talent API incorrect placeholders in two resource name patterns.\ncommitter: @hzyi-google\n\nPiperOrigin-RevId: 303189497\n\n8e22db908ae09e1f7e2802c03b4563fd6b524e0e\nchore(google/maps): Update postprocessing script for Java.\n\n- Update root build.gradle to load local plugin\n- Change com.google.api.grpc group to com.google.maps\n\nPiperOrigin-RevId: 303176850\n\n65816afa71e588252b7119dc723592abe51ea106\nbazel: update gapic-generator-go to v0.12.5 and gapic-generator hash\n\nChanges to gapic-generator-go include:\n* feat: strip invalid link references in comments\n* chore: updating Go deps in bazel repositories\n\nChanges to gapic-generator include:\n* fix: bazel go build gen check for cloud in proto pkg name\n* Revert \"feat: allow static substitution for group name\"\n\nPiperOrigin-RevId: 303150338\n\nd4aa417ed2bba89c2d216900282bddfdafef6128\nFix incorrect retry config in gapic v2 for kms.\n\nPiperOrigin-RevId: 303010132\n\nfd08334533204fdd1b33f79fcb263dbb5bf13de0\nfix: osconfig/v1 update go_gapic_library target to microgen interface\n\nPiperOrigin-RevId: 303007866\n\ne2c0f2a0e06d86b50aba98f67f9f291587d986b3\nUpdate comments for google/rpc/error_details.proto.\n\nPiperOrigin-RevId: 303002528\n\nf786c7586748e78a286b1620ff3ddbf7b4dcab92\nfeat: Add OsConfigService v1 patch APIs.\n\nPiperOrigin-RevId: 302999346\n\n0341fa3fc2f4073a1b1f260d37b2ce620799f545\nTurn on gapic config v2 for kms.\n\nCommitter: @hzyi-google\nPiperOrigin-RevId: 302980301\n\n32dc6e832039b61ac3fb82c72eb0a27570aebcd6\nredis: v1beta1 enables REDIS_5_0 as an option for redis_version field and adds two new redis configs --stream-node-max-entries --stream-node-max-bytes\n\nPiperOrigin-RevId: 302958009\n\n685f16483cc4d87c35051f21f8f13ef4fdc919b4\nredis: v1 enables REDIS_5_0 as an option for redis_version field and adds two new redis configs --stream-node-max-entries --stream-node-max-bytes\n\nPiperOrigin-RevId: 302957729\n\n733cb282ae5e64673ef86c9a5dff647df803d8b7\nAdd GAPIC cofiguration for v1 client library genetration.\n\nPiperOrigin-RevId: 302928200\n\n1b0fff5f2ec6dc4a9443d9b50e70e9c94c30c45b\ndocs: remove an internal lint declaration\n\nPiperOrigin-RevId: 302928106\n\n2be23f3f3036a6f7ce0844def3d2d3da74e5d415\nfix(google/maps): Add post-processing rules for Google Maps APIs\n\nPiperOrigin-RevId: 302925222\n\nfd83ab212176a1042e8d45ea90766b3bf59ac679\nfix: migrate osconfig/agentendpoint/v1 go_gapic_library target to microgen impl\n\nPiperOrigin-RevId: 302913609\n\n0e07113e776bdd8fcc0783372e08bb6e76cb1b5b\ndocs: Update documentation with links to smart home developer guides and reference pages. Remove outdated authorization instructions.\n\nPiperOrigin-RevId: 302892245\n\n551cf1e6e3addcc63740427c4f9b40dedd3dac27\nfeat: Add OS Config AgentEndpointService v1 PatchJobs and Tasks APIs.\n\nPiperOrigin-RevId: 302792195\n\n1df117114c73299b614dfd3ba3632bf246669336\nSynchronize new proto/yaml changes.\n\nPiperOrigin-RevId: 302753982\n\n71d6c56a14bb433beb1237dccb48dabcd9597924\nRefresh monitoring client libraries.\nRename to Cloud Monitoring API.\nAdded support for TimeSeriesQueryLanguageCondition condition type in alert policies.\n\nPiperOrigin-RevId: 302735422\n\n25a1781c096974df99d556cc5888fefa82bc6425\nbazel: migrate all go_gapic_library targets to microgenerator implementation\n\n* update rules_go and gazelle bazel dependencies\n* update gapic-generator bazel dependency (with build file generator changes)\n\nPiperOrigin-RevId: 302730217\n\n36c0febd0fa7267ab66d14408eec2afd1b6bec4e\nUpdate GAPIC configurations to v2 .yaml.\n\nPiperOrigin-RevId: 302639621\n\n078f222366ed344509a48f2f084944ef61476613\nFix containeranalysis v1beta1 assembly target name\n\nPiperOrigin-RevId: 302529186\n\n0be7105dc52590fa9a24e784052298ae37ce53aa\nAdd BUILD.bazel file to asset/v1p1beta1\n\nPiperOrigin-RevId: 302154871\n\n6c248fd13e8543f8d22cbf118d978301a9fbe2a8\nAdd missing resource annotations and additional_bindings to dialogflow v2 API.\n\nPiperOrigin-RevId: 302063117\n\n9a3a7f33be9eeacf7b3e98435816b7022d206bd7\nChange the service name from \"chromeos-moblab.googleapis.com\" to \"chromeosmoblab.googleapis.com\"\n\nPiperOrigin-RevId: 302060989\n\n98a339237577e3de26cb4921f75fb5c57cc7a19f\nfeat: devtools/build/v1 publish client library config annotations\n\n* add details field to some of the BuildEvents\n* add final_invocation_id and build_tool_exit_code fields to BuildStatus\n\nPiperOrigin-RevId: 302044087\n\ncfabc98c6bbbb22d1aeaf7612179c0be193b3a13\nfeat: home/graph/v1 publish client library config annotations & comment updates\n\nThis change includes adding the client library configuration annotations, updated proto comments, and some client library configuration files.\n\nPiperOrigin-RevId: 302042647\n\nc8c8c0bd15d082db9546253dbaad1087c7a9782c\nchore: use latest gapic-generator in bazel WORKSPACE.\nincluding the following commits from gapic-generator:\n- feat: take source protos in all sub-packages (#3144)\n\nPiperOrigin-RevId: 301843591\n\ne4daf5202ea31cb2cb6916fdbfa9d6bd771aeb4c\nAdd bazel file for v1 client lib generation\n\nPiperOrigin-RevId: 301802926\n\n275fbcce2c900278d487c33293a3c7e1fbcd3a34\nfeat: pubsub/v1 add an experimental filter field to Subscription\n\nPiperOrigin-RevId: 301661567\n\nf2b18cec51d27c999ad30011dba17f3965677e9c\nFix: UpdateBackupRequest.backup is a resource, not a resource reference - remove annotation.\n\nPiperOrigin-RevId: 301636171\n\n800384063ac93a0cac3a510d41726fa4b2cd4a83\nCloud Billing Budget API v1beta1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301634389\n\n0cc6c146b660db21f04056c3d58a4b752ee445e3\nCloud Billing Budget API v1alpha1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301630018\n\nff2ea00f69065585c3ac0993c8b582af3b6fc215\nFix: Add resource definition for a parent of InspectTemplate which was otherwise missing.\n\nPiperOrigin-RevId: 301623052\n\n55fa441c9daf03173910760191646399338f2b7c\nAdd proto definition for AccessLevel, AccessPolicy, and ServicePerimeter.\n\nPiperOrigin-RevId: 301620844\n\ne7b10591c5408a67cf14ffafa267556f3290e262\nCloud Bigtable Managed Backup service and message proto files.\n\nPiperOrigin-RevId: 301585144\n\nd8e226f702f8ddf92915128c9f4693b63fb8685d\nfeat: Add time-to-live in a queue for builds\n\nPiperOrigin-RevId: 301579876\n\n430375af011f8c7a5174884f0d0e539c6ffa7675\ndocs: add missing closing backtick\n\nPiperOrigin-RevId: 301538851\n\n0e9f1f60ded9ad1c2e725e37719112f5b487ab65\nbazel: Use latest release of gax_java\n\nPiperOrigin-RevId: 301480457\n\n5058c1c96d0ece7f5301a154cf5a07b2ad03a571\nUpdate GAPIC v2 with batching parameters for Logging API\n\nPiperOrigin-RevId: 301443847\n\n64ab9744073de81fec1b3a6a931befc8a90edf90\nFix: Introduce location-based organization/folder/billing-account resources\nChore: Update copyright years\n\nPiperOrigin-RevId: 301373760\n\n23d5f09e670ebb0c1b36214acf78704e2ecfc2ac\nUpdate field_behavior annotations in V1 and V2.\n\nPiperOrigin-RevId: 301337970\n\nb2cf37e7fd62383a811aa4d54d013ecae638851d\nData Catalog V1 API\n\nPiperOrigin-RevId: 301282503\n\n1976b9981e2900c8172b7d34b4220bdb18c5db42\nCloud DLP api update. Adds missing fields to Finding and adds support for hybrid jobs.\n\nPiperOrigin-RevId: 301205325\n\nae78682c05e864d71223ce22532219813b0245ac\nfix: several sample code blocks in comments are now properly indented for markdown\n\nPiperOrigin-RevId: 301185150\n\ndcd171d04bda5b67db13049320f97eca3ace3731\nPublish Media Translation API V1Beta1\n\nPiperOrigin-RevId: 301180096\n\nff1713453b0fbc5a7544a1ef6828c26ad21a370e\nAdd protos and BUILD rules for v1 API.\n\nPiperOrigin-RevId: 301179394\n\n8386761d09819b665b6a6e1e6d6ff884bc8ff781\nfeat: chromeos/modlab publish protos and config for Chrome OS Moblab API.\n\nPiperOrigin-RevId: 300843960\n\nb2e2bc62fab90e6829e62d3d189906d9b79899e4\nUpdates to GCS gRPC API spec:\n\n1. Changed GetIamPolicy and TestBucketIamPermissions to use wrapper messages around google.iam.v1 IAM requests messages, and added CommonRequestParams. This lets us support RequesterPays buckets.\n2. Added a metadata field to GetObjectMediaResponse, to support resuming an object media read safely (by extracting the generation of the object being read, and using it in the resumed read request).\n\nPiperOrigin-RevId: 300817706\n\n7fd916ce12335cc9e784bb9452a8602d00b2516c\nAdd deprecated_collections field for backward-compatiblity in PHP and monolith-generated Python and Ruby clients.\n\nGenerate TopicName class in Java which covers the functionality of both ProjectTopicName and DeletedTopicName. Introduce breaking changes to be fixed by synth.py.\n\nDelete default retry parameters.\n\nRetry codes defs can be deleted once # https://github.com/googleapis/gapic-generator/issues/3137 is fixed.\n\nPiperOrigin-RevId: 300813135\n\n047d3a8ac7f75383855df0166144f891d7af08d9\nfix!: google/rpc refactor ErrorInfo.type to ErrorInfo.reason and comment updates.\n\nPiperOrigin-RevId: 300773211\n\nfae4bb6d5aac52aabe5f0bb4396466c2304ea6f6\nAdding RetryPolicy to pubsub.proto\n\nPiperOrigin-RevId: 300769420\n\n7d569be2928dbd72b4e261bf9e468f23afd2b950\nAdding additional protocol buffer annotations to v3.\n\nPiperOrigin-RevId: 300718800\n\n13942d1a85a337515040a03c5108993087dc0e4f\nAdd logging protos for Recommender v1.\n\nPiperOrigin-RevId: 300689896\n\na1a573c3eecfe2c404892bfa61a32dd0c9fb22b6\nfix: change go package to use cloud.google.com/go/maps\n\nPiperOrigin-RevId: 300661825\n\nc6fbac11afa0c7ab2972d9df181493875c566f77\nfeat: publish documentai/v1beta2 protos\n\nPiperOrigin-RevId: 300656808\n\n5202a9e0d9903f49e900f20fe5c7f4e42dd6588f\nProtos for v1beta1 release of Cloud Security Center Settings API\n\nPiperOrigin-RevId: 300580858\n\n83518e18655d9d4ac044acbda063cc6ecdb63ef8\nAdds gapic.yaml file and BUILD.bazel file.\n\nPiperOrigin-RevId: 300554200\n\n836c196dc8ef8354bbfb5f30696bd3477e8db5e2\nRegenerate recommender v1beta1 gRPC ServiceConfig file for Insights methods.\n\nPiperOrigin-RevId: 300549302\n\n34a5450c591b6be3d6566f25ac31caa5211b2f3f\nIncreases the default timeout from 20s to 30s for MetricService\n\nPiperOrigin-RevId: 300474272\n\n5d8bffe87cd01ba390c32f1714230e5a95d5991d\nfeat: use the latest gapic-generator in WORKSPACE for bazel build.\n\nPiperOrigin-RevId: 300461878\n\nd631c651e3bcfac5d371e8560c27648f7b3e2364\nUpdated the GAPIC configs to include parameters for Backups APIs.\n\nPiperOrigin-RevId: 300443402\n\n678afc7055c1adea9b7b54519f3bdb228013f918\nAdding Game Servers v1beta API.\n\nPiperOrigin-RevId: 300433218\n\n80d2bd2c652a5e213302041b0620aff423132589\nEnable proto annotation and gapic v2 for talent API.\n\nPiperOrigin-RevId: 300393997\n\n85e454be7a353f7fe1bf2b0affb753305785b872\ndocs(google/maps/roads): remove mention of nonexported api\n\nPiperOrigin-RevId: 300367734\n\nbf839ae632e0f263a729569e44be4b38b1c85f9c\nAdding protocol buffer annotations and updated config info for v1 and v2.\n\nPiperOrigin-RevId: 300276913\n\n309b899ca18a4c604bce63882a161d44854da549\nPublish `Backup` APIs and protos.\n\nPiperOrigin-RevId: 300246038\n\neced64c3f122421350b4aca68a28e89121d20db8\nadd PHP client libraries\n\nPiperOrigin-RevId: 300193634\n\n7727af0e39df1ae9ad715895c8576d7b65cf6c6d\nfeat: use the latest gapic-generator and protoc-java-resource-name-plugin in googleapis/WORKSPACE.\n\nPiperOrigin-RevId: 300188410\n\n2a25aa351dd5b5fe14895266aff5824d90ce757b\nBreaking change: remove the ProjectOrTenant resource and its references.\n\nPiperOrigin-RevId: 300182152\n\na499dbb28546379415f51803505cfb6123477e71\nUpdate web risk v1 gapic config and BUILD file.\n\nPiperOrigin-RevId: 300152177\n\n52701da10fec2a5f9796e8d12518c0fe574488fe\nFix: apply appropriate namespace/package options for C#, PHP and Ruby.\n\nPiperOrigin-RevId: 300123508\n\n365c029b8cdb63f7751b92ab490f1976e616105c\nAdd CC targets to the kms protos.\n\nThese are needed by go/tink.\n\nPiperOrigin-RevId: 300038469\n\n4ba9aa8a4a1413b88dca5a8fa931824ee9c284e6\nExpose logo recognition API proto for GA.\n\nPiperOrigin-RevId: 299971671\n\n1c9fc2c9e03dadf15f16b1c4f570955bdcebe00e\nAdding ruby_package option to accessapproval.proto for the Ruby client libraries generation.\n\nPiperOrigin-RevId: 299955924\n\n1cc6f0a7bfb147e6f2ede911d9b01e7a9923b719\nbuild(google/maps/routes): generate api clients\n\nPiperOrigin-RevId: 299955905\n\n29a47c965aac79e3fe8e3314482ca0b5967680f0\nIncrease timeout to 1hr for method `dropRange` in bigtable/admin/v2, which is\nsynced with the timeout setting in gapic_yaml.\n\nPiperOrigin-RevId: 299917154\n\n8f631c4c70a60a9c7da3749511ee4ad432b62898\nbuild(google/maps/roads/v1op): move go to monorepo pattern\n\nPiperOrigin-RevId: 299885195\n\nd66816518844ebbf63504c9e8dfc7133921dd2cd\nbuild(google/maps/roads/v1op): Add bazel build files to generate clients.\n\nPiperOrigin-RevId: 299851148\n\naf7dff701fabe029672168649c62356cf1bb43d0\nAdd LogPlayerReports and LogImpressions to Playable Locations service\n\nPiperOrigin-RevId: 299724050\n\nb6927fca808f38df32a642c560082f5bf6538ced\nUpdate BigQuery Connection API v1beta1 proto: added credential to CloudSqlProperties.\n\nPiperOrigin-RevId: 299503150\n\n91e1fb5ef9829c0c7a64bfa5bde330e6ed594378\nchore: update protobuf (protoc) version to 3.11.2\n\nPiperOrigin-RevId: 299404145\n\n30e36b4bee6749c4799f4fc1a51cc8f058ba167d\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 299399890\n\nffbb493674099f265693872ae250711b2238090c\nfeat: cloudbuild/v1 add new fields and annotate OUTPUT_OUT fields.\n\nPiperOrigin-RevId: 299397780\n\nbc973a15818e00c19e121959832676e9b7607456\nbazel: Fix broken common dependency\n\nPiperOrigin-RevId: 299397431\n\n71094a343e3b962e744aa49eb9338219537474e4\nchore: bigtable/admin/v2 publish retry config\n\nPiperOrigin-RevId: 299391875\n\n8f488efd7bda33885cb674ddd023b3678c40bd82\nfeat: Migrate logging to GAPIC v2; release new features.\n\nIMPORTANT: This is a breaking change for client libraries\nin all languages.\n\nCommitter: @lukesneeringer, @jskeet\nPiperOrigin-RevId: 299370279\n\n007605bf9ad3a1fd775014ebefbf7f1e6b31ee71\nUpdate API for bigqueryreservation v1beta1.\n- Adds flex capacity commitment plan to CapacityCommitment.\n- Adds methods for getting and updating BiReservations.\n- Adds methods for updating/splitting/merging CapacityCommitments.\n\nPiperOrigin-RevId: 299368059\n\nf0b581b5bdf803e45201ecdb3688b60e381628a8\nfix: recommendationengine/v1beta1 update some comments\n\nPiperOrigin-RevId: 299181282\n\n10e9a0a833dc85ff8f05b2c67ebe5ac785fe04ff\nbuild: add generated BUILD file for Routes Preferred API\n\nPiperOrigin-RevId: 299164808\n\n86738c956a8238d7c77f729be78b0ed887a6c913\npublish v1p1beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299152383\n\n73d9f2ad4591de45c2e1f352bc99d70cbd2a6d95\npublish v1: update with absolute address in comments\n\nPiperOrigin-RevId: 299147194\n\nd2158f24cb77b0b0ccfe68af784c6a628705e3c6\npublish v1beta2: update with absolute address in comments\n\nPiperOrigin-RevId: 299147086\n\n7fca61292c11b4cd5b352cee1a50bf88819dd63b\npublish v1p2beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146903\n\n583b7321624736e2c490e328f4b1957335779295\npublish v1p3beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146674\n\n638253bf86d1ce1c314108a089b7351440c2f0bf\nfix: add java_multiple_files option for automl text_sentiment.proto\n\nPiperOrigin-RevId: 298971070\n\n373d655703bf914fb8b0b1cc4071d772bac0e0d1\nUpdate Recs AI Beta public bazel file\n\nPiperOrigin-RevId: 298961623\n\ndcc5d00fc8a8d8b56f16194d7c682027b2c66a3b\nfix: add java_multiple_files option for automl classification.proto\n\nPiperOrigin-RevId: 298953301\n\na3f791827266f3496a6a5201d58adc4bb265c2a3\nchore: automl/v1 publish annotations and retry config\n\nPiperOrigin-RevId: 298942178\n\n01c681586d8d6dbd60155289b587aee678530bd9\nMark return_immediately in PullRequest deprecated.\n\nPiperOrigin-RevId: 298893281\n\nc9f5e9c4bfed54bbd09227e990e7bded5f90f31c\nRemove out of date documentation for predicate support on the Storage API\n\nPiperOrigin-RevId: 298883309\n\nfd5b3b8238d783b04692a113ffe07c0363f5de0f\ngenerate webrisk v1 proto\n\nPiperOrigin-RevId: 298847934\n\n541b1ded4abadcc38e8178680b0677f65594ea6f\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 298686266\n\nc0d171acecb4f5b0bfd2c4ca34fc54716574e300\n Updated to include the Notification v1 API.\n\nPiperOrigin-RevId: 298652775\n\n2346a9186c0bff2c9cc439f2459d558068637e05\nAdd Service Directory v1beta1 protos and configs\n\nPiperOrigin-RevId: 298625638\n\na78ed801b82a5c6d9c5368e24b1412212e541bb7\nPublishing v3 protos and configs.\n\nPiperOrigin-RevId: 298607357\n\n4a180bfff8a21645b3a935c2756e8d6ab18a74e0\nautoml/v1beta1 publish proto updates\n\nPiperOrigin-RevId: 298484782\n\n6de6e938b7df1cd62396563a067334abeedb9676\nchore: use the latest gapic-generator and protoc-java-resource-name-plugin in Bazel workspace.\n\nPiperOrigin-RevId: 298474513\n\n244ab2b83a82076a1fa7be63b7e0671af73f5c02\nAdds service config definition for bigqueryreservation v1\n\nPiperOrigin-RevId: 298455048\n\n83c6f84035ee0f80eaa44d8b688a010461cc4080\nUpdate google/api/auth.proto to make AuthProvider to have JwtLocation\n\nPiperOrigin-RevId: 297918498\n\ne9e90a787703ec5d388902e2cb796aaed3a385b4\nDialogflow weekly v2/v2beta1 library update:\n - adding get validation result\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297671458\n\n1a2b05cc3541a5f7714529c665aecc3ea042c646\nAdding .yaml and .json config files.\n\nPiperOrigin-RevId: 297570622\n\ndfe1cf7be44dee31d78f78e485d8c95430981d6e\nPublish `QueryOptions` proto.\n\nIntroduced a `query_options` input in `ExecuteSqlRequest`.\n\nPiperOrigin-RevId: 297497710\n\ndafc905f71e5d46f500b41ed715aad585be062c3\npubsub: revert pull init_rpc_timeout & max_rpc_timeout back to 25 seconds and reset multiplier to 1.0\n\nPiperOrigin-RevId: 297486523\n\nf077632ba7fee588922d9e8717ee272039be126d\nfirestore: add update_transform\n\nPiperOrigin-RevId: 297405063\n\n0aba1900ffef672ec5f0da677cf590ee5686e13b\ncluster: use square brace for cross-reference\n\nPiperOrigin-RevId: 297204568\n\n5dac2da18f6325cbaed54603c43f0667ecd50247\nRestore retry params in gapic config because securitycenter has non-standard default retry params.\nRestore a few retry codes for some idempotent methods.\n\nPiperOrigin-RevId: 297196720\n\n1eb61455530252bba8b2c8d4bc9832960e5a56f6\npubsub: v1 replace IAM HTTP rules\n\nPiperOrigin-RevId: 297188590\n\n80b2d25f8d43d9d47024ff06ead7f7166548a7ba\nDialogflow weekly v2/v2beta1 library update:\n - updates to mega agent api\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297187629\n\n0b1876b35e98f560f9c9ca9797955f020238a092\nUse an older version of protoc-docs-plugin that is compatible with the specified gapic-generator and protobuf versions.\n\nprotoc-docs-plugin >=0.4.0 (see commit https://github.com/googleapis/protoc-docs-plugin/commit/979f03ede6678c487337f3d7e88bae58df5207af) is incompatible with protobuf 3.9.1.\n\nPiperOrigin-RevId: 296986742\n\n1e47e676cddbbd8d93f19ba0665af15b5532417e\nFix: Restore a method signature for UpdateCluster\n\nPiperOrigin-RevId: 296901854\n\n7f910bcc4fc4704947ccfd3ceed015d16b9e00c2\nUpdate Dataproc v1beta2 client.\n\nPiperOrigin-RevId: 296451205\n\nde287524405a3dce124d301634731584fc0432d7\nFix: Reinstate method signatures that had been missed off some RPCs\nFix: Correct resource types for two fields\n\nPiperOrigin-RevId: 296435091\n\ne5bc9566ae057fb4c92f8b7e047f1c8958235b53\nDeprecate the endpoint_uris field, as it is unused.\n\nPiperOrigin-RevId: 296357191\n\n8c12e2b4dca94e12bff9f538bdac29524ff7ef7a\nUpdate Dataproc v1 client.\n\nPiperOrigin-RevId: 296336662\n\n17567c4a1ef0a9b50faa87024d66f8acbb561089\nRemoving erroneous comment, a la https://github.com/googleapis/java-speech/pull/103\n\nPiperOrigin-RevId: 296332968\n\n3eaaaf8626ce5b0c0bc7eee05e143beffa373b01\nAdd BUILD.bazel for v1 secretmanager.googleapis.com\n\nPiperOrigin-RevId: 296274723\n\ne76149c3d992337f85eeb45643106aacae7ede82\nMove securitycenter v1 to use generate from annotations.\n\nPiperOrigin-RevId: 296266862\n\n203740c78ac69ee07c3bf6be7408048751f618f8\nAdd StackdriverLoggingConfig field to Cloud Tasks v2 API.\n\nPiperOrigin-RevId: 296256388\n\ne4117d5e9ed8bbca28da4a60a94947ca51cb2083\nCreate a Bazel BUILD file for the google.actions.type export.\n\nPiperOrigin-RevId: 296212567\n\na9639a0a9854fd6e1be08bba1ac3897f4f16cb2f\nAdd secretmanager.googleapis.com v1 protos\n\nPiperOrigin-RevId: 295983266\n\n" + "sha": "cf41866c6f14f10a07aa1e2a1260fc0a2727d889", + "internalRef": "317812187" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "52638600f387deb98efb5f9c85fec39e82aa9052" + "sha": "cf2eff09d0f5319a4dc5cdce2b6356d85af4a798" } } ], @@ -38,8 +30,7 @@ "apiName": "container", "apiVersion": "v1beta1", "language": "python", - "generator": "gapic", - "config": "google/container/artman_container_v1beta1.yaml" + "generator": "bazel" } }, { @@ -48,8 +39,7 @@ "apiName": "container", "apiVersion": "v1", "language": "python", - "generator": "gapic", - "config": "google/container/artman_container_v1.yaml" + "generator": "bazel" } } ] diff --git a/packages/google-cloud-container/synth.py b/packages/google-cloud-container/synth.py index 1c31585cccbc..5e1e6567278b 100644 --- a/packages/google-cloud-container/synth.py +++ b/packages/google-cloud-container/synth.py @@ -63,4 +63,7 @@ templated_files = common.py_library(unit_cov_level=0, cov_level=70) s.move(templated_files) +# TODO(busunkim): Use latest sphinx after microgenerator transition +s.replace("noxfile.py", """['"]sphinx['"]""", '"sphinx<3.0.0"') + s.shell.run(["nox", "-s", "blacken"], hide_output=False) diff --git a/packages/google-cloud-container/testing/.gitignore b/packages/google-cloud-container/testing/.gitignore new file mode 100644 index 000000000000..b05fbd630881 --- /dev/null +++ b/packages/google-cloud-container/testing/.gitignore @@ -0,0 +1,3 @@ +test-env.sh +service-account.json +client-secrets.json \ No newline at end of file diff --git a/packages/google-cloud-container/tests/unit/gapic/v1/test_cluster_manager_client_v1.py b/packages/google-cloud-container/tests/unit/gapic/v1/test_cluster_manager_client_v1.py index b90e438003aa..5468b7a0a050 100644 --- a/packages/google-cloud-container/tests/unit/gapic/v1/test_cluster_manager_client_v1.py +++ b/packages/google-cloud-container/tests/unit/gapic/v1/test_cluster_manager_client_v1.py @@ -62,6 +62,106 @@ class CustomException(Exception): class TestClusterManagerClient(object): + def test_delete_cluster(self): + # Setup Expected Response + name = "name3373707" + zone = "zone3744684" + detail = "detail-1335224239" + status_message = "statusMessage-239442758" + self_link = "selfLink-1691268851" + target_link = "targetLink-2084812312" + location = "location1901043637" + start_time = "startTime-1573145462" + end_time = "endTime1725551537" + expected_response = { + "name": name, + "zone": zone, + "detail": detail, + "status_message": status_message, + "self_link": self_link, + "target_link": target_link, + "location": location, + "start_time": start_time, + "end_time": end_time, + } + expected_response = cluster_service_pb2.Operation(**expected_response) + + # Mock the API response + channel = ChannelStub(responses=[expected_response]) + patch = mock.patch("google.api_core.grpc_helpers.create_channel") + with patch as create_channel: + create_channel.return_value = channel + client = container_v1.ClusterManagerClient() + + response = client.delete_cluster() + assert expected_response == response + + assert len(channel.requests) == 1 + expected_request = cluster_service_pb2.DeleteClusterRequest() + actual_request = channel.requests[0][1] + assert expected_request == actual_request + + def test_delete_cluster_exception(self): + # Mock the API response + channel = ChannelStub(responses=[CustomException()]) + patch = mock.patch("google.api_core.grpc_helpers.create_channel") + with patch as create_channel: + create_channel.return_value = channel + client = container_v1.ClusterManagerClient() + + with pytest.raises(CustomException): + client.delete_cluster() + + def test_delete_node_pool(self): + # Setup Expected Response + name = "name3373707" + zone = "zone3744684" + detail = "detail-1335224239" + status_message = "statusMessage-239442758" + self_link = "selfLink-1691268851" + target_link = "targetLink-2084812312" + location = "location1901043637" + start_time = "startTime-1573145462" + end_time = "endTime1725551537" + expected_response = { + "name": name, + "zone": zone, + "detail": detail, + "status_message": status_message, + "self_link": self_link, + "target_link": target_link, + "location": location, + "start_time": start_time, + "end_time": end_time, + } + expected_response = cluster_service_pb2.Operation(**expected_response) + + # Mock the API response + channel = ChannelStub(responses=[expected_response]) + patch = mock.patch("google.api_core.grpc_helpers.create_channel") + with patch as create_channel: + create_channel.return_value = channel + client = container_v1.ClusterManagerClient() + + response = client.delete_node_pool() + assert expected_response == response + + assert len(channel.requests) == 1 + expected_request = cluster_service_pb2.DeleteNodePoolRequest() + actual_request = channel.requests[0][1] + assert expected_request == actual_request + + def test_delete_node_pool_exception(self): + # Mock the API response + channel = ChannelStub(responses=[CustomException()]) + patch = mock.patch("google.api_core.grpc_helpers.create_channel") + with patch as create_channel: + create_channel.return_value = channel + client = container_v1.ClusterManagerClient() + + with pytest.raises(CustomException): + client.delete_node_pool() + def test_list_clusters(self): # Setup Expected Response expected_response = {} @@ -755,56 +855,6 @@ def test_set_master_auth_exception(self): with pytest.raises(CustomException): client.set_master_auth(action, update) - def test_delete_cluster(self): - # Setup Expected Response - name = "name3373707" - zone = "zone3744684" - detail = "detail-1335224239" - status_message = "statusMessage-239442758" - self_link = "selfLink-1691268851" - target_link = "targetLink-2084812312" - location = "location1901043637" - start_time = "startTime-1573145462" - end_time = "endTime1725551537" - expected_response = { - "name": name, - "zone": zone, - "detail": detail, - "status_message": status_message, - "self_link": self_link, - "target_link": target_link, - "location": location, - "start_time": start_time, - "end_time": end_time, - } - expected_response = cluster_service_pb2.Operation(**expected_response) - - # Mock the API response - channel = ChannelStub(responses=[expected_response]) - patch = mock.patch("google.api_core.grpc_helpers.create_channel") - with patch as create_channel: - create_channel.return_value = channel - client = container_v1.ClusterManagerClient() - - response = client.delete_cluster() - assert expected_response == response - - assert len(channel.requests) == 1 - expected_request = cluster_service_pb2.DeleteClusterRequest() - actual_request = channel.requests[0][1] - assert expected_request == actual_request - - def test_delete_cluster_exception(self): - # Mock the API response - channel = ChannelStub(responses=[CustomException()]) - patch = mock.patch("google.api_core.grpc_helpers.create_channel") - with patch as create_channel: - create_channel.return_value = channel - client = container_v1.ClusterManagerClient() - - with pytest.raises(CustomException): - client.delete_cluster() - def test_list_operations(self): # Setup Expected Response expected_response = {} @@ -1084,56 +1134,6 @@ def test_create_node_pool_exception(self): with pytest.raises(CustomException): client.create_node_pool(node_pool) - def test_delete_node_pool(self): - # Setup Expected Response - name = "name3373707" - zone = "zone3744684" - detail = "detail-1335224239" - status_message = "statusMessage-239442758" - self_link = "selfLink-1691268851" - target_link = "targetLink-2084812312" - location = "location1901043637" - start_time = "startTime-1573145462" - end_time = "endTime1725551537" - expected_response = { - "name": name, - "zone": zone, - "detail": detail, - "status_message": status_message, - "self_link": self_link, - "target_link": target_link, - "location": location, - "start_time": start_time, - "end_time": end_time, - } - expected_response = cluster_service_pb2.Operation(**expected_response) - - # Mock the API response - channel = ChannelStub(responses=[expected_response]) - patch = mock.patch("google.api_core.grpc_helpers.create_channel") - with patch as create_channel: - create_channel.return_value = channel - client = container_v1.ClusterManagerClient() - - response = client.delete_node_pool() - assert expected_response == response - - assert len(channel.requests) == 1 - expected_request = cluster_service_pb2.DeleteNodePoolRequest() - actual_request = channel.requests[0][1] - assert expected_request == actual_request - - def test_delete_node_pool_exception(self): - # Mock the API response - channel = ChannelStub(responses=[CustomException()]) - patch = mock.patch("google.api_core.grpc_helpers.create_channel") - with patch as create_channel: - create_channel.return_value = channel - client = container_v1.ClusterManagerClient() - - with pytest.raises(CustomException): - client.delete_node_pool() - def test_rollback_node_pool_upgrade(self): # Setup Expected Response name = "name3373707"