public sealed class DeleteAccessPolicyRequest : IMessage<DeleteAccessPolicyRequest>, IEquatable<DeleteAccessPolicyRequest>, IDeepCloneable<DeleteAccessPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity Access Context Manager v1 API class DeleteAccessPolicyRequest.
[[["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-28 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eDeleteAccessPolicyRequest\u003c/code\u003e class within the Google Identity Access Context Manager v1 API, with the latest version being 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteAccessPolicyRequest\u003c/code\u003e class is used to request the deletion of an \u003ccode\u003eAccessPolicy\u003c/code\u003e, 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\u003eThe class includes two constructors, one being a default constructor, and the other for creating a copy of another \u003ccode\u003eDeleteAccessPolicyRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteAccessPolicyRequest\u003c/code\u003e class has properties such as \u003ccode\u003eAccessPolicyName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e, where \u003ccode\u003eName\u003c/code\u003e is a required field specifying the resource name of the access policy to be deleted in the format \u003ccode\u003eaccessPolicies/{policy_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists available versions of the documentation for this class, ranging from 1.2.0 up to the latest version 2.5.0, which can be accessed via links.\u003c/p\u003e\n"]]],[],null,["# Identity Access Context Manager v1 API - Class DeleteAccessPolicyRequest (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.4.0/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.3.0/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.2.0/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.1.0/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.0.0/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.5.0/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.4.0/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.3.0/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.2.0/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest) \n\n public sealed class DeleteAccessPolicyRequest : IMessage\u003cDeleteAccessPolicyRequest\u003e, IEquatable\u003cDeleteAccessPolicyRequest\u003e, IDeepCloneable\u003cDeleteAccessPolicyRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Identity Access Context Manager v1 API class DeleteAccessPolicyRequest.\n\nA request to delete an `AccessPolicy`. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteAccessPolicyRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteAccessPolicyRequest](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteAccessPolicyRequest](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteAccessPolicyRequest](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Identity.AccessContextManager.V1](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1)\n\nAssembly\n--------\n\nGoogle.Identity.AccessContextManager.V1.dll\n\nConstructors\n------------\n\n### DeleteAccessPolicyRequest()\n\n public DeleteAccessPolicyRequest()\n\n### DeleteAccessPolicyRequest(DeleteAccessPolicyRequest)\n\n public DeleteAccessPolicyRequest(DeleteAccessPolicyRequest other)\n\nProperties\n----------\n\n### AccessPolicyName\n\n public AccessPolicyName AccessPolicyName { get; set; }\n\n[AccessPolicyName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.AccessPolicyName)-typed view over the [Name](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.DeleteAccessPolicyRequest#Google_Identity_AccessContextManager_V1_DeleteAccessPolicyRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Resource name for the access policy to delete.\n\nFormat `accessPolicies/{policy_id}`"]]