Skip to content
Permalink
Browse files
feat: make project_id, zone, cluster_id, node_pool optional a…
…rguments to methods in `cluster_manager_client`; change default timeout config; add 2.7 sunset warning; bump copyright year to 2020 (via synth)(#8)
  • Loading branch information
yoshi-automation committed Feb 19, 2020
1 parent 2cb574a commit 6afc050f21c57a2d0eda3327c07510f2226aa6a6
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -16,12 +16,23 @@


from __future__ import absolute_import
import sys
import warnings

from google.cloud.container_v1 import types
from google.cloud.container_v1.gapic import cluster_manager_client
from google.cloud.container_v1.gapic import enums


if sys.version_info[:2] == (2, 7):
message = (
"A future version of this library will drop support for Python 2.7."
"More details about Python 2 support for Google Cloud Client Libraries"
"can be found at https://cloud.google.com/python/docs/python2-sunset/"
)
warnings.warn(message, DeprecationWarning)


class ClusterManagerClient(cluster_manager_client.ClusterManagerClient):
__doc__ = cluster_manager_client.ClusterManagerClient.__doc__
enums = enums

Large diffs are not rendered by default.

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Loading

0 comments on commit 6afc050

Please sign in to comment.