public sealed class GetAccessPolicyRequest : IMessage<GetAccessPolicyRequest>, IEquatable<GetAccessPolicyRequest>, IDeepCloneable<GetAccessPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity Access Context Manager v1 API class GetAccessPolicyRequest.
[[["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-09-04 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eGetAccessPolicyRequest\u003c/code\u003e class within the Identity Access Context Manager v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eGetAccessPolicyRequest\u003c/code\u003e is 2.5.0, but the documentation includes versions ranging from 1.2.0 to 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetAccessPolicyRequest\u003c/code\u003e is used to request a specific \u003ccode\u003eAccessPolicy\u003c/code\u003e and 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 contains properties such as \u003ccode\u003eAccessPolicyName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e, with \u003ccode\u003eName\u003c/code\u003e being a required string representing the resource name for the access policy.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation outlines the available constructors for the class, specifically the default constructor, and a constructor that accepts another \u003ccode\u003eGetAccessPolicyRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Identity Access Context Manager v1 API - Class GetAccessPolicyRequest (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.GetAccessPolicyRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.4.0/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.3.0/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.2.0/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.1.0/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.0.0/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.5.0/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.4.0/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.3.0/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.2.0/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest) \n\n public sealed class GetAccessPolicyRequest : IMessage\u003cGetAccessPolicyRequest\u003e, IEquatable\u003cGetAccessPolicyRequest\u003e, IDeepCloneable\u003cGetAccessPolicyRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Identity Access Context Manager v1 API class GetAccessPolicyRequest.\n\nA request to get a particular `AccessPolicy`. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetAccessPolicyRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetAccessPolicyRequest](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetAccessPolicyRequest](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetAccessPolicyRequest](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GetAccessPolicyRequest), [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### GetAccessPolicyRequest()\n\n public GetAccessPolicyRequest()\n\n### GetAccessPolicyRequest(GetAccessPolicyRequest)\n\n public GetAccessPolicyRequest(GetAccessPolicyRequest 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.GetAccessPolicyRequest#Google_Identity_AccessContextManager_V1_GetAccessPolicyRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Resource name for the access policy to get.\n\nFormat `accessPolicies/{policy_id}`"]]