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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eAcknowledgeViolationRequest\u003c/code\u003e class in the Assured Workloads v1 API is 2.6.0, with documentation available for prior versions going back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcknowledgeViolationRequest\u003c/code\u003e class is used to acknowledge a violation within the Assured Workloads service.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements the \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties such as \u003ccode\u003eComment\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and the deprecated \u003ccode\u003eNonCompliantOrgPolicy\u003c/code\u003e to provide necessary information for acknowledging violations.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided, a default one and one that takes another \u003ccode\u003eAcknowledgeViolationRequest\u003c/code\u003e as a parameter for creating a new instance.\u003c/p\u003e\n"]]],[],null,[]]