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

Commit

Permalink
chore: upgrade gapic-generator-python to 0.39.1
Browse files Browse the repository at this point in the history
feat: add 'from_service_account_info' factory to clients
fix: fix sphinx identifiers
PiperOrigin-RevId: 350246057

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Jan 5 16:44:11 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 520682435235d9c503983a360a2090025aa47cd1
Source-Link: googleapis/googleapis@5206824
  • Loading branch information
yoshi-automation committed Jan 6, 2021
1 parent efe4b69 commit e018feb
Show file tree
Hide file tree
Showing 17 changed files with 1,269 additions and 783 deletions.
11 changes: 11 additions & 0 deletions docs/container_v1/cluster_manager.rst
@@ -0,0 +1,11 @@
ClusterManager
--------------------------------

.. automodule:: google.cloud.container_v1.services.cluster_manager
:members:
:inherited-members:


.. automodule:: google.cloud.container_v1.services.cluster_manager.pagers
:members:
:inherited-members:
6 changes: 3 additions & 3 deletions docs/container_v1/services.rst
@@ -1,6 +1,6 @@
Services for Google Container v1 API
====================================
.. toctree::
:maxdepth: 2

.. automodule:: google.cloud.container_v1.services.cluster_manager
:members:
:inherited-members:
cluster_manager
1 change: 1 addition & 0 deletions docs/container_v1/types.rst
Expand Up @@ -3,4 +3,5 @@ Types for Google Container v1 API

.. automodule:: google.cloud.container_v1.types
:members:
:undoc-members:
:show-inheritance:
11 changes: 11 additions & 0 deletions docs/container_v1beta1/cluster_manager.rst
@@ -0,0 +1,11 @@
ClusterManager
--------------------------------

.. automodule:: google.cloud.container_v1beta1.services.cluster_manager
:members:
:inherited-members:


.. automodule:: google.cloud.container_v1beta1.services.cluster_manager.pagers
:members:
:inherited-members:
6 changes: 3 additions & 3 deletions docs/container_v1beta1/services.rst
@@ -1,6 +1,6 @@
Services for Google Container v1beta1 API
=========================================
.. toctree::
:maxdepth: 2

.. automodule:: google.cloud.container_v1beta1.services.cluster_manager
:members:
:inherited-members:
cluster_manager
1 change: 1 addition & 0 deletions docs/container_v1beta1/types.rst
Expand Up @@ -3,4 +3,5 @@ Types for Google Container v1beta1 API

.. automodule:: google.cloud.container_v1beta1.types
:members:
:undoc-members:
:show-inheritance:
243 changes: 174 additions & 69 deletions google/cloud/container_v1/services/cluster_manager/async_client.py

Large diffs are not rendered by default.

462 changes: 291 additions & 171 deletions google/cloud/container_v1/services/cluster_manager/client.py

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions google/cloud/container_v1/services/cluster_manager/pagers.py
Expand Up @@ -24,7 +24,7 @@ class ListUsableSubnetworksPager:
"""A pager for iterating through ``list_usable_subnetworks`` requests.
This class thinly wraps an initial
:class:`~.cluster_service.ListUsableSubnetworksResponse` object, and
:class:`google.cloud.container_v1.types.ListUsableSubnetworksResponse` object, and
provides an ``__iter__`` method to iterate through its
``subnetworks`` field.
Expand All @@ -33,7 +33,7 @@ class ListUsableSubnetworksPager:
through the ``subnetworks`` field on the
corresponding responses.
All the usual :class:`~.cluster_service.ListUsableSubnetworksResponse`
All the usual :class:`google.cloud.container_v1.types.ListUsableSubnetworksResponse`
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
"""
Expand All @@ -51,9 +51,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.cluster_service.ListUsableSubnetworksRequest`):
request (google.cloud.container_v1.types.ListUsableSubnetworksRequest):
The initial request object.
response (:class:`~.cluster_service.ListUsableSubnetworksResponse`):
response (google.cloud.container_v1.types.ListUsableSubnetworksResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down Expand Up @@ -86,7 +86,7 @@ class ListUsableSubnetworksAsyncPager:
"""A pager for iterating through ``list_usable_subnetworks`` requests.
This class thinly wraps an initial
:class:`~.cluster_service.ListUsableSubnetworksResponse` object, and
:class:`google.cloud.container_v1.types.ListUsableSubnetworksResponse` object, and
provides an ``__aiter__`` method to iterate through its
``subnetworks`` field.
Expand All @@ -95,7 +95,7 @@ class ListUsableSubnetworksAsyncPager:
through the ``subnetworks`` field on the
corresponding responses.
All the usual :class:`~.cluster_service.ListUsableSubnetworksResponse`
All the usual :class:`google.cloud.container_v1.types.ListUsableSubnetworksResponse`
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
"""
Expand All @@ -113,9 +113,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.cluster_service.ListUsableSubnetworksRequest`):
request (google.cloud.container_v1.types.ListUsableSubnetworksRequest):
The initial request object.
response (:class:`~.cluster_service.ListUsableSubnetworksResponse`):
response (google.cloud.container_v1.types.ListUsableSubnetworksResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down

0 comments on commit e018feb

Please sign in to comment.