You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildClient.java
+34-13Lines changed: 34 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -734,9 +734,9 @@ public final UnaryCallable<CancelBuildRequest, Build> cancelBuildCallable() {
734
734
* <p>For builds that specify `StorageSource`:
735
735
*
736
736
* <ul>
737
-
* <li>If the original build pulled source from Google Cloud Storage without specifying the
738
-
* generation of the object, the new build will use the current object, which may be
739
-
* different from the original build source.
737
+
* <li>If the original build pulled source from Cloud Storage without specifying the generation
738
+
* of the object, the new build will use the current object, which may be different from the
739
+
* original build source.
740
740
* <li>If the original build pulled source from Cloud Storage and specified the generation of
741
741
* the object, the new build will attempt to use the same object, which may or may not be
742
742
* available depending on the bucket's lifecycle management settings.
@@ -794,9 +794,9 @@ public final OperationFuture<Build, BuildOperationMetadata> retryBuildAsync(
794
794
* <p>For builds that specify `StorageSource`:
795
795
*
796
796
* <ul>
797
-
* <li>If the original build pulled source from Google Cloud Storage without specifying the
798
-
* generation of the object, the new build will use the current object, which may be
799
-
* different from the original build source.
797
+
* <li>If the original build pulled source from Cloud Storage without specifying the generation
798
+
* of the object, the new build will use the current object, which may be different from the
799
+
* original build source.
800
800
* <li>If the original build pulled source from Cloud Storage and specified the generation of
801
801
* the object, the new build will attempt to use the same object, which may or may not be
802
802
* available depending on the bucket's lifecycle management settings.
@@ -855,9 +855,9 @@ public final OperationFuture<Build, BuildOperationMetadata> retryBuildAsync(
855
855
* <p>For builds that specify `StorageSource`:
856
856
*
857
857
* <ul>
858
-
* <li>If the original build pulled source from Google Cloud Storage without specifying the
859
-
* generation of the object, the new build will use the current object, which may be
860
-
* different from the original build source.
858
+
* <li>If the original build pulled source from Cloud Storage without specifying the generation
859
+
* of the object, the new build will use the current object, which may be different from the
860
+
* original build source.
861
861
* <li>If the original build pulled source from Cloud Storage and specified the generation of
862
862
* the object, the new build will attempt to use the same object, which may or may not be
863
863
* available depending on the bucket's lifecycle management settings.
@@ -916,9 +916,9 @@ public final OperationFuture<Build, BuildOperationMetadata> retryBuildAsync(
916
916
* <p>For builds that specify `StorageSource`:
917
917
*
918
918
* <ul>
919
-
* <li>If the original build pulled source from Google Cloud Storage without specifying the
920
-
* generation of the object, the new build will use the current object, which may be
921
-
* different from the original build source.
919
+
* <li>If the original build pulled source from Cloud Storage without specifying the generation
920
+
* of the object, the new build will use the current object, which may be different from the
921
+
* original build source.
922
922
* <li>If the original build pulled source from Cloud Storage and specified the generation of
923
923
* the object, the new build will attempt to use the same object, which may or may not be
924
924
* available depending on the bucket's lifecycle management settings.
@@ -1622,6 +1622,11 @@ public final UnaryCallable<UpdateBuildTriggerRequest, BuildTrigger> updateBuildT
1622
1622
/**
1623
1623
* Runs a `BuildTrigger` at a particular source revision.
1624
1624
*
1625
+
* <p>To run a regional or global trigger, use the POST request that includes the location
1626
+
* endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run).
1627
+
* The POST request that does not include the location endpoint in the path can only be used when
1628
+
* running global triggers.
1629
+
*
1625
1630
* <p>Sample code:
1626
1631
*
1627
1632
* <pre>{@code
@@ -1640,7 +1645,8 @@ public final UnaryCallable<UpdateBuildTriggerRequest, BuildTrigger> updateBuildT
1640
1645
*
1641
1646
* @param projectId Required. ID of the project.
1642
1647
* @param triggerId Required. ID of the trigger.
1643
-
* @param source Source to build against this trigger.
1648
+
* @param source Source to build against this trigger. Branch and tag names cannot consist of
1649
+
* regular expressions.
1644
1650
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Copy file name to clipboardExpand all lines: java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/GrpcCloudBuildStub.java
0 commit comments