Skip to content

Commit 95d021d

Browse files
1 parent a24568a commit 95d021d

File tree

8 files changed

+424
-7
lines changed

8 files changed

+424
-7
lines changed

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-rev20250207-2.0.0</version>
25+
<version>v1alpha1-rev20250307-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-rev20250207-2.0.0'
38+
implementation 'com.google.apis:google-api-services-containeranalysis:v1alpha1-rev20250307-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
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+
* BaseImage describes a base image of a container image.
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 BaseImage extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The number of layers that the base image is composed of.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Integer layerCount;
39+
40+
/**
41+
* The name of the base image.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String name;
46+
47+
/**
48+
* The repository name in which the base image is from.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String repository;
53+
54+
/**
55+
* The number of layers that the base image is composed of.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.Integer getLayerCount() {
59+
return layerCount;
60+
}
61+
62+
/**
63+
* The number of layers that the base image is composed of.
64+
* @param layerCount layerCount or {@code null} for none
65+
*/
66+
public BaseImage setLayerCount(java.lang.Integer layerCount) {
67+
this.layerCount = layerCount;
68+
return this;
69+
}
70+
71+
/**
72+
* The name of the base image.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getName() {
76+
return name;
77+
}
78+
79+
/**
80+
* The name of the base image.
81+
* @param name name or {@code null} for none
82+
*/
83+
public BaseImage setName(java.lang.String name) {
84+
this.name = name;
85+
return this;
86+
}
87+
88+
/**
89+
* The repository name in which the base image is from.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getRepository() {
93+
return repository;
94+
}
95+
96+
/**
97+
* The repository name in which the base image is from.
98+
* @param repository repository or {@code null} for none
99+
*/
100+
public BaseImage setRepository(java.lang.String repository) {
101+
this.repository = repository;
102+
return this;
103+
}
104+
105+
@Override
106+
public BaseImage set(String fieldName, Object value) {
107+
return (BaseImage) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public BaseImage clone() {
112+
return (BaseImage) super.clone();
113+
}
114+
115+
}

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

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.containeranalysis.v1alpha1.model;
1818

1919
/**
20-
* A step in the build pipeline. Next ID: 21
20+
* A step in the build pipeline. Next ID: 22
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Container Analysis API. For a detailed explanation
@@ -132,6 +132,12 @@ public final class BuildStep extends com.google.api.client.json.GenericJson {
132132
@com.google.api.client.util.Key
133133
private TimeSpan pullTiming;
134134

135+
/**
136+
* The value may be {@code null}.
137+
*/
138+
@com.google.api.client.util.Key
139+
private java.util.List<StepResult> results;
140+
135141
/**
136142
* A shell script to be executed in the step. When script is provided, the user cannot specify the
137143
* entrypoint or args.
@@ -428,6 +434,21 @@ public BuildStep setPullTiming(TimeSpan pullTiming) {
428434
return this;
429435
}
430436

437+
/**
438+
* @return value or {@code null} for none
439+
*/
440+
public java.util.List<StepResult> getResults() {
441+
return results;
442+
}
443+
444+
/**
445+
* @param results results or {@code null} for none
446+
*/
447+
public BuildStep setResults(java.util.List<StepResult> results) {
448+
this.results = results;
449+
return this;
450+
}
451+
431452
/**
432453
* A shell script to be executed in the step. When script is provided, the user cannot specify the
433454
* entrypoint or args.

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ public final class FileLocation extends com.google.api.client.json.GenericJson {
3838
@com.google.api.client.util.Key
3939
private java.lang.String filePath;
4040

41+
/**
42+
* Each package found in a file should have its own layer metadata (that is, information from the
43+
* origin layer of the package).
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private LayerDetails layerDetails;
48+
4149
/**
4250
* For jars that are contained inside .war files, this filepath can indicate the path to war file
4351
* combined with the path to jar file.
@@ -57,6 +65,25 @@ public FileLocation setFilePath(java.lang.String filePath) {
5765
return this;
5866
}
5967

68+
/**
69+
* Each package found in a file should have its own layer metadata (that is, information from the
70+
* origin layer of the package).
71+
* @return value or {@code null} for none
72+
*/
73+
public LayerDetails getLayerDetails() {
74+
return layerDetails;
75+
}
76+
77+
/**
78+
* Each package found in a file should have its own layer metadata (that is, information from the
79+
* origin layer of the package).
80+
* @param layerDetails layerDetails or {@code null} for none
81+
*/
82+
public FileLocation setLayerDetails(LayerDetails layerDetails) {
83+
this.layerDetails = layerDetails;
84+
return this;
85+
}
86+
6087
@Override
6188
public FileLocation set(String fieldName, Object value) {
6289
return (FileLocation) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
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+
* Details about the layer a package was found in.
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 LayerDetails extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The base images the layer is found within.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<BaseImage> baseImages;
39+
40+
static {
41+
// hack to force ProGuard to consider BaseImage used, since otherwise it would be stripped out
42+
// see https://github.com/google/google-api-java-client/issues/543
43+
com.google.api.client.util.Data.nullOf(BaseImage.class);
44+
}
45+
46+
/**
47+
* The layer build command that was used to build the layer. This may not be found in all layers
48+
* depending on how the container image is built.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String command;
53+
54+
/**
55+
* The diff ID (sha256 hash) of the layer in the container image.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.String diffId;
60+
61+
/**
62+
* The index of the layer in the container image.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.Integer index;
67+
68+
/**
69+
* The base images the layer is found within.
70+
* @return value or {@code null} for none
71+
*/
72+
public java.util.List<BaseImage> getBaseImages() {
73+
return baseImages;
74+
}
75+
76+
/**
77+
* The base images the layer is found within.
78+
* @param baseImages baseImages or {@code null} for none
79+
*/
80+
public LayerDetails setBaseImages(java.util.List<BaseImage> baseImages) {
81+
this.baseImages = baseImages;
82+
return this;
83+
}
84+
85+
/**
86+
* The layer build command that was used to build the layer. This may not be found in all layers
87+
* depending on how the container image is built.
88+
* @return value or {@code null} for none
89+
*/
90+
public java.lang.String getCommand() {
91+
return command;
92+
}
93+
94+
/**
95+
* The layer build command that was used to build the layer. This may not be found in all layers
96+
* depending on how the container image is built.
97+
* @param command command or {@code null} for none
98+
*/
99+
public LayerDetails setCommand(java.lang.String command) {
100+
this.command = command;
101+
return this;
102+
}
103+
104+
/**
105+
* The diff ID (sha256 hash) of the layer in the container image.
106+
* @return value or {@code null} for none
107+
*/
108+
public java.lang.String getDiffId() {
109+
return diffId;
110+
}
111+
112+
/**
113+
* The diff ID (sha256 hash) of the layer in the container image.
114+
* @param diffId diffId or {@code null} for none
115+
*/
116+
public LayerDetails setDiffId(java.lang.String diffId) {
117+
this.diffId = diffId;
118+
return this;
119+
}
120+
121+
/**
122+
* The index of the layer in the container image.
123+
* @return value or {@code null} for none
124+
*/
125+
public java.lang.Integer getIndex() {
126+
return index;
127+
}
128+
129+
/**
130+
* The index of the layer in the container image.
131+
* @param index index or {@code null} for none
132+
*/
133+
public LayerDetails setIndex(java.lang.Integer index) {
134+
this.index = index;
135+
return this;
136+
}
137+
138+
@Override
139+
public LayerDetails set(String fieldName, Object value) {
140+
return (LayerDetails) super.set(fieldName, value);
141+
}
142+
143+
@Override
144+
public LayerDetails clone() {
145+
return (LayerDetails) super.clone();
146+
}
147+
148+
}

0 commit comments

Comments
 (0)