Skip to content

Commit 40d9d9a

Browse files
1 parent 09ee8ae commit 40d9d9a

20 files changed

+615
-18
lines changed

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

clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ public final class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts extends
8080
@com.google.api.client.util.Key
8181
private ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects objects;
8282

83+
/**
84+
* Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
85+
* of all build steps. OCI images in the specified paths will be uploaded to the specified
86+
* Artifact Registry repository using the builder service account's credentials. If any images
87+
* fail to be pushed, the build is marked FAILURE.
88+
* The value may be {@code null}.
89+
*/
90+
@com.google.api.client.util.Key
91+
private java.util.List<ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci> oci;
92+
8393
/**
8494
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all
8595
* build steps. The build service account credentials will be used to perform the upload. If any
@@ -202,6 +212,29 @@ public ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts setObjects(Container
202212
return this;
203213
}
204214

215+
/**
216+
* Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
217+
* of all build steps. OCI images in the specified paths will be uploaded to the specified
218+
* Artifact Registry repository using the builder service account's credentials. If any images
219+
* fail to be pushed, the build is marked FAILURE.
220+
* @return value or {@code null} for none
221+
*/
222+
public java.util.List<ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci> getOci() {
223+
return oci;
224+
}
225+
226+
/**
227+
* Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
228+
* of all build steps. OCI images in the specified paths will be uploaded to the specified
229+
* Artifact Registry repository using the builder service account's credentials. If any images
230+
* fail to be pushed, the build is marked FAILURE.
231+
* @param oci oci or {@code null} for none
232+
*/
233+
public ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts setOci(java.util.List<ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci> oci) {
234+
this.oci = oci;
235+
return this;
236+
}
237+
205238
/**
206239
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all
207240
* build steps. The build service account credentials will be used to perform the upload. If any
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
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.v1.model;
18+
19+
/**
20+
* OCI image to upload to Artifact Registry upon successful completion of all build steps.
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 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. Path on the local file system where to find the container to upload. e.g.
35+
* /workspace/my-image.tar
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String file;
40+
41+
/**
42+
* Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-
43+
* repo/my-image
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String registryPath;
48+
49+
/**
50+
* Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.util.List<java.lang.String> tags;
55+
56+
/**
57+
* Required. Path on the local file system where to find the container to upload. e.g.
58+
* /workspace/my-image.tar
59+
* @return value or {@code null} for none
60+
*/
61+
public java.lang.String getFile() {
62+
return file;
63+
}
64+
65+
/**
66+
* Required. Path on the local file system where to find the container to upload. e.g.
67+
* /workspace/my-image.tar
68+
* @param file file or {@code null} for none
69+
*/
70+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci setFile(java.lang.String file) {
71+
this.file = file;
72+
return this;
73+
}
74+
75+
/**
76+
* Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-
77+
* repo/my-image
78+
* @return value or {@code null} for none
79+
*/
80+
public java.lang.String getRegistryPath() {
81+
return registryPath;
82+
}
83+
84+
/**
85+
* Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-
86+
* repo/my-image
87+
* @param registryPath registryPath or {@code null} for none
88+
*/
89+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci setRegistryPath(java.lang.String registryPath) {
90+
this.registryPath = registryPath;
91+
return this;
92+
}
93+
94+
/**
95+
* Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
96+
* @return value or {@code null} for none
97+
*/
98+
public java.util.List<java.lang.String> getTags() {
99+
return tags;
100+
}
101+
102+
/**
103+
* Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
104+
* @param tags tags or {@code null} for none
105+
*/
106+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci setTags(java.util.List<java.lang.String> tags) {
107+
this.tags = tags;
108+
return this;
109+
}
110+
111+
@Override
112+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci set(String fieldName, Object value) {
113+
return (ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci) super.set(fieldName, value);
114+
}
115+
116+
@Override
117+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci clone() {
118+
return (ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci) super.clone();
119+
}
120+
121+
}

clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ public final class ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage extends
5252
@com.google.api.client.util.Key
5353
private java.lang.String name;
5454

55+
/**
56+
* Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will
57+
* have an unspecified value.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.lang.String ociMediaType;
62+
5563
/**
5664
* Output only. Stores timing information for pushing the specified image.
5765
* The value may be {@code null}.
@@ -112,6 +120,25 @@ public ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage setName(java.lang.S
112120
return this;
113121
}
114122

123+
/**
124+
* Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will
125+
* have an unspecified value.
126+
* @return value or {@code null} for none
127+
*/
128+
public java.lang.String getOciMediaType() {
129+
return ociMediaType;
130+
}
131+
132+
/**
133+
* Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will
134+
* have an unspecified value.
135+
* @param ociMediaType ociMediaType or {@code null} for none
136+
*/
137+
public ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage setOciMediaType(java.lang.String ociMediaType) {
138+
this.ociMediaType = ociMediaType;
139+
return this;
140+
}
141+
115142
/**
116143
* Output only. Stores timing information for pushing the specified image.
117144
* @return value or {@code null} for none

clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/GrafeasV1FileLocation.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ public final class GrafeasV1FileLocation extends com.google.api.client.json.Gene
4646
@com.google.api.client.util.Key
4747
private LayerDetails layerDetails;
4848

49+
/**
50+
* Line number in the file where the package was found. Optional field that only applies to source
51+
* repository scanning.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.Integer lineNumber;
56+
4957
/**
5058
* For jars that are contained inside .war files, this filepath can indicate the path to war file
5159
* combined with the path to jar file.
@@ -84,6 +92,25 @@ public GrafeasV1FileLocation setLayerDetails(LayerDetails layerDetails) {
8492
return this;
8593
}
8694

95+
/**
96+
* Line number in the file where the package was found. Optional field that only applies to source
97+
* repository scanning.
98+
* @return value or {@code null} for none
99+
*/
100+
public java.lang.Integer getLineNumber() {
101+
return lineNumber;
102+
}
103+
104+
/**
105+
* Line number in the file where the package was found. Optional field that only applies to source
106+
* repository scanning.
107+
* @param lineNumber lineNumber or {@code null} for none
108+
*/
109+
public GrafeasV1FileLocation setLineNumber(java.lang.Integer lineNumber) {
110+
this.lineNumber = lineNumber;
111+
return this;
112+
}
113+
87114
@Override
88115
public GrafeasV1FileLocation set(String fieldName, Object value) {
89116
return (GrafeasV1FileLocation) super.set(fieldName, value);

clients/google-api-services-containeranalysis/v1/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>v1-rev20260305-2.0.0</version>
12-
<name>Container Analysis API v1-rev20260305-2.0.0</name>
11+
<version>v1-rev20260313-2.0.0</version>
12+
<name>Container Analysis API v1-rev20260313-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

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

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ public final class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts extends
8080
@com.google.api.client.util.Key
8181
private ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects objects;
8282

83+
/**
84+
* Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
85+
* of all build steps. OCI images in the specified paths will be uploaded to the specified
86+
* Artifact Registry repository using the builder service account's credentials. If any images
87+
* fail to be pushed, the build is marked FAILURE.
88+
* The value may be {@code null}.
89+
*/
90+
@com.google.api.client.util.Key
91+
private java.util.List<ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci> oci;
92+
8393
/**
8494
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all
8595
* build steps. The build service account credentials will be used to perform the upload. If any
@@ -202,6 +212,29 @@ public ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts setObjects(Container
202212
return this;
203213
}
204214

215+
/**
216+
* Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
217+
* of all build steps. OCI images in the specified paths will be uploaded to the specified
218+
* Artifact Registry repository using the builder service account's credentials. If any images
219+
* fail to be pushed, the build is marked FAILURE.
220+
* @return value or {@code null} for none
221+
*/
222+
public java.util.List<ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci> getOci() {
223+
return oci;
224+
}
225+
226+
/**
227+
* Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
228+
* of all build steps. OCI images in the specified paths will be uploaded to the specified
229+
* Artifact Registry repository using the builder service account's credentials. If any images
230+
* fail to be pushed, the build is marked FAILURE.
231+
* @param oci oci or {@code null} for none
232+
*/
233+
public ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts setOci(java.util.List<ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci> oci) {
234+
this.oci = oci;
235+
return this;
236+
}
237+
205238
/**
206239
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all
207240
* build steps. The build service account credentials will be used to perform the upload. If any

0 commit comments

Comments
 (0)