public sealed class AccessLevel : IMessage<AccessLevel>, IEquatable<AccessLevel>, IDeepCloneable<AccessLevel>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity Access Context Manager v1 API class AccessLevel.
An AccessLevel is a label that can be applied to requests to Google Cloud
services, along with a list of requirements necessary for the label to be
applied.
Required. Resource name for the Access Level. The short_name component
must begin with a letter and only include alphanumeric and '_'. Format:
accessPolicies/{access_policy}/accessLevels/{access_level}. The maximum
length of the access_level component is 50 characters.
[[["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\u003eThe latest version of the \u003ccode\u003eAccessLevel\u003c/code\u003e API class is 2.5.0, part of the Google Identity Access Context Manager v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAccessLevel\u003c/code\u003e is a label for requests to Google Cloud services, requiring specific conditions to be applied.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessLevel\u003c/code\u003e class implements interfaces for messaging, equality, deep cloning, and buffer messages, inheriting from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties for setting an \u003ccode\u003eAccessLevelName\u003c/code\u003e, defining \u003ccode\u003eBasic\u003c/code\u003e or \u003ccode\u003eCustom\u003c/code\u003e access levels, and specifying the \u003ccode\u003eDescription\u003c/code\u003e and \u003ccode\u003eTitle\u003c/code\u003e for the access level.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes timestamps (\u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e) for tracking when the \u003ccode\u003eAccessLevel\u003c/code\u003e was created or last modified, as well as a read-only property, \u003ccode\u003eLevelCase\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Identity Access Context Manager v1 API - Class AccessLevel (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.AccessLevel)\n- [2.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.4.0/Google.Identity.AccessContextManager.V1.AccessLevel)\n- [2.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.3.0/Google.Identity.AccessContextManager.V1.AccessLevel)\n- [2.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.2.0/Google.Identity.AccessContextManager.V1.AccessLevel)\n- [2.1.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.1.0/Google.Identity.AccessContextManager.V1.AccessLevel)\n- [2.0.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.0.0/Google.Identity.AccessContextManager.V1.AccessLevel)\n- [1.5.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.5.0/Google.Identity.AccessContextManager.V1.AccessLevel)\n- [1.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.4.0/Google.Identity.AccessContextManager.V1.AccessLevel)\n- [1.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.3.0/Google.Identity.AccessContextManager.V1.AccessLevel)\n- [1.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.2.0/Google.Identity.AccessContextManager.V1.AccessLevel) \n\n public sealed class AccessLevel : IMessage\u003cAccessLevel\u003e, IEquatable\u003cAccessLevel\u003e, IDeepCloneable\u003cAccessLevel\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Identity Access Context Manager v1 API class AccessLevel.\n\nAn `AccessLevel` is a label that can be applied to requests to Google Cloud\nservices, along with a list of requirements necessary for the label to be\napplied. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AccessLevel \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AccessLevel](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.AccessLevel), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AccessLevel](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.AccessLevel), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AccessLevel](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.AccessLevel), [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### AccessLevel()\n\n public AccessLevel()\n\n### AccessLevel(AccessLevel)\n\n public AccessLevel(AccessLevel other)\n\nProperties\n----------\n\n### AccessLevelName\n\n public AccessLevelName AccessLevelName { get; set; }\n\n[AccessLevelName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.AccessLevelName)-typed view over the [Name](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.AccessLevel#Google_Identity_AccessContextManager_V1_AccessLevel_Name) resource name property.\n\n### Basic\n\n public BasicLevel Basic { get; set; }\n\nA `BasicLevel` composed of `Conditions`.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. Time the `AccessLevel` was created in UTC.\n\n### Custom\n\n public CustomLevel Custom { get; set; }\n\nA `CustomLevel` written in the Common Expression Language.\n\n### Description\n\n public string Description { get; set; }\n\nDescription of the `AccessLevel` and its use. Does not affect behavior.\n\n### LevelCase\n\n public AccessLevel.LevelOneofCase LevelCase { get; }\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Resource name for the Access Level. The `short_name` component\nmust begin with a letter and only include alphanumeric and '_'. Format:\n`accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum\nlength of the `access_level` component is 50 characters.\n\n### Title\n\n public string Title { get; set; }\n\nHuman readable title. Must be unique within the Policy.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. Time the `AccessLevel` was updated in UTC."]]