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

feat: add from_service_account_info #66

Merged
merged 8 commits into from
Mar 24, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: upgrade gapic-generator-python to 0.39.1
feat: add 'from_service_account_info' factory to clients
fix: fix sphinx identifiers
PiperOrigin-RevId: 350246057

Source-Author: Google APIs <[email protected]>
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 Mar 24, 2021
commit b02f72945d49013d1b0ebfae87fb6079bed81dff
11 changes: 11 additions & 0 deletions docs/container_v1/cluster_manager.rst
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading