# Assured Workloads API . organizations . locations . violations

## Instance Methods

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.

Close httplib2 connections.

### Method Details

`batchAcknowledgeViolations(parent, body=None, x__xgafv=None)`

    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.

    Args:
      parent: string, Optional. The parent resource shared by all violations being acknowledged. Format: organizations/{organization}/locations/{location}/workloads/{workload} (required)
      body: object, The request body.
        The object takes the form of:

    { # Request for acknowledging the violations in a batch
      "acknowledgeType": "A String", # Optional. Acknowledge type of specified violations.
      "comment": "A String", # Required. Business justification explaining the need for violations acknowledgement
      "names": [ # Required. The resource names of the Violations to acknowledge. Format for each name: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
        "A String",
      ],
    }

      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Response for batch violation acknowledgement
    }

`close()`

    Close httplib2 connections.