public sealed class DeletePolicyRequest : IMessage<DeletePolicyRequest>, IEquatable<DeletePolicyRequest>, IDeepCloneable<DeletePolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Organization Policy v2 API class DeletePolicyRequest.
The request sent to the [DeletePolicy]
[google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy] method.
Optional. The current etag of policy. If an etag is provided and does not
match the current etag of the policy, deletion will be blocked and an
ABORTED error will be returned.
[[["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 documentation for the \u003ccode\u003eDeletePolicyRequest\u003c/code\u003e class within the Google Cloud Organization Policy v2 API, specifically for version 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeletePolicyRequest\u003c/code\u003e class is used to send requests to the \u003ccode\u003eDeletePolicy\u003c/code\u003e method for deleting organization policies, 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 \u003ccode\u003eDeletePolicyRequest\u003c/code\u003e available, ranging from version 1.0.0 to 2.7.0 (latest), with links to their respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeletePolicyRequest\u003c/code\u003e class includes properties like \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003ePolicyName\u003c/code\u003e, which are used to specify the policy to be deleted and handle concurrency control through etag validation.\u003c/p\u003e\n"],["\u003cp\u003eThe class has 2 constructors, one is empty and the other takes a DeletePolicyRequest as a parameter, along with inherited members like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]