diff --git a/clients/google-api-services-run/v1/2.0.0/README.md b/clients/google-api-services-run/v1/2.0.0/README.md index 9e0e9965052..c65cc3e4cbf 100644 --- a/clients/google-api-services-run/v1/2.0.0/README.md +++ b/clients/google-api-services-run/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-run - v1-rev20260925-2.0.0 + v1-rev20261002-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-run:v1-rev20260925-2.0.0' + implementation 'com.google.apis:google-api-services-run:v1-rev20261002-2.0.0' } ``` diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1BuildResourceUsage.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1BuildResourceUsage.java new file mode 100644 index 00000000000..f0a7a5b356b --- /dev/null +++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1BuildResourceUsage.java @@ -0,0 +1,174 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.run.v1.model; + +/** + * Aggregated/summary metrics over the entire build lifecycle. + * + *

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 Run Admin 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage setTotalCpuDuration(String totalCpuDuration) { + this.totalCpuDuration = totalCpuDuration; + return this; + } + + @Override + public GoogleDevtoolsCloudbuildV1BuildResourceUsage set(String fieldName, Object value) { + return (GoogleDevtoolsCloudbuildV1BuildResourceUsage) super.set(fieldName, value); + } + + @Override + public GoogleDevtoolsCloudbuildV1BuildResourceUsage clone() { + return (GoogleDevtoolsCloudbuildV1BuildResourceUsage) super.clone(); + } + +} diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1GenericArtifactDependency.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1GenericArtifactDependency.java index 16d34da34a9..937e3d9a433 100644 --- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1GenericArtifactDependency.java +++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1GenericArtifactDependency.java @@ -30,7 +30,8 @@ public final class GoogleDevtoolsCloudbuildV1GenericArtifactDependency 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 GoogleDevtoolsCloudbuildV1GenericArtifactDependency extends c 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 GoogleDevtoolsCloudbuildV1GenericArtifactDependency setDestPath(java.lang.String destPath) { diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Results.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Results.java index 2e41b9a09a1..4a262ae40de 100644 --- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Results.java +++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Results.java @@ -130,6 +130,13 @@ public final class GoogleDevtoolsCloudbuildV1Results extends com.google.api.clie @com.google.api.client.util.Key private java.util.List pythonPackages; + /** + * Output only. Aggregated metrics for the build. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleDevtoolsCloudbuildV1BuildResourceUsage resourceUsage; + /** * Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only * populated when artifacts are uploaded to Cloud Storage. @@ -344,6 +351,23 @@ public GoogleDevtoolsCloudbuildV1Results setPythonPackages(java.util.Listcom.google.apis google-api-services-run - v1-rev20260925-2.0.0 - Cloud Run Admin API v1-rev20260925-2.0.0 + v1-rev20261002-2.0.0 + Cloud Run Admin API v1-rev20261002-2.0.0 jar 2011 diff --git a/clients/google-api-services-run/v1/README.md b/clients/google-api-services-run/v1/README.md index 9e0e9965052..c65cc3e4cbf 100644 --- a/clients/google-api-services-run/v1/README.md +++ b/clients/google-api-services-run/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-run - v1-rev20260925-2.0.0 + v1-rev20261002-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-run:v1-rev20260925-2.0.0' + implementation 'com.google.apis:google-api-services-run:v1-rev20261002-2.0.0' } ``` diff --git a/clients/google-api-services-run/v2/2.0.0/README.md b/clients/google-api-services-run/v2/2.0.0/README.md index f08fb997c4a..55d150d52d0 100644 --- a/clients/google-api-services-run/v2/2.0.0/README.md +++ b/clients/google-api-services-run/v2/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-run - v2-rev20260917-2.0.0 + v2-rev20261002-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-run:v2-rev20260917-2.0.0' + implementation 'com.google.apis:google-api-services-run:v2-rev20261002-2.0.0' } ``` diff --git a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1BuildResourceUsage.java b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1BuildResourceUsage.java new file mode 100644 index 00000000000..d6ae2c7587d --- /dev/null +++ b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1BuildResourceUsage.java @@ -0,0 +1,174 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.run.v2.model; + +/** + * Aggregated/summary metrics over the entire build lifecycle. + * + *

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 Run Admin 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage 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 GoogleDevtoolsCloudbuildV1BuildResourceUsage setTotalCpuDuration(String totalCpuDuration) { + this.totalCpuDuration = totalCpuDuration; + return this; + } + + @Override + public GoogleDevtoolsCloudbuildV1BuildResourceUsage set(String fieldName, Object value) { + return (GoogleDevtoolsCloudbuildV1BuildResourceUsage) super.set(fieldName, value); + } + + @Override + public GoogleDevtoolsCloudbuildV1BuildResourceUsage clone() { + return (GoogleDevtoolsCloudbuildV1BuildResourceUsage) super.clone(); + } + +} diff --git a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1GenericArtifactDependency.java b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1GenericArtifactDependency.java index 1ba57be5f6d..fecb8826d55 100644 --- a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1GenericArtifactDependency.java +++ b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1GenericArtifactDependency.java @@ -30,7 +30,8 @@ public final class GoogleDevtoolsCloudbuildV1GenericArtifactDependency 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 GoogleDevtoolsCloudbuildV1GenericArtifactDependency extends c 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 GoogleDevtoolsCloudbuildV1GenericArtifactDependency setDestPath(java.lang.String destPath) { diff --git a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1Results.java b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1Results.java index fb9317f5442..0a8ec77a027 100644 --- a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1Results.java +++ b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1Results.java @@ -130,6 +130,13 @@ public final class GoogleDevtoolsCloudbuildV1Results extends com.google.api.clie @com.google.api.client.util.Key private java.util.List pythonPackages; + /** + * Output only. Aggregated metrics for the build. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleDevtoolsCloudbuildV1BuildResourceUsage resourceUsage; + /** * Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only * populated when artifacts are uploaded to Cloud Storage. @@ -344,6 +351,23 @@ public GoogleDevtoolsCloudbuildV1Results setPythonPackages(java.util.Listcom.google.apis google-api-services-run - v2-rev20260917-2.0.0 - Cloud Run Admin API v2-rev20260917-2.0.0 + v2-rev20261002-2.0.0 + Cloud Run Admin API v2-rev20261002-2.0.0 jar 2011 diff --git a/clients/google-api-services-run/v2/README.md b/clients/google-api-services-run/v2/README.md index f08fb997c4a..55d150d52d0 100644 --- a/clients/google-api-services-run/v2/README.md +++ b/clients/google-api-services-run/v2/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-run - v2-rev20260917-2.0.0 + v2-rev20261002-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-run:v2-rev20260917-2.0.0' + implementation 'com.google.apis:google-api-services-run:v2-rev20261002-2.0.0' } ```