From 42e75022108a5d952621d4c6eb180e3dabfb67ab Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Fri, 30 Oct 2026 17:53:19 -0700 Subject: [PATCH] chore: regenerate cloudbuild client --- .../v1/2.0.0/README.md | 4 +- .../services/cloudbuild/v1/CloudBuild.java | 110 ++++++++++++++---- .../cloudbuild/v1/model/BuildOptions.java | 33 ++++++ .../cloudbuild/v1/model/WorkerConfig.java | 30 +++++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- 6 files changed, 155 insertions(+), 30 deletions(-) diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/README.md b/clients/google-api-services-cloudbuild/v1/2.0.0/README.md index ac76b7e66c3..8d7d26802bc 100644 --- a/clients/google-api-services-cloudbuild/v1/2.0.0/README.md +++ b/clients/google-api-services-cloudbuild/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-cloudbuild - v1-rev20261010-2.9.2 + v1-rev20261025-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20261010-2.9.2' + implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20261025-2.9.2' } ``` diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/CloudBuild.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/CloudBuild.java index 9b6afd3f0a2..82c34411016 100644 --- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/CloudBuild.java +++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/CloudBuild.java @@ -804,7 +804,9 @@ public class Builds { /** * Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will * be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be - * immediately done. + * immediately done. Note: This method only approves or rejects builds in the "global" region when + * using the legacy resource path projects/{project_id}/builds/{id}:approve. For all regions, use + * the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:approve`. * * Create a request for the method "builds.approve". * @@ -831,7 +833,10 @@ public class Approve extends CloudBuildRequest rankedMachineSeries; + /** * Requested verifiability options. * The value may be {@code null}. @@ -394,6 +404,29 @@ public BuildOptions setPubsubTopic(java.lang.String pubsubTopic) { return this; } + /** + * Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when + * provisioning Worker VMs. A concrete machine type will be selected based on machine availability + * in the given region. This field must be empty for the Build to be eligible to be paired with a + * pre-provisioned worker VM. + * @return value or {@code null} for none + */ + public java.util.List getRankedMachineSeries() { + return rankedMachineSeries; + } + + /** + * Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when + * provisioning Worker VMs. A concrete machine type will be selected based on machine availability + * in the given region. This field must be empty for the Build to be eligible to be paired with a + * pre-provisioned worker VM. + * @param rankedMachineSeries rankedMachineSeries or {@code null} for none + */ + public BuildOptions setRankedMachineSeries(java.util.List rankedMachineSeries) { + this.rankedMachineSeries = rankedMachineSeries; + return this; + } + /** * Requested verifiability options. * @return value or {@code null} for none diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/WorkerConfig.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/WorkerConfig.java index c6a7707819f..7d869cfb409 100644 --- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/WorkerConfig.java +++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/WorkerConfig.java @@ -55,6 +55,15 @@ public final class WorkerConfig extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String machineType; + /** + * Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when + * provisioning Worker VMs. A concrete machine type will be selected based on machine availability + * in the given region. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List rankedMachineSeries; + /** * Optional. Option to specify which release or release channel (rapid|regular|stable) to use to * run this build. @@ -124,6 +133,27 @@ public WorkerConfig setMachineType(java.lang.String machineType) { return this; } + /** + * Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when + * provisioning Worker VMs. A concrete machine type will be selected based on machine availability + * in the given region. + * @return value or {@code null} for none + */ + public java.util.List getRankedMachineSeries() { + return rankedMachineSeries; + } + + /** + * Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when + * provisioning Worker VMs. A concrete machine type will be selected based on machine availability + * in the given region. + * @param rankedMachineSeries rankedMachineSeries or {@code null} for none + */ + public WorkerConfig setRankedMachineSeries(java.util.List rankedMachineSeries) { + this.rankedMachineSeries = rankedMachineSeries; + return this; + } + /** * Optional. Option to specify which release or release channel (rapid|regular|stable) to use to * run this build. diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/pom.xml b/clients/google-api-services-cloudbuild/v1/2.0.0/pom.xml index b77a07c6d80..9f4789d8362 100644 --- a/clients/google-api-services-cloudbuild/v1/2.0.0/pom.xml +++ b/clients/google-api-services-cloudbuild/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-cloudbuild - v1-rev20261010-2.9.2 - Cloud Build API v1-rev20261010-2.9.2 + v1-rev20261025-2.9.2 + Cloud Build API v1-rev20261025-2.9.2 jar 2011 diff --git a/clients/google-api-services-cloudbuild/v1/README.md b/clients/google-api-services-cloudbuild/v1/README.md index ac76b7e66c3..8d7d26802bc 100644 --- a/clients/google-api-services-cloudbuild/v1/README.md +++ b/clients/google-api-services-cloudbuild/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-cloudbuild - v1-rev20261010-2.9.2 + v1-rev20261025-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20261010-2.9.2' + implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20261025-2.9.2' } ```