Reference documentation and code samples for the Identity Access Context Manager v1 API class AccessContextManager.
API for setting [access levels]
[google.identity.accesscontextmanager.v1.AccessLevel] and [service
perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter]
for Google Cloud projects. Each organization has one [access policy]
[google.identity.accesscontextmanager.v1.AccessPolicy] that contains the
[access levels] [google.identity.accesscontextmanager.v1.AccessLevel]
and [service perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter]. This
[access policy] [google.identity.accesscontextmanager.v1.AccessPolicy] is
applicable to all resources in the organization.
AccessPolicies
public static void BindService(ServiceBinderBase serviceBinder, AccessContextManager.AccessContextManagerBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["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\u003eThe latest version of the \u003ccode\u003eAccessContextManager\u003c/code\u003e API is 2.5.0, with multiple prior versions available for reference, including versions 2.4.0, 2.3.0, 2.2.0, 2.1.0, 2.0.0, 1.5.0, 1.4.0, 1.3.0, and 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAccessContextManager\u003c/code\u003e is a class within the \u003ccode\u003eGoogle.Identity.AccessContextManager.V1\u003c/code\u003e namespace, offering API functionality for setting access levels and service perimeters for Google Cloud projects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessContextManager\u003c/code\u003e API enables management of \u003ccode\u003eAccessPolicy\u003c/code\u003e, which applies to all resources in an organization, and it contains \u003ccode\u003eAccessLevel\u003c/code\u003e and \u003ccode\u003eServicePerimeter\u003c/code\u003e settings.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides static methods \u003ccode\u003eBindService\u003c/code\u003e, which allows you to create service definitions or register service methods with or without an implementation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessContextManager\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and contains other inherited methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Identity Access Context Manager v1 API - Class AccessContextManager (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.AccessContextManager)\n- [2.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.4.0/Google.Identity.AccessContextManager.V1.AccessContextManager)\n- [2.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.3.0/Google.Identity.AccessContextManager.V1.AccessContextManager)\n- [2.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.2.0/Google.Identity.AccessContextManager.V1.AccessContextManager)\n- [2.1.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.1.0/Google.Identity.AccessContextManager.V1.AccessContextManager)\n- [2.0.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.0.0/Google.Identity.AccessContextManager.V1.AccessContextManager)\n- [1.5.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.5.0/Google.Identity.AccessContextManager.V1.AccessContextManager)\n- [1.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.4.0/Google.Identity.AccessContextManager.V1.AccessContextManager)\n- [1.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.3.0/Google.Identity.AccessContextManager.V1.AccessContextManager)\n- [1.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.2.0/Google.Identity.AccessContextManager.V1.AccessContextManager) \n\n public static class AccessContextManager\n\nReference documentation and code samples for the Identity Access Context Manager v1 API class AccessContextManager.\n\nAPI for setting \\[access levels\\]\n\\[google.identity.accesscontextmanager.v1.AccessLevel\\] and \\[service\nperimeters\\] \\[google.identity.accesscontextmanager.v1.ServicePerimeter\\]\nfor Google Cloud projects. Each organization has one \\[access policy\\]\n\\[google.identity.accesscontextmanager.v1.AccessPolicy\\] that contains the\n\\[access levels\\] \\[google.identity.accesscontextmanager.v1.AccessLevel\\]\nand \\[service perimeters\\]\n\\[google.identity.accesscontextmanager.v1.ServicePerimeter\\]. This\n\\[access policy\\] \\[google.identity.accesscontextmanager.v1.AccessPolicy\\] is\napplicable to all resources in the organization.\nAccessPolicies \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AccessContextManager \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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \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\nMethods\n-------\n\n### BindService(AccessContextManagerBase)\n\n public static ServerServiceDefinition BindService(AccessContextManager.AccessContextManagerBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, AccessContextManagerBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, AccessContextManager.AccessContextManagerBase serviceImpl)\n\nRegister service method with a service binder with or without implementation. Useful when customizing the service binding logic.\nNote: this method is part of an experimental API that can change or be removed without any prior notice."]]