Skip to content

Commit 4dde563

Browse files
1 parent 329db81 commit 4dde563

File tree

10 files changed

+470
-6
lines changed

10 files changed

+470
-6
lines changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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.v1beta1.model;
18+
19+
/**
20+
* Indicates the location at which a package was found.
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 FileLocation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* For jars that are contained inside .war files, this filepath can indicate the path to war file
35+
* combined with the path to jar file.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String filePath;
40+
41+
/**
42+
* For jars that are contained inside .war files, this filepath can indicate the path to war file
43+
* combined with the path to jar file.
44+
* @return value or {@code null} for none
45+
*/
46+
public java.lang.String getFilePath() {
47+
return filePath;
48+
}
49+
50+
/**
51+
* For jars that are contained inside .war files, this filepath can indicate the path to war file
52+
* combined with the path to jar file.
53+
* @param filePath filePath or {@code null} for none
54+
*/
55+
public FileLocation setFilePath(java.lang.String filePath) {
56+
this.filePath = filePath;
57+
return this;
58+
}
59+
60+
@Override
61+
public FileLocation set(String fieldName, Object value) {
62+
return (FileLocation) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public FileLocation clone() {
67+
return (FileLocation) super.clone();
68+
}
69+
70+
}

clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/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}.
@@ -467,6 +474,23 @@ public Note setSbomReference(SBOMReferenceNote sbomReference) {
467474
return this;
468475
}
469476

477+
/**
478+
* A note describing a secret.
479+
* @return value or {@code null} for none
480+
*/
481+
public SecretNote getSecret() {
482+
return secret;
483+
}
484+
485+
/**
486+
* A note describing a secret.
487+
* @param secret secret or {@code null} for none
488+
*/
489+
public Note setSecret(SecretNote secret) {
490+
this.secret = secret;
491+
return this;
492+
}
493+
470494
/**
471495
* A one sentence description of this note.
472496
* @return value or {@code null} for none

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

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

148+
/**
149+
* Describes a secret.
150+
* The value may be {@code null}.
151+
*/
152+
@com.google.api.client.util.Key
153+
private SecretOccurrence secret;
154+
148155
/**
149156
* Describes a specific SPDX File.
150157
* The value may be {@code null}.
@@ -458,6 +465,23 @@ public Occurrence setSbomReference(SBOMReferenceOccurrence sbomReference) {
458465
return this;
459466
}
460467

468+
/**
469+
* Describes a secret.
470+
* @return value or {@code null} for none
471+
*/
472+
public SecretOccurrence getSecret() {
473+
return secret;
474+
}
475+
476+
/**
477+
* Describes a secret.
478+
* @param secret secret or {@code null} for none
479+
*/
480+
public Occurrence setSecret(SecretOccurrence secret) {
481+
this.secret = secret;
482+
return this;
483+
}
484+
461485
/**
462486
* Describes a specific SPDX File.
463487
* @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.v1beta1.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 FileLocation fileLocation;
39+
40+
/**
41+
* The secret is found from a file.
42+
* @return value or {@code null} for none
43+
*/
44+
public FileLocation 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(FileLocation 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.v1beta1.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.v1beta1.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)