2.7.0 (latest) 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public sealed class AcknowledgeViolationRequest : IMessage<AcknowledgeViolationRequest>, IEquatable<AcknowledgeViolationRequest>, IDeepCloneable<AcknowledgeViolationRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Assured Workloads v1 API class AcknowledgeViolationRequest.

Request for acknowledging the violation
Next Id: 4

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AcknowledgeViolationRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[AcknowledgeViolationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AcknowledgeViolationRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AcknowledgeViolationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AcknowledgeViolationRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[AcknowledgeViolationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AcknowledgeViolationRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AssuredWorkloads.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.md.txt)

## Assembly

Google.Cloud.AssuredWorkloads.V1.dll

## Constructors

### AcknowledgeViolationRequest()

    public AcknowledgeViolationRequest()

### AcknowledgeViolationRequest(AcknowledgeViolationRequest)

    public AcknowledgeViolationRequest(AcknowledgeViolationRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `AcknowledgeViolationRequest` |

## Properties

### Comment

    public string Comment { get; set; }

Required. Business justification explaining the need for violation acknowledgement

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Name

    public string Name { get; set; }

Required. The resource name of the Violation to acknowledge.
Format:
organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### NonCompliantOrgPolicy

    [Obsolete]
    public string NonCompliantOrgPolicy { get; set; }

Optional. This field is deprecated and will be removed in future version of the API.
Name of the OrgPolicy which was modified with non-compliant change and
resulted in this violation.
Format:
projects/{project_number}/policies/{constraint_name}
folders/{folder_id}/policies/{constraint_name}
organizations/{organization_id}/policies/{constraint_name}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |