From 7cf2df2283f10155db286b727ccc76fb8bc8175b Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Sat, 17 Oct 2026 18:17:27 -0700
Subject: [PATCH] chore: regenerate cloudbuild client
---
.../v1/2.0.0/README.md | 4 +-
.../v1/model/BuildResourceUsage.java | 174 ++++++++++++++++++
.../v1/model/GenericArtifactDependency.java | 9 +-
.../services/cloudbuild/v1/model/Results.java | 24 +++
.../v1/2.0.0/pom.xml | 4 +-
.../v1/README.md | 4 +-
6 files changed, 210 insertions(+), 9 deletions(-)
create mode 100644 clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BuildResourceUsage.java
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 7af08776956..475a6b1e387 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:
This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Cloud Build API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class BuildResourceUsage extends com.google.api.client.json.GenericJson { + + /** + * Output only. The average CPU utilization ratio across all vCPUs over the duration of the build, + * expressed as a fraction in the range [0.0, 1.0]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float averageCpuUtilization; + + /** + * Output only. The average memory utilization ratio over the duration of the build, expressed as + * a fraction in the range [0.0, 1.0]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float averageMemoryUtilization; + + /** + * Output only. The highest CPU utilization ratio across all vCPUs observed over the duration of + * the build, expressed as a fraction in the range [0.0, 1.0]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float peakCpuUtilization; + + /** + * Output only. The highest memory utilization ratio observed over the duration of the build, + * expressed as a fraction in the range [0.0, 1.0]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float peakMemoryUtilization; + + /** + * Output only. Total CPU execution time consumed across all cores during build execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String totalCpuDuration; + + /** + * Output only. The average CPU utilization ratio across all vCPUs over the duration of the build, + * expressed as a fraction in the range [0.0, 1.0]. + * @return value or {@code null} for none + */ + public java.lang.Float getAverageCpuUtilization() { + return averageCpuUtilization; + } + + /** + * Output only. The average CPU utilization ratio across all vCPUs over the duration of the build, + * expressed as a fraction in the range [0.0, 1.0]. + * @param averageCpuUtilization averageCpuUtilization or {@code null} for none + */ + public BuildResourceUsage setAverageCpuUtilization(java.lang.Float averageCpuUtilization) { + this.averageCpuUtilization = averageCpuUtilization; + return this; + } + + /** + * Output only. The average memory utilization ratio over the duration of the build, expressed as + * a fraction in the range [0.0, 1.0]. + * @return value or {@code null} for none + */ + public java.lang.Float getAverageMemoryUtilization() { + return averageMemoryUtilization; + } + + /** + * Output only. The average memory utilization ratio over the duration of the build, expressed as + * a fraction in the range [0.0, 1.0]. + * @param averageMemoryUtilization averageMemoryUtilization or {@code null} for none + */ + public BuildResourceUsage setAverageMemoryUtilization(java.lang.Float averageMemoryUtilization) { + this.averageMemoryUtilization = averageMemoryUtilization; + return this; + } + + /** + * Output only. The highest CPU utilization ratio across all vCPUs observed over the duration of + * the build, expressed as a fraction in the range [0.0, 1.0]. + * @return value or {@code null} for none + */ + public java.lang.Float getPeakCpuUtilization() { + return peakCpuUtilization; + } + + /** + * Output only. The highest CPU utilization ratio across all vCPUs observed over the duration of + * the build, expressed as a fraction in the range [0.0, 1.0]. + * @param peakCpuUtilization peakCpuUtilization or {@code null} for none + */ + public BuildResourceUsage setPeakCpuUtilization(java.lang.Float peakCpuUtilization) { + this.peakCpuUtilization = peakCpuUtilization; + return this; + } + + /** + * Output only. The highest memory utilization ratio observed over the duration of the build, + * expressed as a fraction in the range [0.0, 1.0]. + * @return value or {@code null} for none + */ + public java.lang.Float getPeakMemoryUtilization() { + return peakMemoryUtilization; + } + + /** + * Output only. The highest memory utilization ratio observed over the duration of the build, + * expressed as a fraction in the range [0.0, 1.0]. + * @param peakMemoryUtilization peakMemoryUtilization or {@code null} for none + */ + public BuildResourceUsage setPeakMemoryUtilization(java.lang.Float peakMemoryUtilization) { + this.peakMemoryUtilization = peakMemoryUtilization; + return this; + } + + /** + * Output only. Total CPU execution time consumed across all cores during build execution. + * @return value or {@code null} for none + */ + public String getTotalCpuDuration() { + return totalCpuDuration; + } + + /** + * Output only. Total CPU execution time consumed across all cores during build execution. + * @param totalCpuDuration totalCpuDuration or {@code null} for none + */ + public BuildResourceUsage setTotalCpuDuration(String totalCpuDuration) { + this.totalCpuDuration = totalCpuDuration; + return this; + } + + @Override + public BuildResourceUsage set(String fieldName, Object value) { + return (BuildResourceUsage) super.set(fieldName, value); + } + + @Override + public BuildResourceUsage clone() { + return (BuildResourceUsage) super.clone(); + } + +} diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GenericArtifactDependency.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GenericArtifactDependency.java index ee16faf1bc7..1e759d72011 100644 --- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GenericArtifactDependency.java +++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GenericArtifactDependency.java @@ -30,7 +30,8 @@ public final class GenericArtifactDependency extends com.google.api.client.json.GenericJson { /** - * Required. Where the artifact files should be placed on the worker. + * Optional. Where the artifact files should be placed on the worker. Required when specified in + * `Build.dependencies`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -45,7 +46,8 @@ public final class GenericArtifactDependency extends com.google.api.client.json. private java.lang.String resource; /** - * Required. Where the artifact files should be placed on the worker. + * Optional. Where the artifact files should be placed on the worker. Required when specified in + * `Build.dependencies`. * @return value or {@code null} for none */ public java.lang.String getDestPath() { @@ -53,7 +55,8 @@ public java.lang.String getDestPath() { } /** - * Required. Where the artifact files should be placed on the worker. + * Optional. Where the artifact files should be placed on the worker. Required when specified in + * `Build.dependencies`. * @param destPath destPath or {@code null} for none */ public GenericArtifactDependency setDestPath(java.lang.String destPath) { diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Results.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Results.java index b22f5b3ab14..100291579ac 100644 --- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Results.java +++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Results.java @@ -130,6 +130,13 @@ public final class Results extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.List