Skip to content

Commit e426884

Browse files
1 parent 06f8424 commit e426884

File tree

10 files changed

+230
-12
lines changed

10 files changed

+230
-12
lines changed

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ public final class DiscoveryOccurrence extends com.google.api.client.json.Generi
8080
@com.google.api.client.util.Key
8181
private java.lang.String cpe;
8282

83+
/**
84+
* Files that make up the resource described by the occurrence.
85+
* The value may be {@code null}.
86+
*/
87+
@com.google.api.client.util.Key
88+
private java.util.List<File> files;
89+
8390
/**
8491
* The last time this resource was scanned.
8592
* The value may be {@code null}.
@@ -215,6 +222,23 @@ public DiscoveryOccurrence setCpe(java.lang.String cpe) {
215222
return this;
216223
}
217224

225+
/**
226+
* Files that make up the resource described by the occurrence.
227+
* @return value or {@code null} for none
228+
*/
229+
public java.util.List<File> getFiles() {
230+
return files;
231+
}
232+
233+
/**
234+
* Files that make up the resource described by the occurrence.
235+
* @param files files or {@code null} for none
236+
*/
237+
public DiscoveryOccurrence setFiles(java.util.List<File> files) {
238+
this.files = files;
239+
return this;
240+
}
241+
218242
/**
219243
* The last time this resource was scanned.
220244
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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.ondemandscanning.v1.model;
18+
19+
/**
20+
* Model definition for File.
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 On-Demand Scanning 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 File extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.Map<String, java.lang.String> digest;
38+
39+
/**
40+
* The value may be {@code null}.
41+
*/
42+
@com.google.api.client.util.Key
43+
private java.lang.String name;
44+
45+
/**
46+
* @return value or {@code null} for none
47+
*/
48+
public java.util.Map<String, java.lang.String> getDigest() {
49+
return digest;
50+
}
51+
52+
/**
53+
* @param digest digest or {@code null} for none
54+
*/
55+
public File setDigest(java.util.Map<String, java.lang.String> digest) {
56+
this.digest = digest;
57+
return this;
58+
}
59+
60+
/**
61+
* @return value or {@code null} for none
62+
*/
63+
public java.lang.String getName() {
64+
return name;
65+
}
66+
67+
/**
68+
* @param name name or {@code null} for none
69+
*/
70+
public File setName(java.lang.String name) {
71+
this.name = name;
72+
return this;
73+
}
74+
75+
@Override
76+
public File set(String fieldName, Object value) {
77+
return (File) super.set(fieldName, value);
78+
}
79+
80+
@Override
81+
public File clone() {
82+
return (File) super.clone();
83+
}
84+
85+
}

clients/google-api-services-ondemandscanning/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-ondemandscanning</artifactId>
11-
<version>v1-rev20250505-2.0.0</version>
12-
<name>On-Demand Scanning API v1-rev20250505-2.0.0</name>
11+
<version>v1-rev20250519-2.0.0</version>
12+
<name>On-Demand Scanning API v1-rev20250519-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

clients/google-api-services-ondemandscanning/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-ondemandscanning</artifactId>
25-
<version>v1beta1-rev20250505-2.0.0</version>
25+
<version>v1beta1-rev20250519-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-ondemandscanning:v1beta1-rev20250505-2.0.0'
38+
implementation 'com.google.apis:google-api-services-ondemandscanning:v1beta1-rev20250519-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/DiscoveryOccurrence.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ public final class DiscoveryOccurrence extends com.google.api.client.json.Generi
8080
@com.google.api.client.util.Key
8181
private java.lang.String cpe;
8282

83+
/**
84+
* Files that make up the resource described by the occurrence.
85+
* The value may be {@code null}.
86+
*/
87+
@com.google.api.client.util.Key
88+
private java.util.List<File> files;
89+
8390
/**
8491
* The last time this resource was scanned.
8592
* The value may be {@code null}.
@@ -215,6 +222,23 @@ public DiscoveryOccurrence setCpe(java.lang.String cpe) {
215222
return this;
216223
}
217224

225+
/**
226+
* Files that make up the resource described by the occurrence.
227+
* @return value or {@code null} for none
228+
*/
229+
public java.util.List<File> getFiles() {
230+
return files;
231+
}
232+
233+
/**
234+
* Files that make up the resource described by the occurrence.
235+
* @param files files or {@code null} for none
236+
*/
237+
public DiscoveryOccurrence setFiles(java.util.List<File> files) {
238+
this.files = files;
239+
return this;
240+
}
241+
218242
/**
219243
* The last time this resource was scanned.
220244
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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.ondemandscanning.v1beta1.model;
18+
19+
/**
20+
* Model definition for File.
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 On-Demand Scanning 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 File extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.Map<String, java.lang.String> digest;
38+
39+
/**
40+
* The value may be {@code null}.
41+
*/
42+
@com.google.api.client.util.Key
43+
private java.lang.String name;
44+
45+
/**
46+
* @return value or {@code null} for none
47+
*/
48+
public java.util.Map<String, java.lang.String> getDigest() {
49+
return digest;
50+
}
51+
52+
/**
53+
* @param digest digest or {@code null} for none
54+
*/
55+
public File setDigest(java.util.Map<String, java.lang.String> digest) {
56+
this.digest = digest;
57+
return this;
58+
}
59+
60+
/**
61+
* @return value or {@code null} for none
62+
*/
63+
public java.lang.String getName() {
64+
return name;
65+
}
66+
67+
/**
68+
* @param name name or {@code null} for none
69+
*/
70+
public File setName(java.lang.String name) {
71+
this.name = name;
72+
return this;
73+
}
74+
75+
@Override
76+
public File set(String fieldName, Object value) {
77+
return (File) super.set(fieldName, value);
78+
}
79+
80+
@Override
81+
public File clone() {
82+
return (File) super.clone();
83+
}
84+
85+
}

clients/google-api-services-ondemandscanning/v1beta1/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-ondemandscanning</artifactId>
11-
<version>v1beta1-rev20250505-2.0.0</version>
12-
<name>On-Demand Scanning API v1beta1-rev20250505-2.0.0</name>
11+
<version>v1beta1-rev20250519-2.0.0</version>
12+
<name>On-Demand Scanning API v1beta1-rev20250519-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-ondemandscanning/v1beta1/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-ondemandscanning</artifactId>
25-
<version>v1beta1-rev20250505-2.0.0</version>
25+
<version>v1beta1-rev20250519-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-ondemandscanning:v1beta1-rev20250505-2.0.0'
38+
implementation 'com.google.apis:google-api-services-ondemandscanning:v1beta1-rev20250519-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)