Skip to content

Commit ca9d522

Browse files
1 parent 67fc622 commit ca9d522

File tree

10 files changed

+290
-12
lines changed

10 files changed

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ public final class DiscoveryOccurrence extends com.google.api.client.json.Generi
9494
@com.google.api.client.util.Key
9595
private SBOMStatus sbomStatus;
9696

97+
/**
98+
* The status of an vulnerability attestation generation.
99+
* The value may be {@code null}.
100+
*/
101+
@com.google.api.client.util.Key
102+
private VulnerabilityAttestation vulnerabilityAttestation;
103+
97104
/**
98105
* @return value or {@code null} for none
99106
*/
@@ -249,6 +256,23 @@ public DiscoveryOccurrence setSbomStatus(SBOMStatus sbomStatus) {
249256
return this;
250257
}
251258

259+
/**
260+
* The status of an vulnerability attestation generation.
261+
* @return value or {@code null} for none
262+
*/
263+
public VulnerabilityAttestation getVulnerabilityAttestation() {
264+
return vulnerabilityAttestation;
265+
}
266+
267+
/**
268+
* The status of an vulnerability attestation generation.
269+
* @param vulnerabilityAttestation vulnerabilityAttestation or {@code null} for none
270+
*/
271+
public DiscoveryOccurrence setVulnerabilityAttestation(VulnerabilityAttestation vulnerabilityAttestation) {
272+
this.vulnerabilityAttestation = vulnerabilityAttestation;
273+
return this;
274+
}
275+
252276
@Override
253277
public DiscoveryOccurrence set(String fieldName, Object value) {
254278
return (DiscoveryOccurrence) super.set(fieldName, value);
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.v1.model;
18+
19+
/**
20+
* The status of an vulnerability attestation generation.
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 VulnerabilityAttestation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* If failure, the error reason for why the attestation generation failed.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String error;
39+
40+
/**
41+
* The last time we attempted to generate an attestation.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private String lastAttemptTime;
46+
47+
/**
48+
* The success/failure state of the latest attestation attempt.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String state;
53+
54+
/**
55+
* If failure, the error reason for why the attestation generation failed.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.String getError() {
59+
return error;
60+
}
61+
62+
/**
63+
* If failure, the error reason for why the attestation generation failed.
64+
* @param error error or {@code null} for none
65+
*/
66+
public VulnerabilityAttestation setError(java.lang.String error) {
67+
this.error = error;
68+
return this;
69+
}
70+
71+
/**
72+
* The last time we attempted to generate an attestation.
73+
* @return value or {@code null} for none
74+
*/
75+
public String getLastAttemptTime() {
76+
return lastAttemptTime;
77+
}
78+
79+
/**
80+
* The last time we attempted to generate an attestation.
81+
* @param lastAttemptTime lastAttemptTime or {@code null} for none
82+
*/
83+
public VulnerabilityAttestation setLastAttemptTime(String lastAttemptTime) {
84+
this.lastAttemptTime = lastAttemptTime;
85+
return this;
86+
}
87+
88+
/**
89+
* The success/failure state of the latest attestation attempt.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getState() {
93+
return state;
94+
}
95+
96+
/**
97+
* The success/failure state of the latest attestation attempt.
98+
* @param state state or {@code null} for none
99+
*/
100+
public VulnerabilityAttestation setState(java.lang.String state) {
101+
this.state = state;
102+
return this;
103+
}
104+
105+
@Override
106+
public VulnerabilityAttestation set(String fieldName, Object value) {
107+
return (VulnerabilityAttestation) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public VulnerabilityAttestation clone() {
112+
return (VulnerabilityAttestation) super.clone();
113+
}
114+
115+
}

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-rev20240614-2.0.0</version>
12-
<name>Container Analysis API v1-rev20240614-2.0.0</name>
11+
<version>v1-rev20240625-2.0.0</version>
12+
<name>Container Analysis API v1-rev20240625-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-rev20240614-2.0.0</version>
25+
<version>v1-rev20240625-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-rev20240614-2.0.0'
38+
implementation 'com.google.apis:google-api-services-containeranalysis:v1-rev20240625-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-rev20240614-2.0.0</version>
25+
<version>v1alpha1-rev20240625-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-rev20240614-2.0.0'
38+
implementation 'com.google.apis:google-api-services-containeranalysis:v1alpha1-rev20240625-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ public final class Discovered extends com.google.api.client.json.GenericJson {
103103
@com.google.api.client.util.Key
104104
private SBOMStatus sbomStatus;
105105

106+
/**
107+
* Output only. The status of a vulnerability attestation generation.
108+
* The value may be {@code null}.
109+
*/
110+
@com.google.api.client.util.Key
111+
private VulnerabilityAttestation vulnerabilityAttestation;
112+
106113
/**
107114
* The list of analysis that were completed for a resource.
108115
* @return value or {@code null} for none
@@ -279,6 +286,23 @@ public Discovered setSbomStatus(SBOMStatus sbomStatus) {
279286
return this;
280287
}
281288

289+
/**
290+
* Output only. The status of a vulnerability attestation generation.
291+
* @return value or {@code null} for none
292+
*/
293+
public VulnerabilityAttestation getVulnerabilityAttestation() {
294+
return vulnerabilityAttestation;
295+
}
296+
297+
/**
298+
* Output only. The status of a vulnerability attestation generation.
299+
* @param vulnerabilityAttestation vulnerabilityAttestation or {@code null} for none
300+
*/
301+
public Discovered setVulnerabilityAttestation(VulnerabilityAttestation vulnerabilityAttestation) {
302+
this.vulnerabilityAttestation = vulnerabilityAttestation;
303+
return this;
304+
}
305+
282306
@Override
283307
public Discovered set(String fieldName, Object value) {
284308
return (Discovered) super.set(fieldName, value);
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+
* The status of a vulnerability attestation generation.
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 VulnerabilityAttestation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. If failure, the error reason for why the attestation generation failed.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String error;
39+
40+
/**
41+
* Output only. The last time we attempted to generate an attestation.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private String lastAttemptTime;
46+
47+
/**
48+
* Output only. The success/failure state of the latest attestation attempt.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String state;
53+
54+
/**
55+
* Output only. If failure, the error reason for why the attestation generation failed.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.String getError() {
59+
return error;
60+
}
61+
62+
/**
63+
* Output only. If failure, the error reason for why the attestation generation failed.
64+
* @param error error or {@code null} for none
65+
*/
66+
public VulnerabilityAttestation setError(java.lang.String error) {
67+
this.error = error;
68+
return this;
69+
}
70+
71+
/**
72+
* Output only. The last time we attempted to generate an attestation.
73+
* @return value or {@code null} for none
74+
*/
75+
public String getLastAttemptTime() {
76+
return lastAttemptTime;
77+
}
78+
79+
/**
80+
* Output only. The last time we attempted to generate an attestation.
81+
* @param lastAttemptTime lastAttemptTime or {@code null} for none
82+
*/
83+
public VulnerabilityAttestation setLastAttemptTime(String lastAttemptTime) {
84+
this.lastAttemptTime = lastAttemptTime;
85+
return this;
86+
}
87+
88+
/**
89+
* Output only. The success/failure state of the latest attestation attempt.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getState() {
93+
return state;
94+
}
95+
96+
/**
97+
* Output only. The success/failure state of the latest attestation attempt.
98+
* @param state state or {@code null} for none
99+
*/
100+
public VulnerabilityAttestation setState(java.lang.String state) {
101+
this.state = state;
102+
return this;
103+
}
104+
105+
@Override
106+
public VulnerabilityAttestation set(String fieldName, Object value) {
107+
return (VulnerabilityAttestation) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public VulnerabilityAttestation clone() {
112+
return (VulnerabilityAttestation) super.clone();
113+
}
114+
115+
}

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-rev20240614-2.0.0</version>
12-
<name>Container Analysis API v1alpha1-rev20240614-2.0.0</name>
11+
<version>v1alpha1-rev20240625-2.0.0</version>
12+
<name>Container Analysis API v1alpha1-rev20240625-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)