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"]],[["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-03-21 UTC."],[[["This document provides reference information for the `DeletePolicyRequest` class within the Google Cloud Organization Policy v2 API, specifically version 2.6.0."],["The `DeletePolicyRequest` class is used to formulate requests for the `DeletePolicy` method, enabling the deletion of a policy."],["The `DeletePolicyRequest` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["Key properties of the `DeletePolicyRequest` class include `Etag` which allows for conditional deletion based on the policy's current etag and `Name` which is the required name of the policy to be deleted."],["This page contains version information of the API, going from 2.7.0 down to 1.0.0, with 2.7.0 being the most current."]]],[]]