Skip to content

Commit 0257405

Browse files
1 parent 06293ca commit 0257405

File tree

12 files changed

+664
-12
lines changed

12 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* AISkillAnalysisOccurrence provides the results of an AI-based skill analysis.
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 AISkillAnalysisOccurrence extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Findings produced by the analysis.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<Finding> findings;
39+
40+
/**
41+
* Name of the skill that produced this analysis.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String skillName;
46+
47+
/**
48+
* Findings produced by the analysis.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.util.List<Finding> getFindings() {
52+
return findings;
53+
}
54+
55+
/**
56+
* Findings produced by the analysis.
57+
* @param findings findings or {@code null} for none
58+
*/
59+
public AISkillAnalysisOccurrence setFindings(java.util.List<Finding> findings) {
60+
this.findings = findings;
61+
return this;
62+
}
63+
64+
/**
65+
* Name of the skill that produced this analysis.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getSkillName() {
69+
return skillName;
70+
}
71+
72+
/**
73+
* Name of the skill that produced this analysis.
74+
* @param skillName skillName or {@code null} for none
75+
*/
76+
public AISkillAnalysisOccurrence setSkillName(java.lang.String skillName) {
77+
this.skillName = skillName;
78+
return this;
79+
}
80+
81+
@Override
82+
public AISkillAnalysisOccurrence set(String fieldName, Object value) {
83+
return (AISkillAnalysisOccurrence) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public AISkillAnalysisOccurrence clone() {
88+
return (AISkillAnalysisOccurrence) super.clone();
89+
}
90+
91+
}
Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
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+
* Finding provides details for a single finding within an AISkillAnalysisOccurrence.
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 Finding extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Category of the finding.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String category;
39+
40+
/**
41+
* Detailed description of the finding.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String description;
46+
47+
/**
48+
* Path to the file where the finding was detected.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String filePath;
53+
54+
/**
55+
* Unique identifier of the rule that produced this finding.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.String ruleId;
60+
61+
/**
62+
* Severity of the finding.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.String severity;
67+
68+
/**
69+
* Code snippet relevant to the finding.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private java.lang.String snippet;
74+
75+
/**
76+
* Title of the finding.
77+
* The value may be {@code null}.
78+
*/
79+
@com.google.api.client.util.Key
80+
private java.lang.String title;
81+
82+
/**
83+
* Category of the finding.
84+
* @return value or {@code null} for none
85+
*/
86+
public java.lang.String getCategory() {
87+
return category;
88+
}
89+
90+
/**
91+
* Category of the finding.
92+
* @param category category or {@code null} for none
93+
*/
94+
public Finding setCategory(java.lang.String category) {
95+
this.category = category;
96+
return this;
97+
}
98+
99+
/**
100+
* Detailed description of the finding.
101+
* @return value or {@code null} for none
102+
*/
103+
public java.lang.String getDescription() {
104+
return description;
105+
}
106+
107+
/**
108+
* Detailed description of the finding.
109+
* @param description description or {@code null} for none
110+
*/
111+
public Finding setDescription(java.lang.String description) {
112+
this.description = description;
113+
return this;
114+
}
115+
116+
/**
117+
* Path to the file where the finding was detected.
118+
* @return value or {@code null} for none
119+
*/
120+
public java.lang.String getFilePath() {
121+
return filePath;
122+
}
123+
124+
/**
125+
* Path to the file where the finding was detected.
126+
* @param filePath filePath or {@code null} for none
127+
*/
128+
public Finding setFilePath(java.lang.String filePath) {
129+
this.filePath = filePath;
130+
return this;
131+
}
132+
133+
/**
134+
* Unique identifier of the rule that produced this finding.
135+
* @return value or {@code null} for none
136+
*/
137+
public java.lang.String getRuleId() {
138+
return ruleId;
139+
}
140+
141+
/**
142+
* Unique identifier of the rule that produced this finding.
143+
* @param ruleId ruleId or {@code null} for none
144+
*/
145+
public Finding setRuleId(java.lang.String ruleId) {
146+
this.ruleId = ruleId;
147+
return this;
148+
}
149+
150+
/**
151+
* Severity of the finding.
152+
* @return value or {@code null} for none
153+
*/
154+
public java.lang.String getSeverity() {
155+
return severity;
156+
}
157+
158+
/**
159+
* Severity of the finding.
160+
* @param severity severity or {@code null} for none
161+
*/
162+
public Finding setSeverity(java.lang.String severity) {
163+
this.severity = severity;
164+
return this;
165+
}
166+
167+
/**
168+
* Code snippet relevant to the finding.
169+
* @return value or {@code null} for none
170+
*/
171+
public java.lang.String getSnippet() {
172+
return snippet;
173+
}
174+
175+
/**
176+
* Code snippet relevant to the finding.
177+
* @param snippet snippet or {@code null} for none
178+
*/
179+
public Finding setSnippet(java.lang.String snippet) {
180+
this.snippet = snippet;
181+
return this;
182+
}
183+
184+
/**
185+
* Title of the finding.
186+
* @return value or {@code null} for none
187+
*/
188+
public java.lang.String getTitle() {
189+
return title;
190+
}
191+
192+
/**
193+
* Title of the finding.
194+
* @param title title or {@code null} for none
195+
*/
196+
public Finding setTitle(java.lang.String title) {
197+
this.title = title;
198+
return this;
199+
}
200+
201+
@Override
202+
public Finding set(String fieldName, Object value) {
203+
return (Finding) super.set(fieldName, value);
204+
}
205+
206+
@Override
207+
public Finding clone() {
208+
return (Finding) super.clone();
209+
}
210+
211+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class Occurrence extends com.google.api.client.json.GenericJson {
3737
@com.google.api.client.util.Key
3838
private String advisoryPublishTime;
3939

40+
/**
41+
* Describes an AI skill analysis.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private AISkillAnalysisOccurrence aiSkillAnalysis;
46+
4047
/**
4148
* Describes an attestation of an artifact.
4249
* The value may be {@code null}.
@@ -198,6 +205,23 @@ public Occurrence setAdvisoryPublishTime(String advisoryPublishTime) {
198205
return this;
199206
}
200207

208+
/**
209+
* Describes an AI skill analysis.
210+
* @return value or {@code null} for none
211+
*/
212+
public AISkillAnalysisOccurrence getAiSkillAnalysis() {
213+
return aiSkillAnalysis;
214+
}
215+
216+
/**
217+
* Describes an AI skill analysis.
218+
* @param aiSkillAnalysis aiSkillAnalysis or {@code null} for none
219+
*/
220+
public Occurrence setAiSkillAnalysis(AISkillAnalysisOccurrence aiSkillAnalysis) {
221+
this.aiSkillAnalysis = aiSkillAnalysis;
222+
return this;
223+
}
224+
201225
/**
202226
* Describes an attestation of an artifact.
203227
* @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-rev20260323-2.0.0</version>
12-
<name>On-Demand Scanning API v1-rev20260323-2.0.0</name>
11+
<version>v1-rev20260330-2.0.0</version>
12+
<name>On-Demand Scanning API v1-rev20260330-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-rev20260323-2.0.0</version>
25+
<version>v1-rev20260330-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-rev20260323-2.0.0'
38+
implementation 'com.google.apis:google-api-services-ondemandscanning:v1-rev20260330-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)