Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-ondemandscanning</artifactId>
<version>v1-rev20260706-2.0.0</version>
<version>v1-rev20260803-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,19 @@ public final class AISkillAnalysisOccurrence extends com.google.api.client.json.
private java.util.List<Finding> 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}.
Expand All @@ -69,22 +76,39 @@ public AISkillAnalysisOccurrence setFindings(java.util.List<Finding> 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() {
return maxSeverity;
}

/**
* 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) {
this.maxSeverity = 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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <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>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <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>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <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>
* </p>
*
* @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();
}

}
Loading
Loading