feat: [cloudbuild] Add routing information in Cloud Build GRPC clients by gcf-owl-bot[bot] · Pull Request #9635 · googleapis/google-cloud-java · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions java-cloudbuild/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -734,9 +734,9 @@ public final UnaryCallable<CancelBuildRequest, Build> cancelBuildCallable() {
* <p>For builds that specify `StorageSource`:
*
* <ul>
* <li>If the original build pulled source from Google 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.
* <li>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.
* <li>If the original build pulled source from Cloud Storage and specified the generation of
* the object, the new build will attempt to use the same object, which may or may not be
* available depending on the bucket's lifecycle management settings.
Expand Down Expand Up @@ -794,9 +794,9 @@ public final OperationFuture<Build, BuildOperationMetadata> retryBuildAsync(
* <p>For builds that specify `StorageSource`:
*
* <ul>
* <li>If the original build pulled source from Google 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.
* <li>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.
* <li>If the original build pulled source from Cloud Storage and specified the generation of
* the object, the new build will attempt to use the same object, which may or may not be
* available depending on the bucket's lifecycle management settings.
Expand Down Expand Up @@ -855,9 +855,9 @@ public final OperationFuture<Build, BuildOperationMetadata> retryBuildAsync(
* <p>For builds that specify `StorageSource`:
*
* <ul>
* <li>If the original build pulled source from Google 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.
* <li>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.
* <li>If the original build pulled source from Cloud Storage and specified the generation of
* the object, the new build will attempt to use the same object, which may or may not be
* available depending on the bucket's lifecycle management settings.
Expand Down Expand Up @@ -916,9 +916,9 @@ public final OperationFuture<Build, BuildOperationMetadata> retryBuildAsync(
* <p>For builds that specify `StorageSource`:
*
* <ul>
* <li>If the original build pulled source from Google 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.
* <li>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.
* <li>If the original build pulled source from Cloud Storage and specified the generation of
* the object, the new build will attempt to use the same object, which may or may not be
* available depending on the bucket's lifecycle management settings.
Expand Down Expand Up @@ -1622,6 +1622,11 @@ public final UnaryCallable<UpdateBuildTriggerRequest, BuildTrigger> updateBuildT
/**
* Runs a `BuildTrigger` at a particular source revision.
*
* <p>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.
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -1640,7 +1645,8 @@ public final UnaryCallable<UpdateBuildTriggerRequest, BuildTrigger> updateBuildT
*
* @param projectId Required. ID of the project.
* @param triggerId Required. ID of the trigger.
* @param source Source to build against this trigger.
* @param source Source to build against this trigger. Branch and tag names cannot consist of
* regular expressions.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final OperationFuture<Build, BuildOperationMetadata> runBuildTriggerAsync(
Expand All @@ -1658,6 +1664,11 @@ public final OperationFuture<Build, BuildOperationMetadata> runBuildTriggerAsync
/**
* Runs a `BuildTrigger` at a particular source revision.
*
* <p>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.
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -1690,6 +1701,11 @@ public final OperationFuture<Build, BuildOperationMetadata> runBuildTriggerAsync
/**
* Runs a `BuildTrigger` at a particular source revision.
*
* <p>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.
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -1722,6 +1738,11 @@ public final OperationFuture<Build, BuildOperationMetadata> runBuildTriggerAsync
/**
* Runs a `BuildTrigger` at a particular source revision.
*
* <p>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.
*
* <p>Sample code:
*
* <pre>{@code
Expand Down
Loading