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

Commit

Permalink
Browse files Browse the repository at this point in the history
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 6afc050
Show file tree
Hide file tree
Showing 21 changed files with 4,262 additions and 3,424 deletions.
2 changes: 1 addition & 1 deletion google/cloud/container.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
13 changes: 12 additions & 1 deletion google/cloud/container_v1/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -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
Expand Down
944 changes: 333 additions & 611 deletions google/cloud/container_v1/gapic/cluster_manager_client.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion google/cloud/container_v1/gapic/enums.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -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.
Expand Down

0 comments on commit 6afc050

Please sign in to comment.