From c9d6328ae47fc898338ef406edccfb9fbeba48f6 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Fri, 14 Aug 2026 17:38:19 -0700 Subject: [PATCH] chore: regenerate assuredworkloads client --- .../v1/2.0.0/README.md | 4 +- .../assuredworkloads/v1/Assuredworkloads.java | 147 ------ ...dsV1BatchAcknowledgeViolationsRequest.java | 118 ----- ...sV1BatchAcknowledgeViolationsResponse.java | 67 --- ...oudAssuredworkloadsV1DbFindingSummary.java | 48 ++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- .../v1beta1/2.0.0/README.md | 4 +- .../v1beta1/Assuredworkloads.java | 485 ------------------ ...eta1BatchAcknowledgeViolationsRequest.java | 118 ----- ...ta1BatchAcknowledgeViolationsResponse.java | 67 --- ...suredworkloadsV1beta1DbFindingSummary.java | 48 ++ .../v1beta1/2.0.0/pom.xml | 4 +- .../v1beta1/README.md | 4 +- 14 files changed, 108 insertions(+), 1014 deletions(-) delete mode 100644 clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest.java delete mode 100644 clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse.java delete mode 100644 clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest.java delete mode 100644 clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse.java diff --git a/clients/google-api-services-assuredworkloads/v1/2.0.0/README.md b/clients/google-api-services-assuredworkloads/v1/2.0.0/README.md index a3039efbc45..25d36611688 100644 --- a/clients/google-api-services-assuredworkloads/v1/2.0.0/README.md +++ b/clients/google-api-services-assuredworkloads/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-assuredworkloads - v1-rev20260719-2.0.0 + v1-rev20260810-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-assuredworkloads:v1-rev20260719-2.0.0' + implementation 'com.google.apis:google-api-services-assuredworkloads:v1-rev20260810-2.0.0' } ``` diff --git a/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/Assuredworkloads.java b/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/Assuredworkloads.java index a4cc05292f4..65c8f74c026 100644 --- a/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/Assuredworkloads.java +++ b/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/Assuredworkloads.java @@ -5329,153 +5329,6 @@ public Acknowledge set(String parameterName, Object value) { return (Acknowledge) super.set(parameterName, value); } } - /** - * Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the - * existence of compliance violations in their workload and decide to ignore them due to a valid - * business justification. Acknowledgement is a permanent operation and it cannot be reverted. This - * is a batch version of AcknowledgeViolation. - * - * Create a request for the method "violations.batchAcknowledgeViolations". - * - * This request holds the parameters needed by the assuredworkloads server. After setting any - * optional parameters, call the {@link BatchAcknowledgeViolations#execute()} method to invoke the - * remote operation. - * - * @param parent Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - * @param content the {@link com.google.api.services.assuredworkloads.v1.model.GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest} - * @return the request - */ - public BatchAcknowledgeViolations batchAcknowledgeViolations(java.lang.String parent, com.google.api.services.assuredworkloads.v1.model.GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest content) throws java.io.IOException { - BatchAcknowledgeViolations result = new BatchAcknowledgeViolations(parent, content); - initialize(result); - return result; - } - - public class BatchAcknowledgeViolations extends AssuredworkloadsRequest { - - private static final String REST_PATH = "v1/{+parent}/violations:batchAcknowledgeViolations"; - - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$"); - - /** - * Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the - * existence of compliance violations in their workload and decide to ignore them due to a valid - * business justification. Acknowledgement is a permanent operation and it cannot be reverted. - * This is a batch version of AcknowledgeViolation. - * - * Create a request for the method "violations.batchAcknowledgeViolations". - * - * This request holds the parameters needed by the the assuredworkloads server. After setting any - * optional parameters, call the {@link BatchAcknowledgeViolations#execute()} method to invoke the - * remote operation.

{@link BatchAcknowledgeViolations#initialize(com.google.api.client.google - * apis.services.AbstractGoogleClientRequest)} must be called to initialize this instance - * immediately after invoking the constructor.

- * - * @param parent Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - * @param content the {@link com.google.api.services.assuredworkloads.v1.model.GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest} - * @since 1.13 - */ - protected BatchAcknowledgeViolations(java.lang.String parent, com.google.api.services.assuredworkloads.v1.model.GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest content) { - super(Assuredworkloads.this, "POST", REST_PATH, content, com.google.api.services.assuredworkloads.v1.model.GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$"); - } - } - - @Override - public BatchAcknowledgeViolations set$Xgafv(java.lang.String $Xgafv) { - return (BatchAcknowledgeViolations) super.set$Xgafv($Xgafv); - } - - @Override - public BatchAcknowledgeViolations setAccessToken(java.lang.String accessToken) { - return (BatchAcknowledgeViolations) super.setAccessToken(accessToken); - } - - @Override - public BatchAcknowledgeViolations setAlt(java.lang.String alt) { - return (BatchAcknowledgeViolations) super.setAlt(alt); - } - - @Override - public BatchAcknowledgeViolations setCallback(java.lang.String callback) { - return (BatchAcknowledgeViolations) super.setCallback(callback); - } - - @Override - public BatchAcknowledgeViolations setFields(java.lang.String fields) { - return (BatchAcknowledgeViolations) super.setFields(fields); - } - - @Override - public BatchAcknowledgeViolations setKey(java.lang.String key) { - return (BatchAcknowledgeViolations) super.setKey(key); - } - - @Override - public BatchAcknowledgeViolations setOauthToken(java.lang.String oauthToken) { - return (BatchAcknowledgeViolations) super.setOauthToken(oauthToken); - } - - @Override - public BatchAcknowledgeViolations setPrettyPrint(java.lang.Boolean prettyPrint) { - return (BatchAcknowledgeViolations) super.setPrettyPrint(prettyPrint); - } - - @Override - public BatchAcknowledgeViolations setQuotaUser(java.lang.String quotaUser) { - return (BatchAcknowledgeViolations) super.setQuotaUser(quotaUser); - } - - @Override - public BatchAcknowledgeViolations setUploadType(java.lang.String uploadType) { - return (BatchAcknowledgeViolations) super.setUploadType(uploadType); - } - - @Override - public BatchAcknowledgeViolations setUploadProtocol(java.lang.String uploadProtocol) { - return (BatchAcknowledgeViolations) super.setUploadProtocol(uploadProtocol); - } - - /** - * Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Optional. The parent resource shared by all violations being acknowledged. Format: - organizations/{organization}/locations/{location}/workloads/{workload} - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - */ - public BatchAcknowledgeViolations setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$"); - } - this.parent = parent; - return this; - } - - @Override - public BatchAcknowledgeViolations set(String parameterName, Object value) { - return (BatchAcknowledgeViolations) super.set(parameterName, value); - } - } /** * Retrieves Assured Workload Violation based on ID. * diff --git a/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest.java b/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest.java deleted file mode 100644 index 60451b07ee1..00000000000 --- a/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * 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.assuredworkloads.v1.model; - -/** - * Request for acknowledging the violations in a batch - * - *

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 Assured Workloads 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 GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest extends com.google.api.client.json.GenericJson { - - /** - * Optional. Acknowledge type of specified violations. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String acknowledgeType; - - /** - * Required. Business justification explaining the need for violations acknowledgement - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String comment; - - /** - * Required. The resource names of the Violations to acknowledge. Format for each name: - * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List names; - - /** - * Optional. Acknowledge type of specified violations. - * @return value or {@code null} for none - */ - public java.lang.String getAcknowledgeType() { - return acknowledgeType; - } - - /** - * Optional. Acknowledge type of specified violations. - * @param acknowledgeType acknowledgeType or {@code null} for none - */ - public GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest setAcknowledgeType(java.lang.String acknowledgeType) { - this.acknowledgeType = acknowledgeType; - return this; - } - - /** - * Required. Business justification explaining the need for violations acknowledgement - * @return value or {@code null} for none - */ - public java.lang.String getComment() { - return comment; - } - - /** - * Required. Business justification explaining the need for violations acknowledgement - * @param comment comment or {@code null} for none - */ - public GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest setComment(java.lang.String comment) { - this.comment = comment; - return this; - } - - /** - * Required. The resource names of the Violations to acknowledge. Format for each name: - * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} - * @return value or {@code null} for none - */ - public java.util.List getNames() { - return names; - } - - /** - * Required. The resource names of the Violations to acknowledge. Format for each name: - * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} - * @param names names or {@code null} for none - */ - public GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest setNames(java.util.List names) { - this.names = names; - return this; - } - - @Override - public GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest set(String fieldName, Object value) { - return (GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest) super.set(fieldName, value); - } - - @Override - public GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest clone() { - return (GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest) super.clone(); - } - -} diff --git a/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse.java b/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse.java deleted file mode 100644 index d4df741b2f0..00000000000 --- a/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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.assuredworkloads.v1.model; - -/** - * Response for batch violation acknowledgement - * - *

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 Assured Workloads 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 GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse extends com.google.api.client.json.GenericJson { - - /** - * Count of acknowledged violations. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.Integer acknowledgedViolationsCount; - - /** - * Count of acknowledged violations. - * @return value or {@code null} for none - */ - public java.lang.Integer getAcknowledgedViolationsCount() { - return acknowledgedViolationsCount; - } - - /** - * Count of acknowledged violations. - * @param acknowledgedViolationsCount acknowledgedViolationsCount or {@code null} for none - */ - public GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse setAcknowledgedViolationsCount(java.lang.Integer acknowledgedViolationsCount) { - this.acknowledgedViolationsCount = acknowledgedViolationsCount; - return this; - } - - @Override - public GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse set(String fieldName, Object value) { - return (GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse) super.set(fieldName, value); - } - - @Override - public GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse clone() { - return (GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse) super.clone(); - } - -} diff --git a/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1DbFindingSummary.java b/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1DbFindingSummary.java index dbec2d81ec9..be0df558906 100644 --- a/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1DbFindingSummary.java +++ b/clients/google-api-services-assuredworkloads/v1/2.0.0/com/google/api/services/assuredworkloads/v1/model/GoogleCloudAssuredworkloadsV1DbFindingSummary.java @@ -58,6 +58,13 @@ public final class GoogleCloudAssuredworkloadsV1DbFindingSummary extends com.goo @com.google.api.client.util.Key private java.lang.String name; + /** + * Output only. Number of active organization policy findings for this category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long organizationPolicyFindingCount; + /** * Optional. The list of compliance frameworks that the finding belongs to. * The value may be {@code null}. @@ -65,6 +72,13 @@ public final class GoogleCloudAssuredworkloadsV1DbFindingSummary extends com.goo @com.google.api.client.util.Key private java.util.List relatedFrameworks; + /** + * Output only. Number of active resource findings for this category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long resourceFindingCount; + /** * Output only. The severity of the finding. * The value may be {@code null}. @@ -147,6 +161,23 @@ public GoogleCloudAssuredworkloadsV1DbFindingSummary setName(java.lang.String na return this; } + /** + * Output only. Number of active organization policy findings for this category. + * @return value or {@code null} for none + */ + public java.lang.Long getOrganizationPolicyFindingCount() { + return organizationPolicyFindingCount; + } + + /** + * Output only. Number of active organization policy findings for this category. + * @param organizationPolicyFindingCount organizationPolicyFindingCount or {@code null} for none + */ + public GoogleCloudAssuredworkloadsV1DbFindingSummary setOrganizationPolicyFindingCount(java.lang.Long organizationPolicyFindingCount) { + this.organizationPolicyFindingCount = organizationPolicyFindingCount; + return this; + } + /** * Optional. The list of compliance frameworks that the finding belongs to. * @return value or {@code null} for none @@ -164,6 +195,23 @@ public GoogleCloudAssuredworkloadsV1DbFindingSummary setRelatedFrameworks(java.u return this; } + /** + * Output only. Number of active resource findings for this category. + * @return value or {@code null} for none + */ + public java.lang.Long getResourceFindingCount() { + return resourceFindingCount; + } + + /** + * Output only. Number of active resource findings for this category. + * @param resourceFindingCount resourceFindingCount or {@code null} for none + */ + public GoogleCloudAssuredworkloadsV1DbFindingSummary setResourceFindingCount(java.lang.Long resourceFindingCount) { + this.resourceFindingCount = resourceFindingCount; + return this; + } + /** * Output only. The severity of the finding. * @return value or {@code null} for none diff --git a/clients/google-api-services-assuredworkloads/v1/2.0.0/pom.xml b/clients/google-api-services-assuredworkloads/v1/2.0.0/pom.xml index 248c1e49876..f87cdca6287 100644 --- a/clients/google-api-services-assuredworkloads/v1/2.0.0/pom.xml +++ b/clients/google-api-services-assuredworkloads/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-assuredworkloads - v1-rev20260719-2.0.0 - Assured Workloads API v1-rev20260719-2.0.0 + v1-rev20260810-2.0.0 + Assured Workloads API v1-rev20260810-2.0.0 jar 2011 diff --git a/clients/google-api-services-assuredworkloads/v1/README.md b/clients/google-api-services-assuredworkloads/v1/README.md index a3039efbc45..25d36611688 100644 --- a/clients/google-api-services-assuredworkloads/v1/README.md +++ b/clients/google-api-services-assuredworkloads/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-assuredworkloads - v1-rev20260719-2.0.0 + v1-rev20260810-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-assuredworkloads:v1-rev20260719-2.0.0' + implementation 'com.google.apis:google-api-services-assuredworkloads:v1-rev20260810-2.0.0' } ``` diff --git a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/README.md b/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/README.md index 02dc67e5ae6..6ab170a0002 100644 --- a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-assuredworkloads/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-assuredworkloads - v1beta1-rev20260719-2.0.0 + v1beta1-rev20260810-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-assuredworkloads:v1beta1-rev20260719-2.0.0' + implementation 'com.google.apis:google-api-services-assuredworkloads:v1beta1-rev20260810-2.0.0' } ``` diff --git a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/Assuredworkloads.java b/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/Assuredworkloads.java index 7aa09396f1a..6c71c1ef6a4 100644 --- a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/Assuredworkloads.java +++ b/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/Assuredworkloads.java @@ -3097,175 +3097,6 @@ public List set(String parameterName, Object value) { } } - } - /** - * An accessor for creating requests from the Violations collection. - * - *

The typical use is:

- *
-       *   {@code Assuredworkloads assuredworkloads = new Assuredworkloads(...);}
-       *   {@code Assuredworkloads.Violations.List request = assuredworkloads.violations().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public Violations violations() { - return new Violations(); - } - - /** - * The "violations" collection of methods. - */ - public class Violations { - - /** - * Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the - * existence of compliance violations in their workload and decide to ignore them due to a valid - * business justification. Acknowledgement is a permanent operation and it cannot be reverted. This - * is a batch version of AcknowledgeViolation. - * - * Create a request for the method "violations.batchAcknowledgeViolations". - * - * This request holds the parameters needed by the assuredworkloads server. After setting any - * optional parameters, call the {@link BatchAcknowledgeViolations#execute()} method to invoke the - * remote operation. - * - * @param parent Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - * @param content the {@link com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest} - * @return the request - */ - public BatchAcknowledgeViolations batchAcknowledgeViolations(java.lang.String parent, com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest content) throws java.io.IOException { - BatchAcknowledgeViolations result = new BatchAcknowledgeViolations(parent, content); - initialize(result); - return result; - } - - public class BatchAcknowledgeViolations extends AssuredworkloadsRequest { - - private static final String REST_PATH = "v1beta1/{+parent}/violations:batchAcknowledgeViolations"; - - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^organizations/[^/]+/locations/[^/]+$"); - - /** - * Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the - * existence of compliance violations in their workload and decide to ignore them due to a valid - * business justification. Acknowledgement is a permanent operation and it cannot be reverted. - * This is a batch version of AcknowledgeViolation. - * - * Create a request for the method "violations.batchAcknowledgeViolations". - * - * This request holds the parameters needed by the the assuredworkloads server. After setting any - * optional parameters, call the {@link BatchAcknowledgeViolations#execute()} method to invoke the - * remote operation.

{@link BatchAcknowledgeViolations#initialize(com.google.api.client.google - * apis.services.AbstractGoogleClientRequest)} must be called to initialize this instance - * immediately after invoking the constructor.

- * - * @param parent Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - * @param content the {@link com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest} - * @since 1.13 - */ - protected BatchAcknowledgeViolations(java.lang.String parent, com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest content) { - super(Assuredworkloads.this, "POST", REST_PATH, content, com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+$"); - } - } - - @Override - public BatchAcknowledgeViolations set$Xgafv(java.lang.String $Xgafv) { - return (BatchAcknowledgeViolations) super.set$Xgafv($Xgafv); - } - - @Override - public BatchAcknowledgeViolations setAccessToken(java.lang.String accessToken) { - return (BatchAcknowledgeViolations) super.setAccessToken(accessToken); - } - - @Override - public BatchAcknowledgeViolations setAlt(java.lang.String alt) { - return (BatchAcknowledgeViolations) super.setAlt(alt); - } - - @Override - public BatchAcknowledgeViolations setCallback(java.lang.String callback) { - return (BatchAcknowledgeViolations) super.setCallback(callback); - } - - @Override - public BatchAcknowledgeViolations setFields(java.lang.String fields) { - return (BatchAcknowledgeViolations) super.setFields(fields); - } - - @Override - public BatchAcknowledgeViolations setKey(java.lang.String key) { - return (BatchAcknowledgeViolations) super.setKey(key); - } - - @Override - public BatchAcknowledgeViolations setOauthToken(java.lang.String oauthToken) { - return (BatchAcknowledgeViolations) super.setOauthToken(oauthToken); - } - - @Override - public BatchAcknowledgeViolations setPrettyPrint(java.lang.Boolean prettyPrint) { - return (BatchAcknowledgeViolations) super.setPrettyPrint(prettyPrint); - } - - @Override - public BatchAcknowledgeViolations setQuotaUser(java.lang.String quotaUser) { - return (BatchAcknowledgeViolations) super.setQuotaUser(quotaUser); - } - - @Override - public BatchAcknowledgeViolations setUploadType(java.lang.String uploadType) { - return (BatchAcknowledgeViolations) super.setUploadType(uploadType); - } - - @Override - public BatchAcknowledgeViolations setUploadProtocol(java.lang.String uploadProtocol) { - return (BatchAcknowledgeViolations) super.setUploadProtocol(uploadProtocol); - } - - /** - * Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Optional. The parent resource shared by all violations being acknowledged. Format: - organizations/{organization}/locations/{location}/workloads/{workload} - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - */ - public BatchAcknowledgeViolations setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+$"); - } - this.parent = parent; - return this; - } - - @Override - public BatchAcknowledgeViolations set(String parameterName, Object value) { - return (BatchAcknowledgeViolations) super.set(parameterName, value); - } - } - } /** * An accessor for creating requests from the Workloads collection. @@ -5355,153 +5186,6 @@ public Acknowledge set(String parameterName, Object value) { return (Acknowledge) super.set(parameterName, value); } } - /** - * Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the - * existence of compliance violations in their workload and decide to ignore them due to a valid - * business justification. Acknowledgement is a permanent operation and it cannot be reverted. This - * is a batch version of AcknowledgeViolation. - * - * Create a request for the method "violations.batchAcknowledgeViolations". - * - * This request holds the parameters needed by the assuredworkloads server. After setting any - * optional parameters, call the {@link BatchAcknowledgeViolations#execute()} method to invoke the - * remote operation. - * - * @param parent Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - * @param content the {@link com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest} - * @return the request - */ - public BatchAcknowledgeViolations batchAcknowledgeViolations(java.lang.String parent, com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest content) throws java.io.IOException { - BatchAcknowledgeViolations result = new BatchAcknowledgeViolations(parent, content); - initialize(result); - return result; - } - - public class BatchAcknowledgeViolations extends AssuredworkloadsRequest { - - private static final String REST_PATH = "v1beta1/{+parent}/violations:batchAcknowledgeViolations"; - - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$"); - - /** - * Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the - * existence of compliance violations in their workload and decide to ignore them due to a valid - * business justification. Acknowledgement is a permanent operation and it cannot be reverted. - * This is a batch version of AcknowledgeViolation. - * - * Create a request for the method "violations.batchAcknowledgeViolations". - * - * This request holds the parameters needed by the the assuredworkloads server. After setting any - * optional parameters, call the {@link BatchAcknowledgeViolations#execute()} method to invoke the - * remote operation.

{@link BatchAcknowledgeViolations#initialize(com.google.api.client.google - * apis.services.AbstractGoogleClientRequest)} must be called to initialize this instance - * immediately after invoking the constructor.

- * - * @param parent Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - * @param content the {@link com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest} - * @since 1.13 - */ - protected BatchAcknowledgeViolations(java.lang.String parent, com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest content) { - super(Assuredworkloads.this, "POST", REST_PATH, content, com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$"); - } - } - - @Override - public BatchAcknowledgeViolations set$Xgafv(java.lang.String $Xgafv) { - return (BatchAcknowledgeViolations) super.set$Xgafv($Xgafv); - } - - @Override - public BatchAcknowledgeViolations setAccessToken(java.lang.String accessToken) { - return (BatchAcknowledgeViolations) super.setAccessToken(accessToken); - } - - @Override - public BatchAcknowledgeViolations setAlt(java.lang.String alt) { - return (BatchAcknowledgeViolations) super.setAlt(alt); - } - - @Override - public BatchAcknowledgeViolations setCallback(java.lang.String callback) { - return (BatchAcknowledgeViolations) super.setCallback(callback); - } - - @Override - public BatchAcknowledgeViolations setFields(java.lang.String fields) { - return (BatchAcknowledgeViolations) super.setFields(fields); - } - - @Override - public BatchAcknowledgeViolations setKey(java.lang.String key) { - return (BatchAcknowledgeViolations) super.setKey(key); - } - - @Override - public BatchAcknowledgeViolations setOauthToken(java.lang.String oauthToken) { - return (BatchAcknowledgeViolations) super.setOauthToken(oauthToken); - } - - @Override - public BatchAcknowledgeViolations setPrettyPrint(java.lang.Boolean prettyPrint) { - return (BatchAcknowledgeViolations) super.setPrettyPrint(prettyPrint); - } - - @Override - public BatchAcknowledgeViolations setQuotaUser(java.lang.String quotaUser) { - return (BatchAcknowledgeViolations) super.setQuotaUser(quotaUser); - } - - @Override - public BatchAcknowledgeViolations setUploadType(java.lang.String uploadType) { - return (BatchAcknowledgeViolations) super.setUploadType(uploadType); - } - - @Override - public BatchAcknowledgeViolations setUploadProtocol(java.lang.String uploadProtocol) { - return (BatchAcknowledgeViolations) super.setUploadProtocol(uploadProtocol); - } - - /** - * Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Optional. The parent resource shared by all violations being acknowledged. Format: - organizations/{organization}/locations/{location}/workloads/{workload} - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - */ - public BatchAcknowledgeViolations setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$"); - } - this.parent = parent; - return this; - } - - @Override - public BatchAcknowledgeViolations set(String parameterName, Object value) { - return (BatchAcknowledgeViolations) super.set(parameterName, value); - } - } /** * Retrieves Assured Workload Violation based on ID. * @@ -5906,175 +5590,6 @@ public List set(String parameterName, Object value) { } } } - /** - * An accessor for creating requests from the Violations collection. - * - *

The typical use is:

- *
-     *   {@code Assuredworkloads assuredworkloads = new Assuredworkloads(...);}
-     *   {@code Assuredworkloads.Violations.List request = assuredworkloads.violations().list(parameters ...)}
-     * 
- * - * @return the resource collection - */ - public Violations violations() { - return new Violations(); - } - - /** - * The "violations" collection of methods. - */ - public class Violations { - - /** - * Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the - * existence of compliance violations in their workload and decide to ignore them due to a valid - * business justification. Acknowledgement is a permanent operation and it cannot be reverted. This - * is a batch version of AcknowledgeViolation. - * - * Create a request for the method "violations.batchAcknowledgeViolations". - * - * This request holds the parameters needed by the assuredworkloads server. After setting any - * optional parameters, call the {@link BatchAcknowledgeViolations#execute()} method to invoke the - * remote operation. - * - * @param parent Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - * @param content the {@link com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest} - * @return the request - */ - public BatchAcknowledgeViolations batchAcknowledgeViolations(java.lang.String parent, com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest content) throws java.io.IOException { - BatchAcknowledgeViolations result = new BatchAcknowledgeViolations(parent, content); - initialize(result); - return result; - } - - public class BatchAcknowledgeViolations extends AssuredworkloadsRequest { - - private static final String REST_PATH = "v1beta1/{+parent}/violations:batchAcknowledgeViolations"; - - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^organizations/[^/]+$"); - - /** - * Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the - * existence of compliance violations in their workload and decide to ignore them due to a valid - * business justification. Acknowledgement is a permanent operation and it cannot be reverted. - * This is a batch version of AcknowledgeViolation. - * - * Create a request for the method "violations.batchAcknowledgeViolations". - * - * This request holds the parameters needed by the the assuredworkloads server. After setting any - * optional parameters, call the {@link BatchAcknowledgeViolations#execute()} method to invoke the - * remote operation.

{@link BatchAcknowledgeViolations#initialize(com.google.api.client.google - * apis.services.AbstractGoogleClientRequest)} must be called to initialize this instance - * immediately after invoking the constructor.

- * - * @param parent Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - * @param content the {@link com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest} - * @since 1.13 - */ - protected BatchAcknowledgeViolations(java.lang.String parent, com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest content) { - super(Assuredworkloads.this, "POST", REST_PATH, content, com.google.api.services.assuredworkloads.v1beta1.model.GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^organizations/[^/]+$"); - } - } - - @Override - public BatchAcknowledgeViolations set$Xgafv(java.lang.String $Xgafv) { - return (BatchAcknowledgeViolations) super.set$Xgafv($Xgafv); - } - - @Override - public BatchAcknowledgeViolations setAccessToken(java.lang.String accessToken) { - return (BatchAcknowledgeViolations) super.setAccessToken(accessToken); - } - - @Override - public BatchAcknowledgeViolations setAlt(java.lang.String alt) { - return (BatchAcknowledgeViolations) super.setAlt(alt); - } - - @Override - public BatchAcknowledgeViolations setCallback(java.lang.String callback) { - return (BatchAcknowledgeViolations) super.setCallback(callback); - } - - @Override - public BatchAcknowledgeViolations setFields(java.lang.String fields) { - return (BatchAcknowledgeViolations) super.setFields(fields); - } - - @Override - public BatchAcknowledgeViolations setKey(java.lang.String key) { - return (BatchAcknowledgeViolations) super.setKey(key); - } - - @Override - public BatchAcknowledgeViolations setOauthToken(java.lang.String oauthToken) { - return (BatchAcknowledgeViolations) super.setOauthToken(oauthToken); - } - - @Override - public BatchAcknowledgeViolations setPrettyPrint(java.lang.Boolean prettyPrint) { - return (BatchAcknowledgeViolations) super.setPrettyPrint(prettyPrint); - } - - @Override - public BatchAcknowledgeViolations setQuotaUser(java.lang.String quotaUser) { - return (BatchAcknowledgeViolations) super.setQuotaUser(quotaUser); - } - - @Override - public BatchAcknowledgeViolations setUploadType(java.lang.String uploadType) { - return (BatchAcknowledgeViolations) super.setUploadType(uploadType); - } - - @Override - public BatchAcknowledgeViolations setUploadProtocol(java.lang.String uploadProtocol) { - return (BatchAcknowledgeViolations) super.setUploadProtocol(uploadProtocol); - } - - /** - * Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Optional. The parent resource shared by all violations being acknowledged. Format: - organizations/{organization}/locations/{location}/workloads/{workload} - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Optional. The parent resource shared by all violations being acknowledged. Format: - * organizations/{organization}/locations/{location}/workloads/{workload} - */ - public BatchAcknowledgeViolations setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^organizations/[^/]+$"); - } - this.parent = parent; - return this; - } - - @Override - public BatchAcknowledgeViolations set(String parameterName, Object value) { - return (BatchAcknowledgeViolations) super.set(parameterName, value); - } - } - - } } /** diff --git a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest.java b/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest.java deleted file mode 100644 index fda0a5c7c1b..00000000000 --- a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * 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.assuredworkloads.v1beta1.model; - -/** - * Request for acknowledging the violations in a batch - * - *

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 Assured Workloads 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 GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest extends com.google.api.client.json.GenericJson { - - /** - * Optional. Acknowledge type of specified violations. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String acknowledgeType; - - /** - * Required. Business justification explaining the need for violations acknowledgement - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String comment; - - /** - * Required. The resource names of the Violations to acknowledge. Format for each name: - * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List names; - - /** - * Optional. Acknowledge type of specified violations. - * @return value or {@code null} for none - */ - public java.lang.String getAcknowledgeType() { - return acknowledgeType; - } - - /** - * Optional. Acknowledge type of specified violations. - * @param acknowledgeType acknowledgeType or {@code null} for none - */ - public GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest setAcknowledgeType(java.lang.String acknowledgeType) { - this.acknowledgeType = acknowledgeType; - return this; - } - - /** - * Required. Business justification explaining the need for violations acknowledgement - * @return value or {@code null} for none - */ - public java.lang.String getComment() { - return comment; - } - - /** - * Required. Business justification explaining the need for violations acknowledgement - * @param comment comment or {@code null} for none - */ - public GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest setComment(java.lang.String comment) { - this.comment = comment; - return this; - } - - /** - * Required. The resource names of the Violations to acknowledge. Format for each name: - * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} - * @return value or {@code null} for none - */ - public java.util.List getNames() { - return names; - } - - /** - * Required. The resource names of the Violations to acknowledge. Format for each name: - * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} - * @param names names or {@code null} for none - */ - public GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest setNames(java.util.List names) { - this.names = names; - return this; - } - - @Override - public GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest set(String fieldName, Object value) { - return (GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest) super.set(fieldName, value); - } - - @Override - public GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest clone() { - return (GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest) super.clone(); - } - -} diff --git a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse.java b/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse.java deleted file mode 100644 index bad09c8e7b6..00000000000 --- a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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.assuredworkloads.v1beta1.model; - -/** - * Response for batch violation acknowledgement - * - *

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 Assured Workloads 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 GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse extends com.google.api.client.json.GenericJson { - - /** - * Count of acknowledged violations. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.Integer acknowledgedViolationsCount; - - /** - * Count of acknowledged violations. - * @return value or {@code null} for none - */ - public java.lang.Integer getAcknowledgedViolationsCount() { - return acknowledgedViolationsCount; - } - - /** - * Count of acknowledged violations. - * @param acknowledgedViolationsCount acknowledgedViolationsCount or {@code null} for none - */ - public GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse setAcknowledgedViolationsCount(java.lang.Integer acknowledgedViolationsCount) { - this.acknowledgedViolationsCount = acknowledgedViolationsCount; - return this; - } - - @Override - public GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse set(String fieldName, Object value) { - return (GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse) super.set(fieldName, value); - } - - @Override - public GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse clone() { - return (GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse) super.clone(); - } - -} diff --git a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1DbFindingSummary.java b/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1DbFindingSummary.java index baed8897ca1..1c92e69f56a 100644 --- a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1DbFindingSummary.java +++ b/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/com/google/api/services/assuredworkloads/v1beta1/model/GoogleCloudAssuredworkloadsV1beta1DbFindingSummary.java @@ -58,6 +58,13 @@ public final class GoogleCloudAssuredworkloadsV1beta1DbFindingSummary extends co @com.google.api.client.util.Key private java.lang.String name; + /** + * Output only. Number of active organization policy findings for this category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long organizationPolicyFindingCount; + /** * Optional. The list of compliance frameworks that the finding belongs to. * The value may be {@code null}. @@ -65,6 +72,13 @@ public final class GoogleCloudAssuredworkloadsV1beta1DbFindingSummary extends co @com.google.api.client.util.Key private java.util.List relatedFrameworks; + /** + * Output only. Number of active resource findings for this category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long resourceFindingCount; + /** * Output only. The severity of the finding. * The value may be {@code null}. @@ -147,6 +161,23 @@ public GoogleCloudAssuredworkloadsV1beta1DbFindingSummary setName(java.lang.Stri return this; } + /** + * Output only. Number of active organization policy findings for this category. + * @return value or {@code null} for none + */ + public java.lang.Long getOrganizationPolicyFindingCount() { + return organizationPolicyFindingCount; + } + + /** + * Output only. Number of active organization policy findings for this category. + * @param organizationPolicyFindingCount organizationPolicyFindingCount or {@code null} for none + */ + public GoogleCloudAssuredworkloadsV1beta1DbFindingSummary setOrganizationPolicyFindingCount(java.lang.Long organizationPolicyFindingCount) { + this.organizationPolicyFindingCount = organizationPolicyFindingCount; + return this; + } + /** * Optional. The list of compliance frameworks that the finding belongs to. * @return value or {@code null} for none @@ -164,6 +195,23 @@ public GoogleCloudAssuredworkloadsV1beta1DbFindingSummary setRelatedFrameworks(j return this; } + /** + * Output only. Number of active resource findings for this category. + * @return value or {@code null} for none + */ + public java.lang.Long getResourceFindingCount() { + return resourceFindingCount; + } + + /** + * Output only. Number of active resource findings for this category. + * @param resourceFindingCount resourceFindingCount or {@code null} for none + */ + public GoogleCloudAssuredworkloadsV1beta1DbFindingSummary setResourceFindingCount(java.lang.Long resourceFindingCount) { + this.resourceFindingCount = resourceFindingCount; + return this; + } + /** * Output only. The severity of the finding. * @return value or {@code null} for none diff --git a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/pom.xml b/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/pom.xml index 28bd5e18152..07a898474c3 100644 --- a/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-assuredworkloads/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-assuredworkloads - v1beta1-rev20260719-2.0.0 - Assured Workloads API v1beta1-rev20260719-2.0.0 + v1beta1-rev20260810-2.0.0 + Assured Workloads API v1beta1-rev20260810-2.0.0 jar 2011 diff --git a/clients/google-api-services-assuredworkloads/v1beta1/README.md b/clients/google-api-services-assuredworkloads/v1beta1/README.md index 02dc67e5ae6..6ab170a0002 100644 --- a/clients/google-api-services-assuredworkloads/v1beta1/README.md +++ b/clients/google-api-services-assuredworkloads/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-assuredworkloads - v1beta1-rev20260719-2.0.0 + v1beta1-rev20260810-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-assuredworkloads:v1beta1-rev20260719-2.0.0' + implementation 'com.google.apis:google-api-services-assuredworkloads:v1beta1-rev20260810-2.0.0' } ```