Skip to content

Commit b093074

Browse files
1 parent d888b17 commit b093074

10 files changed

Lines changed: 410 additions & 12 deletions

File tree

‎clients/google-api-services-containeranalysis/v1alpha1/2.0.0/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-containeranalysis</artifactId>
25-
<version>v1alpha1-rev20260918-2.0.0</version>
25+
<version>v1alpha1-rev20260929-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-containeranalysis:v1alpha1-rev20260918-2.0.0'
38+
implementation 'com.google.apis:google-api-services-containeranalysis:v1alpha1-rev20260929-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.containeranalysis.v1alpha1.model;
18+
19+
/**
20+
* Aggregated/summary metrics over the entire build lifecycle.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Container Analysis API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The average CPU utilization ratio across all vCPUs over the duration of the build,
35+
* expressed as a fraction in the range [0.0, 1.0].
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Float averageCpuUtilization;
40+
41+
/**
42+
* Output only. The average memory utilization ratio over the duration of the build, expressed as
43+
* a fraction in the range [0.0, 1.0].
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.Float averageMemoryUtilization;
48+
49+
/**
50+
* Output only. The highest CPU utilization ratio across all vCPUs observed over the duration of
51+
* the build, expressed as a fraction in the range [0.0, 1.0].
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.Float peakCpuUtilization;
56+
57+
/**
58+
* Output only. The highest memory utilization ratio observed over the duration of the build,
59+
* expressed as a fraction in the range [0.0, 1.0].
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private java.lang.Float peakMemoryUtilization;
64+
65+
/**
66+
* Output only. Total CPU execution time consumed across all cores during build execution.
67+
* The value may be {@code null}.
68+
*/
69+
@com.google.api.client.util.Key
70+
private String totalCpuDuration;
71+
72+
/**
73+
* Output only. The average CPU utilization ratio across all vCPUs over the duration of the build,
74+
* expressed as a fraction in the range [0.0, 1.0].
75+
* @return value or {@code null} for none
76+
*/
77+
public java.lang.Float getAverageCpuUtilization() {
78+
return averageCpuUtilization;
79+
}
80+
81+
/**
82+
* Output only. The average CPU utilization ratio across all vCPUs over the duration of the build,
83+
* expressed as a fraction in the range [0.0, 1.0].
84+
* @param averageCpuUtilization averageCpuUtilization or {@code null} for none
85+
*/
86+
public ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage setAverageCpuUtilization(java.lang.Float averageCpuUtilization) {
87+
this.averageCpuUtilization = averageCpuUtilization;
88+
return this;
89+
}
90+
91+
/**
92+
* Output only. The average memory utilization ratio over the duration of the build, expressed as
93+
* a fraction in the range [0.0, 1.0].
94+
* @return value or {@code null} for none
95+
*/
96+
public java.lang.Float getAverageMemoryUtilization() {
97+
return averageMemoryUtilization;
98+
}
99+
100+
/**
101+
* Output only. The average memory utilization ratio over the duration of the build, expressed as
102+
* a fraction in the range [0.0, 1.0].
103+
* @param averageMemoryUtilization averageMemoryUtilization or {@code null} for none
104+
*/
105+
public ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage setAverageMemoryUtilization(java.lang.Float averageMemoryUtilization) {
106+
this.averageMemoryUtilization = averageMemoryUtilization;
107+
return this;
108+
}
109+
110+
/**
111+
* Output only. The highest CPU utilization ratio across all vCPUs observed over the duration of
112+
* the build, expressed as a fraction in the range [0.0, 1.0].
113+
* @return value or {@code null} for none
114+
*/
115+
public java.lang.Float getPeakCpuUtilization() {
116+
return peakCpuUtilization;
117+
}
118+
119+
/**
120+
* Output only. The highest CPU utilization ratio across all vCPUs observed over the duration of
121+
* the build, expressed as a fraction in the range [0.0, 1.0].
122+
* @param peakCpuUtilization peakCpuUtilization or {@code null} for none
123+
*/
124+
public ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage setPeakCpuUtilization(java.lang.Float peakCpuUtilization) {
125+
this.peakCpuUtilization = peakCpuUtilization;
126+
return this;
127+
}
128+
129+
/**
130+
* Output only. The highest memory utilization ratio observed over the duration of the build,
131+
* expressed as a fraction in the range [0.0, 1.0].
132+
* @return value or {@code null} for none
133+
*/
134+
public java.lang.Float getPeakMemoryUtilization() {
135+
return peakMemoryUtilization;
136+
}
137+
138+
/**
139+
* Output only. The highest memory utilization ratio observed over the duration of the build,
140+
* expressed as a fraction in the range [0.0, 1.0].
141+
* @param peakMemoryUtilization peakMemoryUtilization or {@code null} for none
142+
*/
143+
public ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage setPeakMemoryUtilization(java.lang.Float peakMemoryUtilization) {
144+
this.peakMemoryUtilization = peakMemoryUtilization;
145+
return this;
146+
}
147+
148+
/**
149+
* Output only. Total CPU execution time consumed across all cores during build execution.
150+
* @return value or {@code null} for none
151+
*/
152+
public String getTotalCpuDuration() {
153+
return totalCpuDuration;
154+
}
155+
156+
/**
157+
* Output only. Total CPU execution time consumed across all cores during build execution.
158+
* @param totalCpuDuration totalCpuDuration or {@code null} for none
159+
*/
160+
public ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage setTotalCpuDuration(String totalCpuDuration) {
161+
this.totalCpuDuration = totalCpuDuration;
162+
return this;
163+
}
164+
165+
@Override
166+
public ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage set(String fieldName, Object value) {
167+
return (ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage) super.set(fieldName, value);
168+
}
169+
170+
@Override
171+
public ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage clone() {
172+
return (ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage) super.clone();
173+
}
174+
175+
}

‎clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/ContaineranalysisGoogleDevtoolsCloudbuildV1Results.java‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,13 @@ public final class ContaineranalysisGoogleDevtoolsCloudbuildV1Results extends co
131131
@com.google.api.client.util.Key
132132
private java.util.List<ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage> pythonPackages;
133133

134+
/**
135+
* Output only. Aggregated metrics for the build.
136+
* The value may be {@code null}.
137+
*/
138+
@com.google.api.client.util.Key
139+
private ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage resourceUsage;
140+
134141
/**
135142
* Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only
136143
* populated when artifacts are uploaded to Cloud Storage.
@@ -345,6 +352,23 @@ public ContaineranalysisGoogleDevtoolsCloudbuildV1Results setPythonPackages(java
345352
return this;
346353
}
347354

355+
/**
356+
* Output only. Aggregated metrics for the build.
357+
* @return value or {@code null} for none
358+
*/
359+
public ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage getResourceUsage() {
360+
return resourceUsage;
361+
}
362+
363+
/**
364+
* Output only. Aggregated metrics for the build.
365+
* @param resourceUsage resourceUsage or {@code null} for none
366+
*/
367+
public ContaineranalysisGoogleDevtoolsCloudbuildV1Results setResourceUsage(ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage resourceUsage) {
368+
this.resourceUsage = resourceUsage;
369+
return this;
370+
}
371+
348372
@Override
349373
public ContaineranalysisGoogleDevtoolsCloudbuildV1Results set(String fieldName, Object value) {
350374
return (ContaineranalysisGoogleDevtoolsCloudbuildV1Results) super.set(fieldName, value);

‎clients/google-api-services-containeranalysis/v1alpha1/2.0.0/pom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-containeranalysis</artifactId>
11-
<version>v1alpha1-rev20260918-2.0.0</version>
12-
<name>Container Analysis API v1alpha1-rev20260918-2.0.0</name>
11+
<version>v1alpha1-rev20260929-2.0.0</version>
12+
<name>Container Analysis API v1alpha1-rev20260929-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

‎clients/google-api-services-containeranalysis/v1alpha1/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-containeranalysis</artifactId>
25-
<version>v1alpha1-rev20260918-2.0.0</version>
25+
<version>v1alpha1-rev20260929-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-containeranalysis:v1alpha1-rev20260918-2.0.0'
38+
implementation 'com.google.apis:google-api-services-containeranalysis:v1alpha1-rev20260929-2.0.0'
3939
}
4040
```
4141

‎clients/google-api-services-containeranalysis/v1beta1/2.0.0/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-containeranalysis</artifactId>
25-
<version>v1beta1-rev20260918-2.0.0</version>
25+
<version>v1beta1-rev20260929-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-containeranalysis:v1beta1-rev20260918-2.0.0'
38+
implementation 'com.google.apis:google-api-services-containeranalysis:v1beta1-rev20260929-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)