Skip to content

Commit cacefd8

Browse files
1 parent 2af639f commit cacefd8

File tree

19 files changed

+827
-12
lines changed

19 files changed

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

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ public final class LayerDetails extends com.google.api.client.json.GenericJson {
4343
com.google.api.client.util.Data.nullOf(BaseImage.class);
4444
}
4545

46+
/**
47+
* The layer chain ID (sha256 hash) of the layer in the container image.
48+
* https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String chainId;
53+
4654
/**
4755
* The layer build command that was used to build the layer. This may not be found in all layers
4856
* depending on how the container image is built.
@@ -82,6 +90,25 @@ public LayerDetails setBaseImages(java.util.List<BaseImage> baseImages) {
8290
return this;
8391
}
8492

93+
/**
94+
* The layer chain ID (sha256 hash) of the layer in the container image.
95+
* https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
96+
* @return value or {@code null} for none
97+
*/
98+
public java.lang.String getChainId() {
99+
return chainId;
100+
}
101+
102+
/**
103+
* The layer chain ID (sha256 hash) of the layer in the container image.
104+
* https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
105+
* @param chainId chainId or {@code null} for none
106+
*/
107+
public LayerDetails setChainId(java.lang.String chainId) {
108+
this.chainId = chainId;
109+
return this;
110+
}
111+
85112
/**
86113
* The layer build command that was used to build the layer. This may not be found in all layers
87114
* depending on how the container image is built.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,13 @@ public final class Note extends com.google.api.client.json.GenericJson {
143143
@com.google.api.client.util.Key
144144
private SBOMReferenceNote sbomReference;
145145

146+
/**
147+
* A note describing a secret.
148+
* The value may be {@code null}.
149+
*/
150+
@com.google.api.client.util.Key
151+
private SecretNote secret;
152+
146153
/**
147154
* A one sentence description of this note.
148155
* The value may be {@code null}.
@@ -453,6 +460,23 @@ public Note setSbomReference(SBOMReferenceNote sbomReference) {
453460
return this;
454461
}
455462

463+
/**
464+
* A note describing a secret.
465+
* @return value or {@code null} for none
466+
*/
467+
public SecretNote getSecret() {
468+
return secret;
469+
}
470+
471+
/**
472+
* A note describing a secret.
473+
* @param secret secret or {@code null} for none
474+
*/
475+
public Note setSecret(SecretNote secret) {
476+
this.secret = secret;
477+
return this;
478+
}
479+
456480
/**
457481
* A one sentence description of this note.
458482
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,13 @@ public final class Occurrence extends com.google.api.client.json.GenericJson {
146146
@com.google.api.client.util.Key
147147
private SBOMReferenceOccurrence sbomReference;
148148

149+
/**
150+
* Describes a secret.
151+
* The value may be {@code null}.
152+
*/
153+
@com.google.api.client.util.Key
154+
private SecretOccurrence secret;
155+
149156
/**
150157
* Output only. The time this occurrence was last updated.
151158
* The value may be {@code null}.
@@ -447,6 +454,23 @@ public Occurrence setSbomReference(SBOMReferenceOccurrence sbomReference) {
447454
return this;
448455
}
449456

457+
/**
458+
* Describes a secret.
459+
* @return value or {@code null} for none
460+
*/
461+
public SecretOccurrence getSecret() {
462+
return secret;
463+
}
464+
465+
/**
466+
* Describes a secret.
467+
* @param secret secret or {@code null} for none
468+
*/
469+
public Occurrence setSecret(SecretOccurrence secret) {
470+
this.secret = secret;
471+
return this;
472+
}
473+
450474
/**
451475
* Output only. The time this occurrence was last updated.
452476
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* The location of the secret.
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 SecretLocation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The secret is found from a file.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GrafeasV1FileLocation fileLocation;
39+
40+
/**
41+
* The secret is found from a file.
42+
* @return value or {@code null} for none
43+
*/
44+
public GrafeasV1FileLocation getFileLocation() {
45+
return fileLocation;
46+
}
47+
48+
/**
49+
* The secret is found from a file.
50+
* @param fileLocation fileLocation or {@code null} for none
51+
*/
52+
public SecretLocation setFileLocation(GrafeasV1FileLocation fileLocation) {
53+
this.fileLocation = fileLocation;
54+
return this;
55+
}
56+
57+
@Override
58+
public SecretLocation set(String fieldName, Object value) {
59+
return (SecretLocation) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public SecretLocation clone() {
64+
return (SecretLocation) super.clone();
65+
}
66+
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
* The note representing a secret.
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 SecretNote extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public SecretNote set(String fieldName, Object value) {
35+
return (SecretNote) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public SecretNote clone() {
40+
return (SecretNote) super.clone();
41+
}
42+
43+
}
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+
* The occurrence provides details of a secret.
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 SecretOccurrence extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. Type of secret.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String kind;
39+
40+
/**
41+
* Optional. Locations where the secret is detected.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<SecretLocation> locations;
46+
47+
static {
48+
// hack to force ProGuard to consider SecretLocation used, since otherwise it would be stripped out
49+
// see https://github.com/google/google-api-java-client/issues/543
50+
com.google.api.client.util.Data.nullOf(SecretLocation.class);
51+
}
52+
53+
/**
54+
* Optional. Status of the secret.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.util.List<SecretStatus> statuses;
59+
60+
/**
61+
* Required. Type of secret.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.lang.String getKind() {
65+
return kind;
66+
}
67+
68+
/**
69+
* Required. Type of secret.
70+
* @param kind kind or {@code null} for none
71+
*/
72+
public SecretOccurrence setKind(java.lang.String kind) {
73+
this.kind = kind;
74+
return this;
75+
}
76+
77+
/**
78+
* Optional. Locations where the secret is detected.
79+
* @return value or {@code null} for none
80+
*/
81+
public java.util.List<SecretLocation> getLocations() {
82+
return locations;
83+
}
84+
85+
/**
86+
* Optional. Locations where the secret is detected.
87+
* @param locations locations or {@code null} for none
88+
*/
89+
public SecretOccurrence setLocations(java.util.List<SecretLocation> locations) {
90+
this.locations = locations;
91+
return this;
92+
}
93+
94+
/**
95+
* Optional. Status of the secret.
96+
* @return value or {@code null} for none
97+
*/
98+
public java.util.List<SecretStatus> getStatuses() {
99+
return statuses;
100+
}
101+
102+
/**
103+
* Optional. Status of the secret.
104+
* @param statuses statuses or {@code null} for none
105+
*/
106+
public SecretOccurrence setStatuses(java.util.List<SecretStatus> statuses) {
107+
this.statuses = statuses;
108+
return this;
109+
}
110+
111+
@Override
112+
public SecretOccurrence set(String fieldName, Object value) {
113+
return (SecretOccurrence) super.set(fieldName, value);
114+
}
115+
116+
@Override
117+
public SecretOccurrence clone() {
118+
return (SecretOccurrence) super.clone();
119+
}
120+
121+
}

0 commit comments

Comments
 (0)