From 651bb4381e998d3b07188c70843106f28df0deff Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Tue, 27 Oct 2026 17:49:45 -0700
Subject: [PATCH] chore: regenerate ondemandscanning client
---
.../v1/2.0.0/README.md | 4 +-
.../v1/model/Exploitability.java | 93 ++++++++++++
.../v1/model/ExploitabilitySignal.java | 140 ++++++++++++++++++
.../v1/model/ExploitabilitySummary.java | 94 ++++++++++++
.../v1/model/PackageIssue.java | 24 +++
.../v1/model/VulnerabilityOccurrence.java | 24 +++
.../v1/2.0.0/pom.xml | 4 +-
.../v1/README.md | 4 +-
.../v1beta1/2.0.0/README.md | 4 +-
.../v1beta1/model/Exploitability.java | 93 ++++++++++++
.../v1beta1/model/ExploitabilitySignal.java | 140 ++++++++++++++++++
.../v1beta1/model/ExploitabilitySummary.java | 94 ++++++++++++
.../v1beta1/model/PackageIssue.java | 24 +++
.../model/VulnerabilityOccurrence.java | 24 +++
.../v1beta1/2.0.0/pom.xml | 4 +-
.../v1beta1/README.md | 4 +-
16 files changed, 762 insertions(+), 12 deletions(-)
create mode 100644 clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/Exploitability.java
create mode 100644 clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/ExploitabilitySignal.java
create mode 100644 clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/ExploitabilitySummary.java
create mode 100644 clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/Exploitability.java
create mode 100644 clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/ExploitabilitySignal.java
create mode 100644 clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/ExploitabilitySummary.java
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/README.md b/clients/google-api-services-ondemandscanning/v1/2.0.0/README.md
index d944c01928c..7a01fa3fdad 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/README.md
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the On-Demand Scanning API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Exploitability extends com.google.api.client.json.GenericJson { + + /** + * Individual exploitability signals from various sources. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the On-Demand Scanning API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExploitabilitySignal extends com.google.api.client.json.GenericJson { + + /** + * Human-readable explanation of this signal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rationale; + + /** + * Identifier of the signal source. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Justification for why the vulnerability is not exploitable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vexJustification; + + /** + * The VEX status asserted by this signal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vexStatus; + + /** + * Human-readable explanation of this signal. + * @return value or {@code null} for none + */ + public java.lang.String getRationale() { + return rationale; + } + + /** + * Human-readable explanation of this signal. + * @param rationale rationale or {@code null} for none + */ + public ExploitabilitySignal setRationale(java.lang.String rationale) { + this.rationale = rationale; + return this; + } + + /** + * Identifier of the signal source. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * Identifier of the signal source. + * @param source source or {@code null} for none + */ + public ExploitabilitySignal setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * Justification for why the vulnerability is not exploitable. + * @return value or {@code null} for none + */ + public java.lang.String getVexJustification() { + return vexJustification; + } + + /** + * Justification for why the vulnerability is not exploitable. + * @param vexJustification vexJustification or {@code null} for none + */ + public ExploitabilitySignal setVexJustification(java.lang.String vexJustification) { + this.vexJustification = vexJustification; + return this; + } + + /** + * The VEX status asserted by this signal. + * @return value or {@code null} for none + */ + public java.lang.String getVexStatus() { + return vexStatus; + } + + /** + * The VEX status asserted by this signal. + * @param vexStatus vexStatus or {@code null} for none + */ + public ExploitabilitySignal setVexStatus(java.lang.String vexStatus) { + this.vexStatus = vexStatus; + return this; + } + + @Override + public ExploitabilitySignal set(String fieldName, Object value) { + return (ExploitabilitySignal) super.set(fieldName, value); + } + + @Override + public ExploitabilitySignal clone() { + return (ExploitabilitySignal) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/ExploitabilitySummary.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/ExploitabilitySummary.java new file mode 100644 index 00000000000..0e1e8669402 --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/ExploitabilitySummary.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.ondemandscanning.v1.model; + +/** + * Rollup summary of exploitability across signals. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the On-Demand Scanning API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExploitabilitySummary extends com.google.api.client.json.GenericJson { + + /** + * Human-readable explanation of the summary. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rationale; + + /** + * The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex + * status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vexStatus; + + /** + * Human-readable explanation of the summary. + * @return value or {@code null} for none + */ + public java.lang.String getRationale() { + return rationale; + } + + /** + * Human-readable explanation of the summary. + * @param rationale rationale or {@code null} for none + */ + public ExploitabilitySummary setRationale(java.lang.String rationale) { + this.rationale = rationale; + return this; + } + + /** + * The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex + * status. + * @return value or {@code null} for none + */ + public java.lang.String getVexStatus() { + return vexStatus; + } + + /** + * The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex + * status. + * @param vexStatus vexStatus or {@code null} for none + */ + public ExploitabilitySummary setVexStatus(java.lang.String vexStatus) { + this.vexStatus = vexStatus; + return this; + } + + @Override + public ExploitabilitySummary set(String fieldName, Object value) { + return (ExploitabilitySummary) super.set(fieldName, value); + } + + @Override + public ExploitabilitySummary clone() { + return (ExploitabilitySummary) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/PackageIssue.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/PackageIssue.java index 0d932c82f5c..7bc5fc4577f 100644 --- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/PackageIssue.java +++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/PackageIssue.java @@ -61,6 +61,13 @@ public final class PackageIssue extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String effectiveSeverity; + /** + * Output only. Exploitability signals and summary for this package issue. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Exploitability exploitability; + /** * The location at which this package was found. * The value may be {@code null}. @@ -184,6 +191,23 @@ public PackageIssue setEffectiveSeverity(java.lang.String effectiveSeverity) { return this; } + /** + * Output only. Exploitability signals and summary for this package issue. + * @return value or {@code null} for none + */ + public Exploitability getExploitability() { + return exploitability; + } + + /** + * Output only. Exploitability signals and summary for this package issue. + * @param exploitability exploitability or {@code null} for none + */ + public PackageIssue setExploitability(Exploitability exploitability) { + this.exploitability = exploitability; + return this; + } + /** * The location at which this package was found. * @return value or {@code null} for none diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/VulnerabilityOccurrence.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/VulnerabilityOccurrence.java index 64088756163..59e428d5409 100644 --- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/VulnerabilityOccurrence.java +++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/VulnerabilityOccurrence.java @@ -79,6 +79,13 @@ public final class VulnerabilityOccurrence extends com.google.api.client.json.Ge @com.google.api.client.util.Key private java.lang.String effectiveSeverity; + /** + * Output only. Rollup of exploitability across all PackageIssues in this occurrence. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Exploitability exploitability; + /** * Occurrence-specific extra details about the vulnerability. * The value may be {@code null}. @@ -277,6 +284,23 @@ public VulnerabilityOccurrence setEffectiveSeverity(java.lang.String effectiveSe return this; } + /** + * Output only. Rollup of exploitability across all PackageIssues in this occurrence. + * @return value or {@code null} for none + */ + public Exploitability getExploitability() { + return exploitability; + } + + /** + * Output only. Rollup of exploitability across all PackageIssues in this occurrence. + * @param exploitability exploitability or {@code null} for none + */ + public VulnerabilityOccurrence setExploitability(Exploitability exploitability) { + this.exploitability = exploitability; + return this; + } + /** * Occurrence-specific extra details about the vulnerability. * @return value or {@code null} for none diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/pom.xml b/clients/google-api-services-ondemandscanning/v1/2.0.0/pom.xml index 37b04eb7709..5d3ea349784 100644 --- a/clients/google-api-services-ondemandscanning/v1/2.0.0/pom.xml +++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the On-Demand Scanning API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Exploitability extends com.google.api.client.json.GenericJson { + + /** + * Individual exploitability signals from various sources. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the On-Demand Scanning API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExploitabilitySignal extends com.google.api.client.json.GenericJson { + + /** + * Human-readable explanation of this signal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rationale; + + /** + * Identifier of the signal source. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Justification for why the vulnerability is not exploitable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vexJustification; + + /** + * The VEX status asserted by this signal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vexStatus; + + /** + * Human-readable explanation of this signal. + * @return value or {@code null} for none + */ + public java.lang.String getRationale() { + return rationale; + } + + /** + * Human-readable explanation of this signal. + * @param rationale rationale or {@code null} for none + */ + public ExploitabilitySignal setRationale(java.lang.String rationale) { + this.rationale = rationale; + return this; + } + + /** + * Identifier of the signal source. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * Identifier of the signal source. + * @param source source or {@code null} for none + */ + public ExploitabilitySignal setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * Justification for why the vulnerability is not exploitable. + * @return value or {@code null} for none + */ + public java.lang.String getVexJustification() { + return vexJustification; + } + + /** + * Justification for why the vulnerability is not exploitable. + * @param vexJustification vexJustification or {@code null} for none + */ + public ExploitabilitySignal setVexJustification(java.lang.String vexJustification) { + this.vexJustification = vexJustification; + return this; + } + + /** + * The VEX status asserted by this signal. + * @return value or {@code null} for none + */ + public java.lang.String getVexStatus() { + return vexStatus; + } + + /** + * The VEX status asserted by this signal. + * @param vexStatus vexStatus or {@code null} for none + */ + public ExploitabilitySignal setVexStatus(java.lang.String vexStatus) { + this.vexStatus = vexStatus; + return this; + } + + @Override + public ExploitabilitySignal set(String fieldName, Object value) { + return (ExploitabilitySignal) super.set(fieldName, value); + } + + @Override + public ExploitabilitySignal clone() { + return (ExploitabilitySignal) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/ExploitabilitySummary.java b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/ExploitabilitySummary.java new file mode 100644 index 00000000000..5b69fa54487 --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/ExploitabilitySummary.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.ondemandscanning.v1beta1.model; + +/** + * Rollup summary of exploitability across signals. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the On-Demand Scanning API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExploitabilitySummary extends com.google.api.client.json.GenericJson { + + /** + * Human-readable explanation of the summary. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rationale; + + /** + * The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex + * status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vexStatus; + + /** + * Human-readable explanation of the summary. + * @return value or {@code null} for none + */ + public java.lang.String getRationale() { + return rationale; + } + + /** + * Human-readable explanation of the summary. + * @param rationale rationale or {@code null} for none + */ + public ExploitabilitySummary setRationale(java.lang.String rationale) { + this.rationale = rationale; + return this; + } + + /** + * The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex + * status. + * @return value or {@code null} for none + */ + public java.lang.String getVexStatus() { + return vexStatus; + } + + /** + * The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex + * status. + * @param vexStatus vexStatus or {@code null} for none + */ + public ExploitabilitySummary setVexStatus(java.lang.String vexStatus) { + this.vexStatus = vexStatus; + return this; + } + + @Override + public ExploitabilitySummary set(String fieldName, Object value) { + return (ExploitabilitySummary) super.set(fieldName, value); + } + + @Override + public ExploitabilitySummary clone() { + return (ExploitabilitySummary) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/PackageIssue.java b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/PackageIssue.java index f5730525685..4a82daf8421 100644 --- a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/PackageIssue.java +++ b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/PackageIssue.java @@ -61,6 +61,13 @@ public final class PackageIssue extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String effectiveSeverity; + /** + * Output only. Exploitability signals and summary for this package issue. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Exploitability exploitability; + /** * The location at which this package was found. * The value may be {@code null}. @@ -184,6 +191,23 @@ public PackageIssue setEffectiveSeverity(java.lang.String effectiveSeverity) { return this; } + /** + * Output only. Exploitability signals and summary for this package issue. + * @return value or {@code null} for none + */ + public Exploitability getExploitability() { + return exploitability; + } + + /** + * Output only. Exploitability signals and summary for this package issue. + * @param exploitability exploitability or {@code null} for none + */ + public PackageIssue setExploitability(Exploitability exploitability) { + this.exploitability = exploitability; + return this; + } + /** * The location at which this package was found. * @return value or {@code null} for none diff --git a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/VulnerabilityOccurrence.java b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/VulnerabilityOccurrence.java index 51a25e95b99..41da3466a1f 100644 --- a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/VulnerabilityOccurrence.java +++ b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/VulnerabilityOccurrence.java @@ -79,6 +79,13 @@ public final class VulnerabilityOccurrence extends com.google.api.client.json.Ge @com.google.api.client.util.Key private java.lang.String effectiveSeverity; + /** + * Output only. Rollup of exploitability across all PackageIssues in this occurrence. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Exploitability exploitability; + /** * Occurrence-specific extra details about the vulnerability. * The value may be {@code null}. @@ -277,6 +284,23 @@ public VulnerabilityOccurrence setEffectiveSeverity(java.lang.String effectiveSe return this; } + /** + * Output only. Rollup of exploitability across all PackageIssues in this occurrence. + * @return value or {@code null} for none + */ + public Exploitability getExploitability() { + return exploitability; + } + + /** + * Output only. Rollup of exploitability across all PackageIssues in this occurrence. + * @param exploitability exploitability or {@code null} for none + */ + public VulnerabilityOccurrence setExploitability(Exploitability exploitability) { + this.exploitability = exploitability; + return this; + } + /** * Occurrence-specific extra details about the vulnerability. * @return value or {@code null} for none diff --git a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/pom.xml b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/pom.xml index bcdca512347..8afb71610f6 100644 --- a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@