Class OrganizationsResource.ViolationsResource
The "violations" collection of methods.
Inherited Members
Namespace: Google.Apis.Assuredworkloads.v1beta1
Assembly: Google.Apis.Assuredworkloads.v1beta1.dll
Syntax
public class OrganizationsResource.ViolationsResource
Constructors
ViolationsResource(IClientService)
Constructs a new resource.
Declaration
public ViolationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
BatchAcknowledgeViolations(GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest, string)
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.
Declaration
public virtual OrganizationsResource.ViolationsResource.BatchAcknowledgeViolationsRequest BatchAcknowledgeViolations(GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest | body | The body of the request. |
| string | parent | Optional. The parent resource shared by all violations being acknowledged. Format: organizations/{organization}/locations/{location}/workloads/{workload} |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.ViolationsResource.BatchAcknowledgeViolationsRequest |