diff --git a/clients/google-api-services-containeranalysis/v1/2.0.0/README.md b/clients/google-api-services-containeranalysis/v1/2.0.0/README.md index f52afac2b5a..bf6411ea940 100644 --- a/clients/google-api-services-containeranalysis/v1/2.0.0/README.md +++ b/clients/google-api-services-containeranalysis/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-containeranalysis - v1-rev20260703-2.0.0 + v1-rev20260805-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-containeranalysis:v1-rev20260703-2.0.0' + implementation 'com.google.apis:google-api-services-containeranalysis:v1-rev20260805-2.0.0' } ``` diff --git a/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/AISkillAnalysisOccurrence.java b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/AISkillAnalysisOccurrence.java index cf02887c905..0b91c807361 100644 --- a/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/AISkillAnalysisOccurrence.java +++ b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/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-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/MaliciousContentLLMResult.java b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/MaliciousContentLLMResult.java new file mode 100644 index 00000000000..a41e5bee0df --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/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.containeranalysis.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 Container Analysis 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-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/MaliciousContentStaticResult.java b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/MaliciousContentStaticResult.java new file mode 100644 index 00000000000..55a4c49e219 --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/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.containeranalysis.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 Container Analysis 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-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/MalwareScanResult.java b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/MalwareScanResult.java new file mode 100644 index 00000000000..f1397daf25c --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/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.containeranalysis.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 Container Analysis 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-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/PerScannerVerdict.java b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/PerScannerVerdict.java new file mode 100644 index 00000000000..64f43abbf51 --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/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.containeranalysis.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 Container Analysis 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-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/WorkspacePolicyResult.java b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/WorkspacePolicyResult.java new file mode 100644 index 00000000000..1e90a6a727a --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/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.containeranalysis.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 Container Analysis 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-containeranalysis/v1/2.0.0/pom.xml b/clients/google-api-services-containeranalysis/v1/2.0.0/pom.xml index 713bb31d1d7..ab19f939cb2 100644 --- a/clients/google-api-services-containeranalysis/v1/2.0.0/pom.xml +++ b/clients/google-api-services-containeranalysis/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-containeranalysis - v1-rev20260703-2.0.0 - Container Analysis API v1-rev20260703-2.0.0 + v1-rev20260805-2.0.0 + Container Analysis API v1-rev20260805-2.0.0 jar 2011 diff --git a/clients/google-api-services-containeranalysis/v1/README.md b/clients/google-api-services-containeranalysis/v1/README.md index f52afac2b5a..bf6411ea940 100644 --- a/clients/google-api-services-containeranalysis/v1/README.md +++ b/clients/google-api-services-containeranalysis/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-containeranalysis - v1-rev20260703-2.0.0 + v1-rev20260805-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-containeranalysis:v1-rev20260703-2.0.0' + implementation 'com.google.apis:google-api-services-containeranalysis:v1-rev20260805-2.0.0' } ``` diff --git a/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/README.md b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/README.md index 2f1481ffb3c..cfa3484065d 100644 --- a/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/README.md +++ b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-containeranalysis - v1alpha1-rev20260703-2.0.0 + v1alpha1-rev20260805-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-containeranalysis:v1alpha1-rev20260703-2.0.0' + implementation 'com.google.apis:google-api-services-containeranalysis:v1alpha1-rev20260805-2.0.0' } ``` diff --git a/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/AISkillAnalysisOccurrence.java b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/AISkillAnalysisOccurrence.java index 31460eae3c0..bb4d17642d5 100644 --- a/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/AISkillAnalysisOccurrence.java +++ b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/AISkillAnalysisOccurrence.java @@ -44,6 +44,13 @@ public final class AISkillAnalysisOccurrence extends com.google.api.client.json. @com.google.api.client.util.Key private java.lang.String maxSeverity; + /** + * Optional. Per scanner verdict. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private PerScannerVerdict perScannerVerdict; + /** * Optional. Name of the skill that produced this analysis. * The value may be {@code null}. @@ -85,6 +92,23 @@ public AISkillAnalysisOccurrence setMaxSeverity(java.lang.String maxSeverity) { return this; } + /** + * Optional. Per scanner verdict. + * @return value or {@code null} for none + */ + public PerScannerVerdict getPerScannerVerdict() { + return perScannerVerdict; + } + + /** + * Optional. Per scanner verdict. + * @param perScannerVerdict perScannerVerdict or {@code null} for none + */ + public AISkillAnalysisOccurrence setPerScannerVerdict(PerScannerVerdict perScannerVerdict) { + this.perScannerVerdict = perScannerVerdict; + return this; + } + /** * Optional. Name of the skill that produced this analysis. * @return value or {@code null} for none diff --git a/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/MaliciousContentLLMResult.java b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/MaliciousContentLLMResult.java new file mode 100644 index 00000000000..9d8aef3732f --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/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.containeranalysis.v1alpha1.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 Container Analysis 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 { + + /** + * Optional. Tracks max severity found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String maxSeverity; + + /** + * Output only. State of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanState; + + /** + * Optional. Tracks max severity found. + * @return value or {@code null} for none + */ + public java.lang.String getMaxSeverity() { + return maxSeverity; + } + + /** + * Optional. Tracks max severity found. + * @param maxSeverity maxSeverity or {@code null} for none + */ + public MaliciousContentLLMResult setMaxSeverity(java.lang.String maxSeverity) { + this.maxSeverity = maxSeverity; + return this; + } + + /** + * Output only. State of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanState() { + return scanState; + } + + /** + * Output only. State of the scan. + * @param scanState scanState or {@code null} for none + */ + public MaliciousContentLLMResult setScanState(java.lang.String scanState) { + this.scanState = scanState; + 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-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/MaliciousContentStaticResult.java b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/MaliciousContentStaticResult.java new file mode 100644 index 00000000000..5198d5099b9 --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/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.containeranalysis.v1alpha1.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 Container Analysis 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 { + + /** + * Optional. Tracks max severity found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String maxSeverity; + + /** + * Output only. State of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanState; + + /** + * Optional. Tracks max severity found. + * @return value or {@code null} for none + */ + public java.lang.String getMaxSeverity() { + return maxSeverity; + } + + /** + * Optional. Tracks max severity found. + * @param maxSeverity maxSeverity or {@code null} for none + */ + public MaliciousContentStaticResult setMaxSeverity(java.lang.String maxSeverity) { + this.maxSeverity = maxSeverity; + return this; + } + + /** + * Output only. State of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanState() { + return scanState; + } + + /** + * Output only. State of the scan. + * @param scanState scanState or {@code null} for none + */ + public MaliciousContentStaticResult setScanState(java.lang.String scanState) { + this.scanState = scanState; + 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-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/MalwareScanResult.java b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/MalwareScanResult.java new file mode 100644 index 00000000000..734fc2c447e --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/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.containeranalysis.v1alpha1.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 Container Analysis 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 { + + /** + * Output only. State of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanState; + + /** + * Optional. Verdict of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verdict; + + /** + * Output only. State of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanState() { + return scanState; + } + + /** + * Output only. State of the scan. + * @param scanState scanState or {@code null} for none + */ + public MalwareScanResult setScanState(java.lang.String scanState) { + this.scanState = scanState; + return this; + } + + /** + * Optional. Verdict of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getVerdict() { + return verdict; + } + + /** + * Optional. 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-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/PerScannerVerdict.java b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/PerScannerVerdict.java new file mode 100644 index 00000000000..e8f6ac5a22d --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/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.containeranalysis.v1alpha1.model; + +/** + * Per scanner verdict details. + * + *

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 Container Analysis 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 { + + /** + * Optional. Malicious Content LLM scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private MaliciousContentLLMResult maliciousContentLlmResult; + + /** + * Optional. Malicious Content Static scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private MaliciousContentStaticResult maliciousContentStaticResult; + + /** + * Optional. Malware scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private MalwareScanResult malwareScan; + + /** + * Optional. Workspace Policy scan result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private WorkspacePolicyResult workspacePolicy; + + /** + * Optional. Malicious Content LLM scan result. + * @return value or {@code null} for none + */ + public MaliciousContentLLMResult getMaliciousContentLlmResult() { + return maliciousContentLlmResult; + } + + /** + * Optional. Malicious Content LLM scan result. + * @param maliciousContentLlmResult maliciousContentLlmResult or {@code null} for none + */ + public PerScannerVerdict setMaliciousContentLlmResult(MaliciousContentLLMResult maliciousContentLlmResult) { + this.maliciousContentLlmResult = maliciousContentLlmResult; + return this; + } + + /** + * Optional. Malicious Content Static scan result. + * @return value or {@code null} for none + */ + public MaliciousContentStaticResult getMaliciousContentStaticResult() { + return maliciousContentStaticResult; + } + + /** + * Optional. Malicious Content Static scan result. + * @param maliciousContentStaticResult maliciousContentStaticResult or {@code null} for none + */ + public PerScannerVerdict setMaliciousContentStaticResult(MaliciousContentStaticResult maliciousContentStaticResult) { + this.maliciousContentStaticResult = maliciousContentStaticResult; + return this; + } + + /** + * Optional. Malware scan result. + * @return value or {@code null} for none + */ + public MalwareScanResult getMalwareScan() { + return malwareScan; + } + + /** + * Optional. Malware scan result. + * @param malwareScan malwareScan or {@code null} for none + */ + public PerScannerVerdict setMalwareScan(MalwareScanResult malwareScan) { + this.malwareScan = malwareScan; + return this; + } + + /** + * Optional. Workspace Policy scan result. + * @return value or {@code null} for none + */ + public WorkspacePolicyResult getWorkspacePolicy() { + return workspacePolicy; + } + + /** + * Optional. 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-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/WorkspacePolicyResult.java b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/model/WorkspacePolicyResult.java new file mode 100644 index 00000000000..f2a80e44557 --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/com/google/api/services/containeranalysis/v1alpha1/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.containeranalysis.v1alpha1.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 Container Analysis 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 { + + /** + * Output only. State of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scanState; + + /** + * Optional. Verdict of the scan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verdict; + + /** + * Output only. State of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getScanState() { + return scanState; + } + + /** + * Output only. State of the scan. + * @param scanState scanState or {@code null} for none + */ + public WorkspacePolicyResult setScanState(java.lang.String scanState) { + this.scanState = scanState; + return this; + } + + /** + * Optional. Verdict of the scan. + * @return value or {@code null} for none + */ + public java.lang.String getVerdict() { + return verdict; + } + + /** + * Optional. 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-containeranalysis/v1alpha1/2.0.0/pom.xml b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/pom.xml index 380130d2ab9..3561e4ded6b 100644 --- a/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/pom.xml +++ b/clients/google-api-services-containeranalysis/v1alpha1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-containeranalysis - v1alpha1-rev20260703-2.0.0 - Container Analysis API v1alpha1-rev20260703-2.0.0 + v1alpha1-rev20260805-2.0.0 + Container Analysis API v1alpha1-rev20260805-2.0.0 jar 2011 diff --git a/clients/google-api-services-containeranalysis/v1alpha1/README.md b/clients/google-api-services-containeranalysis/v1alpha1/README.md index 2f1481ffb3c..cfa3484065d 100644 --- a/clients/google-api-services-containeranalysis/v1alpha1/README.md +++ b/clients/google-api-services-containeranalysis/v1alpha1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-containeranalysis - v1alpha1-rev20260703-2.0.0 + v1alpha1-rev20260805-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-containeranalysis:v1alpha1-rev20260703-2.0.0' + implementation 'com.google.apis:google-api-services-containeranalysis:v1alpha1-rev20260805-2.0.0' } ``` diff --git a/clients/google-api-services-containeranalysis/v1beta1/2.0.0/README.md b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/README.md index de17c0f05e4..c430dcd9997 100644 --- a/clients/google-api-services-containeranalysis/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-containeranalysis/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-containeranalysis - v1beta1-rev20260703-2.0.0 + v1beta1-rev20260805-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-containeranalysis:v1beta1-rev20260703-2.0.0' + implementation 'com.google.apis:google-api-services-containeranalysis:v1beta1-rev20260805-2.0.0' } ``` diff --git a/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/AISkillAnalysisOccurrence.java b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/AISkillAnalysisOccurrence.java index e768bf87c71..a8d3dd91d66 100644 --- a/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/AISkillAnalysisOccurrence.java +++ b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/AISkillAnalysisOccurrence.java @@ -44,6 +44,13 @@ public final class AISkillAnalysisOccurrence extends com.google.api.client.json. @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}. @@ -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-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/MaliciousContentLLMResult.java b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/MaliciousContentLLMResult.java new file mode 100644 index 00000000000..270b4172cb9 --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/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.containeranalysis.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 Container Analysis 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-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/MaliciousContentStaticResult.java b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/MaliciousContentStaticResult.java new file mode 100644 index 00000000000..709a300d42d --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/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.containeranalysis.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 Container Analysis 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-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/MalwareScanResult.java b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/MalwareScanResult.java new file mode 100644 index 00000000000..52a10a81f48 --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/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.containeranalysis.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 Container Analysis 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-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/PerScannerVerdict.java b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/PerScannerVerdict.java new file mode 100644 index 00000000000..79e33a91039 --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/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.containeranalysis.v1beta1.model; + +/** + * Per scanner verdict details. + * + *

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 Container Analysis 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-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/WorkspacePolicyResult.java b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/v1beta1/model/WorkspacePolicyResult.java new file mode 100644 index 00000000000..e8b5b3b673a --- /dev/null +++ b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/com/google/api/services/containeranalysis/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.containeranalysis.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 Container Analysis 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-containeranalysis/v1beta1/2.0.0/pom.xml b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/pom.xml index 2b883d2cb98..35400cd6b25 100644 --- a/clients/google-api-services-containeranalysis/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-containeranalysis/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-containeranalysis - v1beta1-rev20260703-2.0.0 - Container Analysis API v1beta1-rev20260703-2.0.0 + v1beta1-rev20260805-2.0.0 + Container Analysis API v1beta1-rev20260805-2.0.0 jar 2011 diff --git a/clients/google-api-services-containeranalysis/v1beta1/README.md b/clients/google-api-services-containeranalysis/v1beta1/README.md index de17c0f05e4..c430dcd9997 100644 --- a/clients/google-api-services-containeranalysis/v1beta1/README.md +++ b/clients/google-api-services-containeranalysis/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-containeranalysis - v1beta1-rev20260703-2.0.0 + v1beta1-rev20260805-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-containeranalysis:v1beta1-rev20260703-2.0.0' + implementation 'com.google.apis:google-api-services-containeranalysis:v1beta1-rev20260805-2.0.0' } ```