From 410caf5081ff708fa35565e263cfa80925ee086c Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Fri, 7 Aug 2026 17:36:36 -0700 Subject: [PATCH] chore: regenerate ondemandscanning client --- .../v1/2.0.0/README.md | 4 +- .../v1/model/AISkillAnalysisOccurrence.java | 30 +++- .../v1/model/MaliciousContentLLMResult.java | 91 ++++++++++++ .../model/MaliciousContentStaticResult.java | 91 ++++++++++++ .../v1/model/MalwareScanResult.java | 91 ++++++++++++ .../v1/model/PerScannerVerdict.java | 139 ++++++++++++++++++ .../v1/model/WorkspacePolicyResult.java | 91 ++++++++++++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- .../v1beta1/2.0.0/README.md | 4 +- .../model/AISkillAnalysisOccurrence.java | 30 +++- .../model/MaliciousContentLLMResult.java | 91 ++++++++++++ .../model/MaliciousContentStaticResult.java | 91 ++++++++++++ .../v1beta1/model/MalwareScanResult.java | 91 ++++++++++++ .../v1beta1/model/PerScannerVerdict.java | 139 ++++++++++++++++++ .../v1beta1/model/WorkspacePolicyResult.java | 91 ++++++++++++ .../v1beta1/2.0.0/pom.xml | 4 +- .../v1beta1/README.md | 4 +- 18 files changed, 1072 insertions(+), 18 deletions(-) create mode 100644 clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/MaliciousContentLLMResult.java create mode 100644 clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/MaliciousContentStaticResult.java create mode 100644 clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/MalwareScanResult.java create mode 100644 clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/PerScannerVerdict.java create mode 100644 clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/WorkspacePolicyResult.java create mode 100644 clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/MaliciousContentLLMResult.java create mode 100644 clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/MaliciousContentStaticResult.java create mode 100644 clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/MalwareScanResult.java create mode 100644 clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/PerScannerVerdict.java create mode 100644 clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/WorkspacePolicyResult.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 b6f40d7a375..ba2164608ee 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: com.google.apis google-api-services-ondemandscanning - v1-rev20260706-2.0.0 + v1-rev20260803-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ondemandscanning:v1-rev20260706-2.0.0' + implementation 'com.google.apis:google-api-services-ondemandscanning:v1-rev20260803-2.0.0' } ``` diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AISkillAnalysisOccurrence.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AISkillAnalysisOccurrence.java index 12e8904dc43..6324e139a8c 100644 --- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AISkillAnalysisOccurrence.java +++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AISkillAnalysisOccurrence.java @@ -38,12 +38,19 @@ public final class AISkillAnalysisOccurrence extends com.google.api.client.json. private java.util.List findings; /** - * Maximum severity found among findings. + * Maximum severity found among findings. Per scanner verdict details. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String maxSeverity; + /** + * Per scanner verdict. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private PerScannerVerdict perScannerVerdict; + /** * Name of the skill that produced this analysis. * The value may be {@code null}. @@ -69,7 +76,7 @@ public AISkillAnalysisOccurrence setFindings(java.util.List findings) { } /** - * Maximum severity found among findings. + * Maximum severity found among findings. Per scanner verdict details. * @return value or {@code null} for none */ public java.lang.String getMaxSeverity() { @@ -77,7 +84,7 @@ public java.lang.String getMaxSeverity() { } /** - * Maximum severity found among findings. + * Maximum severity found among findings. Per scanner verdict details. * @param maxSeverity maxSeverity or {@code null} for none */ public AISkillAnalysisOccurrence setMaxSeverity(java.lang.String maxSeverity) { @@ -85,6 +92,23 @@ public AISkillAnalysisOccurrence setMaxSeverity(java.lang.String maxSeverity) { return this; } + /** + * Per scanner verdict. + * @return value or {@code null} for none + */ + public PerScannerVerdict getPerScannerVerdict() { + return perScannerVerdict; + } + + /** + * Per scanner verdict. + * @param perScannerVerdict perScannerVerdict or {@code null} for none + */ + public AISkillAnalysisOccurrence setPerScannerVerdict(PerScannerVerdict perScannerVerdict) { + this.perScannerVerdict = perScannerVerdict; + return this; + } + /** * Name of the skill that produced this analysis. * @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/MaliciousContentLLMResult.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/MaliciousContentLLMResult.java new file mode 100644 index 00000000000..d04aac422cb --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/MaliciousContentLLMResult.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * Result of Malicious Content LLM scan. + * + *

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 MaliciousContentLLMResult extends com.google.api.client.json.GenericJson { + + /** + * Tracks max severity found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String maxSeverity; + + /** + * Status of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanStatus; + + /** + * Tracks max severity found. + * @return value or {@code null} for none + */ + public java.lang.String getMaxSeverity() { + return maxSeverity; + } + + /** + * Tracks max severity found. + * @param maxSeverity maxSeverity or {@code null} for none + */ + public MaliciousContentLLMResult setMaxSeverity(java.lang.String maxSeverity) { + this.maxSeverity = maxSeverity; + return this; + } + + /** + * Status of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanStatus() { + return scanStatus; + } + + /** + * Status of the scan. + * @param scanStatus scanStatus or {@code null} for none + */ + public MaliciousContentLLMResult setScanStatus(java.lang.String scanStatus) { + this.scanStatus = scanStatus; + return this; + } + + @Override + public MaliciousContentLLMResult set(String fieldName, Object value) { + return (MaliciousContentLLMResult) super.set(fieldName, value); + } + + @Override + public MaliciousContentLLMResult clone() { + return (MaliciousContentLLMResult) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/MaliciousContentStaticResult.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/MaliciousContentStaticResult.java new file mode 100644 index 00000000000..517ffd14658 --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/MaliciousContentStaticResult.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * Result of Malicious Content Static scan. + * + *

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 MaliciousContentStaticResult extends com.google.api.client.json.GenericJson { + + /** + * Tracks max severity found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String maxSeverity; + + /** + * Status of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanStatus; + + /** + * Tracks max severity found. + * @return value or {@code null} for none + */ + public java.lang.String getMaxSeverity() { + return maxSeverity; + } + + /** + * Tracks max severity found. + * @param maxSeverity maxSeverity or {@code null} for none + */ + public MaliciousContentStaticResult setMaxSeverity(java.lang.String maxSeverity) { + this.maxSeverity = maxSeverity; + return this; + } + + /** + * Status of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanStatus() { + return scanStatus; + } + + /** + * Status of the scan. + * @param scanStatus scanStatus or {@code null} for none + */ + public MaliciousContentStaticResult setScanStatus(java.lang.String scanStatus) { + this.scanStatus = scanStatus; + return this; + } + + @Override + public MaliciousContentStaticResult set(String fieldName, Object value) { + return (MaliciousContentStaticResult) super.set(fieldName, value); + } + + @Override + public MaliciousContentStaticResult clone() { + return (MaliciousContentStaticResult) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/MalwareScanResult.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/MalwareScanResult.java new file mode 100644 index 00000000000..a2e5d7a5a4a --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/MalwareScanResult.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * Result of Malware scan. + * + *

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 MalwareScanResult extends com.google.api.client.json.GenericJson { + + /** + * Status of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanStatus; + + /** + * Verdict of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verdict; + + /** + * Status of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanStatus() { + return scanStatus; + } + + /** + * Status of the scan. + * @param scanStatus scanStatus or {@code null} for none + */ + public MalwareScanResult setScanStatus(java.lang.String scanStatus) { + this.scanStatus = scanStatus; + return this; + } + + /** + * Verdict of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getVerdict() { + return verdict; + } + + /** + * Verdict of the scan. + * @param verdict verdict or {@code null} for none + */ + public MalwareScanResult setVerdict(java.lang.String verdict) { + this.verdict = verdict; + return this; + } + + @Override + public MalwareScanResult set(String fieldName, Object value) { + return (MalwareScanResult) super.set(fieldName, value); + } + + @Override + public MalwareScanResult clone() { + return (MalwareScanResult) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/PerScannerVerdict.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/PerScannerVerdict.java new file mode 100644 index 00000000000..32cc6001b43 --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/PerScannerVerdict.java @@ -0,0 +1,139 @@ +/* + * 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; + +/** + * Model definition for PerScannerVerdict. + * + *

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 PerScannerVerdict extends com.google.api.client.json.GenericJson { + + /** + * Malicious Content LLM scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private MaliciousContentLLMResult maliciousContentLlmResult; + + /** + * Malicious Content Static scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private MaliciousContentStaticResult maliciousContentStaticResult; + + /** + * Malware scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private MalwareScanResult malwareScan; + + /** + * Workspace Policy scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private WorkspacePolicyResult workspacePolicy; + + /** + * Malicious Content LLM scan result. + * @return value or {@code null} for none + */ + public MaliciousContentLLMResult getMaliciousContentLlmResult() { + return maliciousContentLlmResult; + } + + /** + * Malicious Content LLM scan result. + * @param maliciousContentLlmResult maliciousContentLlmResult or {@code null} for none + */ + public PerScannerVerdict setMaliciousContentLlmResult(MaliciousContentLLMResult maliciousContentLlmResult) { + this.maliciousContentLlmResult = maliciousContentLlmResult; + return this; + } + + /** + * Malicious Content Static scan result. + * @return value or {@code null} for none + */ + public MaliciousContentStaticResult getMaliciousContentStaticResult() { + return maliciousContentStaticResult; + } + + /** + * Malicious Content Static scan result. + * @param maliciousContentStaticResult maliciousContentStaticResult or {@code null} for none + */ + public PerScannerVerdict setMaliciousContentStaticResult(MaliciousContentStaticResult maliciousContentStaticResult) { + this.maliciousContentStaticResult = maliciousContentStaticResult; + return this; + } + + /** + * Malware scan result. + * @return value or {@code null} for none + */ + public MalwareScanResult getMalwareScan() { + return malwareScan; + } + + /** + * Malware scan result. + * @param malwareScan malwareScan or {@code null} for none + */ + public PerScannerVerdict setMalwareScan(MalwareScanResult malwareScan) { + this.malwareScan = malwareScan; + return this; + } + + /** + * Workspace Policy scan result. + * @return value or {@code null} for none + */ + public WorkspacePolicyResult getWorkspacePolicy() { + return workspacePolicy; + } + + /** + * Workspace Policy scan result. + * @param workspacePolicy workspacePolicy or {@code null} for none + */ + public PerScannerVerdict setWorkspacePolicy(WorkspacePolicyResult workspacePolicy) { + this.workspacePolicy = workspacePolicy; + return this; + } + + @Override + public PerScannerVerdict set(String fieldName, Object value) { + return (PerScannerVerdict) super.set(fieldName, value); + } + + @Override + public PerScannerVerdict clone() { + return (PerScannerVerdict) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/WorkspacePolicyResult.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/WorkspacePolicyResult.java new file mode 100644 index 00000000000..e2798370879 --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/WorkspacePolicyResult.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * Result of Workspace Policy scan. + * + *

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 WorkspacePolicyResult extends com.google.api.client.json.GenericJson { + + /** + * Status of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanStatus; + + /** + * Verdict of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verdict; + + /** + * Status of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanStatus() { + return scanStatus; + } + + /** + * Status of the scan. + * @param scanStatus scanStatus or {@code null} for none + */ + public WorkspacePolicyResult setScanStatus(java.lang.String scanStatus) { + this.scanStatus = scanStatus; + return this; + } + + /** + * Verdict of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getVerdict() { + return verdict; + } + + /** + * Verdict of the scan. + * @param verdict verdict or {@code null} for none + */ + public WorkspacePolicyResult setVerdict(java.lang.String verdict) { + this.verdict = verdict; + return this; + } + + @Override + public WorkspacePolicyResult set(String fieldName, Object value) { + return (WorkspacePolicyResult) super.set(fieldName, value); + } + + @Override + public WorkspacePolicyResult clone() { + return (WorkspacePolicyResult) super.clone(); + } + +} 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 a1353b43d10..01c82df287f 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 @@ com.google.apis google-api-services-ondemandscanning - v1-rev20260706-2.0.0 - On-Demand Scanning API v1-rev20260706-2.0.0 + v1-rev20260803-2.0.0 + On-Demand Scanning API v1-rev20260803-2.0.0 jar 2011 diff --git a/clients/google-api-services-ondemandscanning/v1/README.md b/clients/google-api-services-ondemandscanning/v1/README.md index b6f40d7a375..ba2164608ee 100644 --- a/clients/google-api-services-ondemandscanning/v1/README.md +++ b/clients/google-api-services-ondemandscanning/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-ondemandscanning - v1-rev20260706-2.0.0 + v1-rev20260803-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ondemandscanning:v1-rev20260706-2.0.0' + implementation 'com.google.apis:google-api-services-ondemandscanning:v1-rev20260803-2.0.0' } ``` diff --git a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/README.md b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/README.md index 8c85ee75565..0b2d56f1ebc 100644 --- a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-ondemandscanning - v1beta1-rev20260706-2.0.0 + v1beta1-rev20260803-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ondemandscanning:v1beta1-rev20260706-2.0.0' + implementation 'com.google.apis:google-api-services-ondemandscanning:v1beta1-rev20260803-2.0.0' } ``` diff --git a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/AISkillAnalysisOccurrence.java b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/AISkillAnalysisOccurrence.java index 0d7f75e4c8f..6c759628afe 100644 --- a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/AISkillAnalysisOccurrence.java +++ b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/AISkillAnalysisOccurrence.java @@ -38,12 +38,19 @@ public final class AISkillAnalysisOccurrence extends com.google.api.client.json. private java.util.List findings; /** - * Maximum severity found among findings. + * Maximum severity found among findings. Per scanner verdict details. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String maxSeverity; + /** + * Per scanner verdict. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private PerScannerVerdict perScannerVerdict; + /** * Name of the skill that produced this analysis. * The value may be {@code null}. @@ -69,7 +76,7 @@ public AISkillAnalysisOccurrence setFindings(java.util.List findings) { } /** - * Maximum severity found among findings. + * Maximum severity found among findings. Per scanner verdict details. * @return value or {@code null} for none */ public java.lang.String getMaxSeverity() { @@ -77,7 +84,7 @@ public java.lang.String getMaxSeverity() { } /** - * Maximum severity found among findings. + * Maximum severity found among findings. Per scanner verdict details. * @param maxSeverity maxSeverity or {@code null} for none */ public AISkillAnalysisOccurrence setMaxSeverity(java.lang.String maxSeverity) { @@ -85,6 +92,23 @@ public AISkillAnalysisOccurrence setMaxSeverity(java.lang.String maxSeverity) { return this; } + /** + * Per scanner verdict. + * @return value or {@code null} for none + */ + public PerScannerVerdict getPerScannerVerdict() { + return perScannerVerdict; + } + + /** + * Per scanner verdict. + * @param perScannerVerdict perScannerVerdict or {@code null} for none + */ + public AISkillAnalysisOccurrence setPerScannerVerdict(PerScannerVerdict perScannerVerdict) { + this.perScannerVerdict = perScannerVerdict; + return this; + } + /** * Name of the skill that produced this analysis. * @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/MaliciousContentLLMResult.java b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/MaliciousContentLLMResult.java new file mode 100644 index 00000000000..c04deddecf3 --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/MaliciousContentLLMResult.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * Result of Malicious Content LLM scan. + * + *

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 MaliciousContentLLMResult extends com.google.api.client.json.GenericJson { + + /** + * Tracks max severity found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String maxSeverity; + + /** + * Status of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanStatus; + + /** + * Tracks max severity found. + * @return value or {@code null} for none + */ + public java.lang.String getMaxSeverity() { + return maxSeverity; + } + + /** + * Tracks max severity found. + * @param maxSeverity maxSeverity or {@code null} for none + */ + public MaliciousContentLLMResult setMaxSeverity(java.lang.String maxSeverity) { + this.maxSeverity = maxSeverity; + return this; + } + + /** + * Status of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanStatus() { + return scanStatus; + } + + /** + * Status of the scan. + * @param scanStatus scanStatus or {@code null} for none + */ + public MaliciousContentLLMResult setScanStatus(java.lang.String scanStatus) { + this.scanStatus = scanStatus; + return this; + } + + @Override + public MaliciousContentLLMResult set(String fieldName, Object value) { + return (MaliciousContentLLMResult) super.set(fieldName, value); + } + + @Override + public MaliciousContentLLMResult clone() { + return (MaliciousContentLLMResult) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/MaliciousContentStaticResult.java b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/MaliciousContentStaticResult.java new file mode 100644 index 00000000000..5fa7d8a4df9 --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/MaliciousContentStaticResult.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * Result of Malicious Content Static scan. + * + *

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 MaliciousContentStaticResult extends com.google.api.client.json.GenericJson { + + /** + * Tracks max severity found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String maxSeverity; + + /** + * Status of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanStatus; + + /** + * Tracks max severity found. + * @return value or {@code null} for none + */ + public java.lang.String getMaxSeverity() { + return maxSeverity; + } + + /** + * Tracks max severity found. + * @param maxSeverity maxSeverity or {@code null} for none + */ + public MaliciousContentStaticResult setMaxSeverity(java.lang.String maxSeverity) { + this.maxSeverity = maxSeverity; + return this; + } + + /** + * Status of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanStatus() { + return scanStatus; + } + + /** + * Status of the scan. + * @param scanStatus scanStatus or {@code null} for none + */ + public MaliciousContentStaticResult setScanStatus(java.lang.String scanStatus) { + this.scanStatus = scanStatus; + return this; + } + + @Override + public MaliciousContentStaticResult set(String fieldName, Object value) { + return (MaliciousContentStaticResult) super.set(fieldName, value); + } + + @Override + public MaliciousContentStaticResult clone() { + return (MaliciousContentStaticResult) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/MalwareScanResult.java b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/MalwareScanResult.java new file mode 100644 index 00000000000..fa13eb8d7a0 --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/MalwareScanResult.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * Result of Malware scan. + * + *

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 MalwareScanResult extends com.google.api.client.json.GenericJson { + + /** + * Status of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanStatus; + + /** + * Verdict of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verdict; + + /** + * Status of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanStatus() { + return scanStatus; + } + + /** + * Status of the scan. + * @param scanStatus scanStatus or {@code null} for none + */ + public MalwareScanResult setScanStatus(java.lang.String scanStatus) { + this.scanStatus = scanStatus; + return this; + } + + /** + * Verdict of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getVerdict() { + return verdict; + } + + /** + * Verdict of the scan. + * @param verdict verdict or {@code null} for none + */ + public MalwareScanResult setVerdict(java.lang.String verdict) { + this.verdict = verdict; + return this; + } + + @Override + public MalwareScanResult set(String fieldName, Object value) { + return (MalwareScanResult) super.set(fieldName, value); + } + + @Override + public MalwareScanResult clone() { + return (MalwareScanResult) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/PerScannerVerdict.java b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/PerScannerVerdict.java new file mode 100644 index 00000000000..ea24b34e561 --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/PerScannerVerdict.java @@ -0,0 +1,139 @@ +/* + * 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; + +/** + * Model definition for PerScannerVerdict. + * + *

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 PerScannerVerdict extends com.google.api.client.json.GenericJson { + + /** + * Malicious Content LLM scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private MaliciousContentLLMResult maliciousContentLlmResult; + + /** + * Malicious Content Static scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private MaliciousContentStaticResult maliciousContentStaticResult; + + /** + * Malware scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private MalwareScanResult malwareScan; + + /** + * Workspace Policy scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private WorkspacePolicyResult workspacePolicy; + + /** + * Malicious Content LLM scan result. + * @return value or {@code null} for none + */ + public MaliciousContentLLMResult getMaliciousContentLlmResult() { + return maliciousContentLlmResult; + } + + /** + * Malicious Content LLM scan result. + * @param maliciousContentLlmResult maliciousContentLlmResult or {@code null} for none + */ + public PerScannerVerdict setMaliciousContentLlmResult(MaliciousContentLLMResult maliciousContentLlmResult) { + this.maliciousContentLlmResult = maliciousContentLlmResult; + return this; + } + + /** + * Malicious Content Static scan result. + * @return value or {@code null} for none + */ + public MaliciousContentStaticResult getMaliciousContentStaticResult() { + return maliciousContentStaticResult; + } + + /** + * Malicious Content Static scan result. + * @param maliciousContentStaticResult maliciousContentStaticResult or {@code null} for none + */ + public PerScannerVerdict setMaliciousContentStaticResult(MaliciousContentStaticResult maliciousContentStaticResult) { + this.maliciousContentStaticResult = maliciousContentStaticResult; + return this; + } + + /** + * Malware scan result. + * @return value or {@code null} for none + */ + public MalwareScanResult getMalwareScan() { + return malwareScan; + } + + /** + * Malware scan result. + * @param malwareScan malwareScan or {@code null} for none + */ + public PerScannerVerdict setMalwareScan(MalwareScanResult malwareScan) { + this.malwareScan = malwareScan; + return this; + } + + /** + * Workspace Policy scan result. + * @return value or {@code null} for none + */ + public WorkspacePolicyResult getWorkspacePolicy() { + return workspacePolicy; + } + + /** + * Workspace Policy scan result. + * @param workspacePolicy workspacePolicy or {@code null} for none + */ + public PerScannerVerdict setWorkspacePolicy(WorkspacePolicyResult workspacePolicy) { + this.workspacePolicy = workspacePolicy; + return this; + } + + @Override + public PerScannerVerdict set(String fieldName, Object value) { + return (PerScannerVerdict) super.set(fieldName, value); + } + + @Override + public PerScannerVerdict clone() { + return (PerScannerVerdict) super.clone(); + } + +} diff --git a/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/WorkspacePolicyResult.java b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/WorkspacePolicyResult.java new file mode 100644 index 00000000000..6bef1851dd4 --- /dev/null +++ b/clients/google-api-services-ondemandscanning/v1beta1/2.0.0/com/google/api/services/ondemandscanning/v1beta1/model/WorkspacePolicyResult.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * Result of Workspace Policy scan. + * + *

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 WorkspacePolicyResult extends com.google.api.client.json.GenericJson { + + /** + * Status of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanStatus; + + /** + * Verdict of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verdict; + + /** + * Status of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanStatus() { + return scanStatus; + } + + /** + * Status of the scan. + * @param scanStatus scanStatus or {@code null} for none + */ + public WorkspacePolicyResult setScanStatus(java.lang.String scanStatus) { + this.scanStatus = scanStatus; + return this; + } + + /** + * Verdict of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getVerdict() { + return verdict; + } + + /** + * Verdict of the scan. + * @param verdict verdict or {@code null} for none + */ + public WorkspacePolicyResult setVerdict(java.lang.String verdict) { + this.verdict = verdict; + return this; + } + + @Override + public WorkspacePolicyResult set(String fieldName, Object value) { + return (WorkspacePolicyResult) super.set(fieldName, value); + } + + @Override + public WorkspacePolicyResult clone() { + return (WorkspacePolicyResult) super.clone(); + } + +} 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 6382926b9b0..678d185774d 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 @@ com.google.apis google-api-services-ondemandscanning - v1beta1-rev20260706-2.0.0 - On-Demand Scanning API v1beta1-rev20260706-2.0.0 + v1beta1-rev20260803-2.0.0 + On-Demand Scanning API v1beta1-rev20260803-2.0.0 jar 2011 diff --git a/clients/google-api-services-ondemandscanning/v1beta1/README.md b/clients/google-api-services-ondemandscanning/v1beta1/README.md index 8c85ee75565..0b2d56f1ebc 100644 --- a/clients/google-api-services-ondemandscanning/v1beta1/README.md +++ b/clients/google-api-services-ondemandscanning/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-ondemandscanning - v1beta1-rev20260706-2.0.0 + v1beta1-rev20260803-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ondemandscanning:v1beta1-rev20260706-2.0.0' + implementation 'com.google.apis:google-api-services-ondemandscanning:v1beta1-rev20260803-2.0.0' } ```