public sealed class DeletePolicyRequest : IMessage<DeletePolicyRequest>, IEquatable<DeletePolicyRequest>, IDeepCloneable<DeletePolicyRequest>, IBufferMessage, IMessage
The request sent to the [DeletePolicy]
[google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy] method.
[[["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 webpage provides documentation for the \u003ccode\u003eDeletePolicyRequest\u003c/code\u003e class, which is used to send requests to the \u003ccode\u003eDeletePolicy\u003c/code\u003e method in Google Cloud's Organization Policy V2.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeletePolicyRequest\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.OrgPolicy.V2\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.OrgPolicy.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class, one that is parameterless, and one that takes a \u003ccode\u003eDeletePolicyRequest\u003c/code\u003e as a parameter to clone it.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeletePolicyRequest\u003c/code\u003e has two properties: \u003ccode\u003eName\u003c/code\u003e, a string representing the name of the policy to delete, and \u003ccode\u003ePolicyName\u003c/code\u003e, a \u003ccode\u003ePolicyName\u003c/code\u003e typed view over the \u003ccode\u003eName\u003c/code\u003e resource name property.\u003c/p\u003e\n"]]],[],null,[]]