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

Commit d94aabd

Browse files
feat: Add routing information in Cloud Build GRPC clients (#419)
* feat: Add routing information in Cloud Build GRPC clients PiperOrigin-RevId: 547283196 Source-Link: googleapis/googleapis@64d54ff Source-Link: https://github.com/googleapis/googleapis-gen/commit/1de18221109b4a025c0b2e8c25324cb01b6df626 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWRlMTgyMjExMDliNGEwMjVjMGIyZThjMjUzMjRjYjAxYjZkZjYyNiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix: Revert breaking change of main pattern PiperOrigin-RevId: 547506413 Source-Link: googleapis/googleapis@8080bbe Source-Link: https://github.com/googleapis/googleapis-gen/commit/ac98388bb832dbebc0bcd6b7480010573c0bbdc4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWM5ODM4OGJiODMyZGJlYmMwYmNkNmI3NDgwMDEwNTczYzBiYmRjNCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 80b97b0 commit d94aabd

File tree

6 files changed

+400
-891
lines changed

6 files changed

+400
-891
lines changed

google/cloud/devtools/cloudbuild_v1/services/cloud_build/async_client.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ async def retry_build(
842842
843843
For builds that specify ``StorageSource``:
844844
845-
- If the original build pulled source from Google Cloud Storage
845+
- If the original build pulled source from Cloud Storage
846846
without specifying the generation of the object, the new
847847
build will use the current object, which may be different
848848
from the original build source.
@@ -1778,6 +1778,12 @@ async def run_build_trigger(
17781778
) -> operation_async.AsyncOperation:
17791779
r"""Runs a ``BuildTrigger`` at a particular source revision.
17801780
1781+
To run a regional or global trigger, use the POST request that
1782+
includes the location endpoint in the path (ex.
1783+
v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run).
1784+
The POST request that does not include the location endpoint in
1785+
the path can only be used when running global triggers.
1786+
17811787
.. code-block:: python
17821788
17831789
# This snippet has been automatically generated and should be regarded as a
@@ -1825,6 +1831,9 @@ async def sample_run_build_trigger():
18251831
should not be set.
18261832
source (:class:`google.cloud.devtools.cloudbuild_v1.types.RepoSource`):
18271833
Source to build against this trigger.
1834+
Branch and tag names cannot consist of
1835+
regular expressions.
1836+
18281837
This corresponds to the ``source`` field
18291838
on the ``request`` instance; if ``request`` is provided, this
18301839
should not be set.

0 commit comments

Comments
 (0)