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
Required. The resource name of the Violation to acknowledge.
Format:
organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
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}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eAcknowledgeViolationRequest\u003c/code\u003e class within the Google Cloud Assured Workloads v1 API, detailing its structure and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcknowledgeViolationRequest\u003c/code\u003e class is used to acknowledge violations within the Assured Workloads service and has an inheritance chain starting from \u003ccode\u003eobject\u003c/code\u003e, and it implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the Assured Workloads API available, ranging from version 1.0.0 up to the latest version 2.6.0, and this specific content is for version 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eAcknowledgeViolationRequest\u003c/code\u003e class include \u003ccode\u003eComment\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and the deprecated \u003ccode\u003eNonCompliantOrgPolicy\u003c/code\u003e, which help describe and identify the specific violation being acknowledged.\u003c/p\u003e\n"]]],[],null,[]]