Skip to content
This repository has been archived by the owner on Dec 31, 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 a917d05 commit 2f52fa3
Show file tree
Hide file tree
Showing 9 changed files with 474 additions and 410 deletions.
11 changes: 11 additions & 0 deletions docs/cloudbuild_v1/cloud_build.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CloudBuild
----------------------------

.. automodule:: google.cloud.devtools.cloudbuild_v1.services.cloud_build
:members:
:inherited-members:


.. automodule:: google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers
:members:
:inherited-members:
6 changes: 3 additions & 3 deletions docs/cloudbuild_v1/services.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Services for Google Devtools Cloudbuild v1 API
==============================================
.. toctree::
:maxdepth: 2

.. automodule:: google.cloud.devtools.cloudbuild_v1.services.cloud_build
:members:
:inherited-members:
cloud_build
1 change: 1 addition & 0 deletions docs/cloudbuild_v1/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ Types for Google Devtools Cloudbuild v1 API

.. automodule:: google.cloud.devtools.cloudbuild_v1.types
:members:
:undoc-members:
:show-inheritance:
300 changes: 155 additions & 145 deletions google/cloud/devtools/cloudbuild_v1/services/cloud_build/async_client.py

Large diffs are not rendered by default.

359 changes: 192 additions & 167 deletions google/cloud/devtools/cloudbuild_v1/services/cloud_build/client.py

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions google/cloud/devtools/cloudbuild_v1/services/cloud_build/pagers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ListBuildsPager:
"""A pager for iterating through ``list_builds`` requests.
This class thinly wraps an initial
:class:`~.cloudbuild.ListBuildsResponse` object, and
:class:`google.cloud.devtools.cloudbuild_v1.types.ListBuildsResponse` object, and
provides an ``__iter__`` method to iterate through its
``builds`` field.
Expand All @@ -33,7 +33,7 @@ class ListBuildsPager:
through the ``builds`` field on the
corresponding responses.
All the usual :class:`~.cloudbuild.ListBuildsResponse`
All the usual :class:`google.cloud.devtools.cloudbuild_v1.types.ListBuildsResponse`
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:`~.cloudbuild.ListBuildsRequest`):
request (google.cloud.devtools.cloudbuild_v1.types.ListBuildsRequest):
The initial request object.
response (:class:`~.cloudbuild.ListBuildsResponse`):
response (google.cloud.devtools.cloudbuild_v1.types.ListBuildsResponse):
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 ListBuildsAsyncPager:
"""A pager for iterating through ``list_builds`` requests.
This class thinly wraps an initial
:class:`~.cloudbuild.ListBuildsResponse` object, and
:class:`google.cloud.devtools.cloudbuild_v1.types.ListBuildsResponse` object, and
provides an ``__aiter__`` method to iterate through its
``builds`` field.
Expand All @@ -95,7 +95,7 @@ class ListBuildsAsyncPager:
through the ``builds`` field on the
corresponding responses.
All the usual :class:`~.cloudbuild.ListBuildsResponse`
All the usual :class:`google.cloud.devtools.cloudbuild_v1.types.ListBuildsResponse`
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:`~.cloudbuild.ListBuildsRequest`):
request (google.cloud.devtools.cloudbuild_v1.types.ListBuildsRequest):
The initial request object.
response (:class:`~.cloudbuild.ListBuildsResponse`):
response (google.cloud.devtools.cloudbuild_v1.types.ListBuildsResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down Expand Up @@ -152,7 +152,7 @@ class ListBuildTriggersPager:
"""A pager for iterating through ``list_build_triggers`` requests.
This class thinly wraps an initial
:class:`~.cloudbuild.ListBuildTriggersResponse` object, and
:class:`google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersResponse` object, and
provides an ``__iter__`` method to iterate through its
``triggers`` field.
Expand All @@ -161,7 +161,7 @@ class ListBuildTriggersPager:
through the ``triggers`` field on the
corresponding responses.
All the usual :class:`~.cloudbuild.ListBuildTriggersResponse`
All the usual :class:`google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersResponse`
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 @@ -179,9 +179,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.cloudbuild.ListBuildTriggersRequest`):
request (google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersRequest):
The initial request object.
response (:class:`~.cloudbuild.ListBuildTriggersResponse`):
response (google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down Expand Up @@ -214,7 +214,7 @@ class ListBuildTriggersAsyncPager:
"""A pager for iterating through ``list_build_triggers`` requests.
This class thinly wraps an initial
:class:`~.cloudbuild.ListBuildTriggersResponse` object, and
:class:`google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersResponse` object, and
provides an ``__aiter__`` method to iterate through its
``triggers`` field.
Expand All @@ -223,7 +223,7 @@ class ListBuildTriggersAsyncPager:
through the ``triggers`` field on the
corresponding responses.
All the usual :class:`~.cloudbuild.ListBuildTriggersResponse`
All the usual :class:`google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersResponse`
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 @@ -241,9 +241,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.cloudbuild.ListBuildTriggersRequest`):
request (google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersRequest):
The initial request object.
response (:class:`~.cloudbuild.ListBuildTriggersResponse`):
response (google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down
Loading

0 comments on commit 2f52fa3

Please sign in to comment.