Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ async def retry_build(

For builds that specify ``StorageSource``:

- If the original build pulled source from Google Cloud Storage
- If the original build pulled source from Cloud Storage
without specifying the generation of the object, the new
build will use the current object, which may be different
from the original build source.
Expand Down Expand Up @@ -1778,6 +1778,12 @@ async def run_build_trigger(
) -> operation_async.AsyncOperation:
r"""Runs a ``BuildTrigger`` at a particular source revision.

To run a regional or global trigger, use the POST request that
includes the location endpoint in the path (ex.
v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run).
The POST request that does not include the location endpoint in
the path can only be used when running global triggers.

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
Expand Down Expand Up @@ -1825,6 +1831,9 @@ async def sample_run_build_trigger():
should not be set.
source (:class:`google.cloud.devtools.cloudbuild_v1.types.RepoSource`):
Source to build against this trigger.
Branch and tag names cannot consist of
regular expressions.

This corresponds to the ``source`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
Expand Down
Loading