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.
[[["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\u003eDeletePolicyRequest\u003c/code\u003e class within the Google Cloud Organization Policy v2 API, specifically version 2.1.0, and shows a list of all versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeletePolicyRequest\u003c/code\u003e is a class used to send a request to the \u003ccode\u003eDeletePolicy\u003c/code\u003e method, and it includes the \u003ccode\u003eName\u003c/code\u003e property, which is required for specifying the policy to delete.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeletePolicyRequest\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and also inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating instances of the \u003ccode\u003eDeletePolicyRequest\u003c/code\u003e class, a default constructor, and one that takes another \u003ccode\u003eDeletePolicyRequest\u003c/code\u003e instance as an argument.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyName\u003c/code\u003e property provides a typed view over the \u003ccode\u003eName\u003c/code\u003e resource name property.\u003c/p\u003e\n"]]],[],null,[]]