diff --git a/clients/google-api-services-containeranalysis/v1/2.0.0/README.md b/clients/google-api-services-containeranalysis/v1/2.0.0/README.md
index 15d49c3f2dd..6549d4ed5f6 100644
--- a/clients/google-api-services-containeranalysis/v1/2.0.0/README.md
+++ b/clients/google-api-services-containeranalysis/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 Container Analysis 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 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage 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 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage 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 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage 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 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage 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 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage 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 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage setTotalCpuDuration(String totalCpuDuration) { + this.totalCpuDuration = totalCpuDuration; + return this; + } + + @Override + public ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage set(String fieldName, Object value) { + return (ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage) super.set(fieldName, value); + } + + @Override + public ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage clone() { + return (ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage) super.clone(); + } + +} diff --git a/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/ContaineranalysisGoogleDevtoolsCloudbuildV1Results.java b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/ContaineranalysisGoogleDevtoolsCloudbuildV1Results.java index c4e881499ac..457f2bf3283 100644 --- a/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/ContaineranalysisGoogleDevtoolsCloudbuildV1Results.java +++ b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/ContaineranalysisGoogleDevtoolsCloudbuildV1Results.java @@ -131,6 +131,13 @@ public final class ContaineranalysisGoogleDevtoolsCloudbuildV1Results extends co @com.google.api.client.util.Key private java.util.List