Skip to content

Commit 22b1c36

Browse files
1 parent 6e5aa26 commit 22b1c36

File tree

14 files changed

+582
-12
lines changed

14 files changed

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

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.ondemandscanning.v1.model;
18+
19+
/**
20+
* Model definition for CISAKnownExploitedVulnerabilities.
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 CISAKnownExploitedVulnerabilities extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Whether the vulnerability is known to have been leveraged as part of a ransomware campaign.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String knownRansomwareCampaignUse;
39+
40+
/**
41+
* Whether the vulnerability is known to have been leveraged as part of a ransomware campaign.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getKnownRansomwareCampaignUse() {
45+
return knownRansomwareCampaignUse;
46+
}
47+
48+
/**
49+
* Whether the vulnerability is known to have been leveraged as part of a ransomware campaign.
50+
* @param knownRansomwareCampaignUse knownRansomwareCampaignUse or {@code null} for none
51+
*/
52+
public CISAKnownExploitedVulnerabilities setKnownRansomwareCampaignUse(java.lang.String knownRansomwareCampaignUse) {
53+
this.knownRansomwareCampaignUse = knownRansomwareCampaignUse;
54+
return this;
55+
}
56+
57+
@Override
58+
public CISAKnownExploitedVulnerabilities set(String fieldName, Object value) {
59+
return (CISAKnownExploitedVulnerabilities) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public CISAKnownExploitedVulnerabilities clone() {
64+
return (CISAKnownExploitedVulnerabilities) super.clone();
65+
}
66+
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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 ExploitPredictionScoringSystem.
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 ExploitPredictionScoringSystem extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The percentile of the current score, the proportion of all scored vulnerabilities with the same
35+
* or a lower EPSS score
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Double percentile;
40+
41+
/**
42+
* The EPSS score representing the probability [0-1] of exploitation in the wild in the next 30
43+
* days
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.Double score;
48+
49+
/**
50+
* The percentile of the current score, the proportion of all scored vulnerabilities with the same
51+
* or a lower EPSS score
52+
* @return value or {@code null} for none
53+
*/
54+
public java.lang.Double getPercentile() {
55+
return percentile;
56+
}
57+
58+
/**
59+
* The percentile of the current score, the proportion of all scored vulnerabilities with the same
60+
* or a lower EPSS score
61+
* @param percentile percentile or {@code null} for none
62+
*/
63+
public ExploitPredictionScoringSystem setPercentile(java.lang.Double percentile) {
64+
this.percentile = percentile;
65+
return this;
66+
}
67+
68+
/**
69+
* The EPSS score representing the probability [0-1] of exploitation in the wild in the next 30
70+
* days
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.Double getScore() {
74+
return score;
75+
}
76+
77+
/**
78+
* The EPSS score representing the probability [0-1] of exploitation in the wild in the next 30
79+
* days
80+
* @param score score or {@code null} for none
81+
*/
82+
public ExploitPredictionScoringSystem setScore(java.lang.Double score) {
83+
this.score = score;
84+
return this;
85+
}
86+
87+
@Override
88+
public ExploitPredictionScoringSystem set(String fieldName, Object value) {
89+
return (ExploitPredictionScoringSystem) super.set(fieldName, value);
90+
}
91+
92+
@Override
93+
public ExploitPredictionScoringSystem clone() {
94+
return (ExploitPredictionScoringSystem) super.clone();
95+
}
96+
97+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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 Risk.
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 Risk extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* CISA maintains the authoritative source of vulnerabilities that have been exploited in the
35+
* wild.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private CISAKnownExploitedVulnerabilities cisaKev;
40+
41+
/**
42+
* The Exploit Prediction Scoring System (EPSS) estimates the likelihood (probability) that a
43+
* software vulnerability will be exploited in the wild.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private ExploitPredictionScoringSystem epss;
48+
49+
/**
50+
* CISA maintains the authoritative source of vulnerabilities that have been exploited in the
51+
* wild.
52+
* @return value or {@code null} for none
53+
*/
54+
public CISAKnownExploitedVulnerabilities getCisaKev() {
55+
return cisaKev;
56+
}
57+
58+
/**
59+
* CISA maintains the authoritative source of vulnerabilities that have been exploited in the
60+
* wild.
61+
* @param cisaKev cisaKev or {@code null} for none
62+
*/
63+
public Risk setCisaKev(CISAKnownExploitedVulnerabilities cisaKev) {
64+
this.cisaKev = cisaKev;
65+
return this;
66+
}
67+
68+
/**
69+
* The Exploit Prediction Scoring System (EPSS) estimates the likelihood (probability) that a
70+
* software vulnerability will be exploited in the wild.
71+
* @return value or {@code null} for none
72+
*/
73+
public ExploitPredictionScoringSystem getEpss() {
74+
return epss;
75+
}
76+
77+
/**
78+
* The Exploit Prediction Scoring System (EPSS) estimates the likelihood (probability) that a
79+
* software vulnerability will be exploited in the wild.
80+
* @param epss epss or {@code null} for none
81+
*/
82+
public Risk setEpss(ExploitPredictionScoringSystem epss) {
83+
this.epss = epss;
84+
return this;
85+
}
86+
87+
@Override
88+
public Risk set(String fieldName, Object value) {
89+
return (Risk) super.set(fieldName, value);
90+
}
91+
92+
@Override
93+
public Risk clone() {
94+
return (Risk) super.clone();
95+
}
96+
97+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ public final class VulnerabilityOccurrence extends com.google.api.client.json.Ge
120120
com.google.api.client.util.Data.nullOf(RelatedUrl.class);
121121
}
122122

123+
/**
124+
* Risk information about the vulnerability, such as CISA, EPSS, etc.
125+
* The value may be {@code null}.
126+
*/
127+
@com.google.api.client.util.Key
128+
private Risk risk;
129+
123130
/**
124131
* Output only. The note provider assigned severity of this vulnerability.
125132
* The value may be {@code null}.
@@ -333,6 +340,23 @@ public VulnerabilityOccurrence setRelatedUrls(java.util.List<RelatedUrl> related
333340
return this;
334341
}
335342

343+
/**
344+
* Risk information about the vulnerability, such as CISA, EPSS, etc.
345+
* @return value or {@code null} for none
346+
*/
347+
public Risk getRisk() {
348+
return risk;
349+
}
350+
351+
/**
352+
* Risk information about the vulnerability, such as CISA, EPSS, etc.
353+
* @param risk risk or {@code null} for none
354+
*/
355+
public VulnerabilityOccurrence setRisk(Risk risk) {
356+
this.risk = risk;
357+
return this;
358+
}
359+
336360
/**
337361
* Output only. The note provider assigned severity of this vulnerability.
338362
* @return value or {@code null} for none

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-rev20250519-2.0.0</version>
12-
<name>On-Demand Scanning API v1-rev20250519-2.0.0</name>
11+
<version>v1-rev20250815-2.0.0</version>
12+
<name>On-Demand Scanning API v1-rev20250815-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-rev20250519-2.0.0</version>
25+
<version>v1-rev20250815-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-rev20250519-2.0.0'
38+
implementation 'com.google.apis:google-api-services-ondemandscanning:v1-rev20250815-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-rev20250519-2.0.0</version>
25+
<version>v1beta1-rev20250815-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-rev20250519-2.0.0'
38+
implementation 'com.google.apis:google-api-services-ondemandscanning:v1beta1-rev20250815-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)