Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#231)
Browse files Browse the repository at this point in the history
* chore: use gapic-generator-python 0.63.4

chore: fix snippet region tag format
chore: fix docstring code block formatting
PiperOrigin-RevId: 430730865

Source-Link: googleapis/googleapis@ea58002

Source-Link: googleapis/googleapis-gen@ca893ff
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore: delete duplicates

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 25, 2022
1 parent db38b4e commit 4de7f4b
Show file tree
Hide file tree
Showing 39 changed files with 180 additions and 198 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ async def create_build(
build status (such as ``SUCCESS`` or ``FAILURE``).
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -376,7 +376,7 @@ async def get_build(
information.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -500,7 +500,7 @@ async def list_builds(
may have finished successfully or unsuccessfully.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -610,7 +610,7 @@ async def cancel_build(
) -> cloudbuild.Build:
r"""Cancels a build in progress.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -751,7 +751,7 @@ async def retry_build(
settings.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -885,7 +885,7 @@ async def approve_build(
If rejected, the returned LRO will be immediately done.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1023,7 +1023,7 @@ async def create_build_trigger(
This API is experimental.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1123,7 +1123,7 @@ async def get_build_trigger(
This API is experimental.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1231,7 +1231,7 @@ async def list_build_triggers(
This API is experimental.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1338,7 +1338,7 @@ async def delete_build_trigger(
This API is experimental.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1434,7 +1434,7 @@ async def update_build_trigger(
This API is experimental.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1540,7 +1540,7 @@ async def run_build_trigger(
) -> operation_async.AsyncOperation:
r"""Runs a ``BuildTrigger`` at a particular source revision.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1675,7 +1675,7 @@ async def receive_trigger_webhook(
receives a webhook request targeted at a specific trigger.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1740,7 +1740,7 @@ async def create_worker_pool(
) -> operation_async.AsyncOperation:
r"""Creates a ``WorkerPool``.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1881,7 +1881,7 @@ async def get_worker_pool(
) -> cloudbuild.WorkerPool:
r"""Returns details of a ``WorkerPool``.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1995,7 +1995,7 @@ async def delete_worker_pool(
) -> operation_async.AsyncOperation:
r"""Deletes a ``WorkerPool``.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -2111,7 +2111,7 @@ async def update_worker_pool(
) -> operation_async.AsyncOperation:
r"""Updates a ``WorkerPool``.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -2242,7 +2242,7 @@ async def list_worker_pools(
) -> pagers.ListWorkerPoolsAsyncPager:
r"""Lists ``WorkerPool``\ s.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,7 @@ def create_build(
build status (such as ``SUCCESS`` or ``FAILURE``).
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -673,8 +672,7 @@ def get_build(
information.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -788,8 +786,7 @@ def list_builds(
may have finished successfully or unsuccessfully.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -889,8 +886,7 @@ def cancel_build(
) -> cloudbuild.Build:
r"""Cancels a build in progress.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1031,8 +1027,7 @@ def retry_build(
settings.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1166,8 +1161,7 @@ def approve_build(
If rejected, the returned LRO will be immediately done.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1305,8 +1299,7 @@ def create_build_trigger(
This API is experimental.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1406,8 +1399,7 @@ def get_build_trigger(
This API is experimental.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1505,8 +1497,7 @@ def list_build_triggers(
This API is experimental.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1603,8 +1594,7 @@ def delete_build_trigger(
This API is experimental.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1690,8 +1680,7 @@ def update_build_trigger(
This API is experimental.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1797,8 +1786,7 @@ def run_build_trigger(
) -> operation.Operation:
r"""Runs a ``BuildTrigger`` at a particular source revision.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -1933,8 +1921,7 @@ def receive_trigger_webhook(
receives a webhook request targeted at a specific trigger.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -2000,8 +1987,7 @@ def create_worker_pool(
) -> operation.Operation:
r"""Creates a ``WorkerPool``.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -2142,8 +2128,7 @@ def get_worker_pool(
) -> cloudbuild.WorkerPool:
r"""Returns details of a ``WorkerPool``.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -2247,8 +2232,7 @@ def delete_worker_pool(
) -> operation.Operation:
r"""Deletes a ``WorkerPool``.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -2364,8 +2348,7 @@ def update_worker_pool(
) -> operation.Operation:
r"""Updates a ``WorkerPool``.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down Expand Up @@ -2496,8 +2479,7 @@ def list_worker_pools(
) -> pagers.ListWorkerPoolsPager:
r"""Lists ``WorkerPool``\ s.
.. code-block::
.. code-block:: python
from google.cloud.devtools import cloudbuild_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-build


# [START cloudbuild_generated_cloudbuild_v1_CloudBuild_ApproveBuild_async]
# [START cloudbuild_v1_generated_CloudBuild_ApproveBuild_async]
from google.cloud.devtools import cloudbuild_v1


Expand All @@ -46,4 +46,4 @@ async def sample_approve_build():
# Handle the response
print(response)

# [END cloudbuild_generated_cloudbuild_v1_CloudBuild_ApproveBuild_async]
# [END cloudbuild_v1_generated_CloudBuild_ApproveBuild_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-build


# [START cloudbuild_generated_cloudbuild_v1_CloudBuild_ApproveBuild_sync]
# [START cloudbuild_v1_generated_CloudBuild_ApproveBuild_sync]
from google.cloud.devtools import cloudbuild_v1


Expand All @@ -46,4 +46,4 @@ def sample_approve_build():
# Handle the response
print(response)

# [END cloudbuild_generated_cloudbuild_v1_CloudBuild_ApproveBuild_sync]
# [END cloudbuild_v1_generated_CloudBuild_ApproveBuild_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-build


# [START cloudbuild_generated_cloudbuild_v1_CloudBuild_CancelBuild_async]
# [START cloudbuild_v1_generated_CloudBuild_CancelBuild_async]
from google.cloud.devtools import cloudbuild_v1


Expand All @@ -43,4 +43,4 @@ async def sample_cancel_build():
# Handle the response
print(response)

# [END cloudbuild_generated_cloudbuild_v1_CloudBuild_CancelBuild_async]
# [END cloudbuild_v1_generated_CloudBuild_CancelBuild_async]
Loading

0 comments on commit 4de7f4b

Please sign in to comment.