Reference documentation and code samples for the Access Context Manager V1 Client class GetAccessLevelRequest.
A request to get a particular AccessLevel.
Generated from protobuf message google.identity.accesscontextmanager.v1.GetAccessLevelRequest
Namespace
Google \ Identity \ AccessContextManager \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Resource name for the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. Format: accessPolicies/{policy_id}/accessLevels/{access_level_id}
↳ access_level_format
int
Whether to return BasicLevels in the Cloud Common Expression Language rather than as BasicLevels. Defaults to AS_DEFINED, where Access Levels are returned as BasicLevels or CustomLevels based on how they were created. If set to CEL, all [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] are returned as CustomLevels. In the CEL case, BasicLevels are translated to equivalent CustomLevels.
Whether to return BasicLevels in the Cloud Common Expression
Language rather than as BasicLevels. Defaults to AS_DEFINED, where
Access Levels
are returned as BasicLevels or CustomLevels based on how they were
created. If set to CEL, all Access Levels are returned as
CustomLevels. In the CEL case, BasicLevels are translated to equivalent
CustomLevels.
Returns
Type
Description
int
setAccessLevelFormat
Whether to return BasicLevels in the Cloud Common Expression
Language rather than as BasicLevels. Defaults to AS_DEFINED, where
Access Levels
are returned as BasicLevels or CustomLevels based on how they were
created. If set to CEL, all Access Levels are returned as
CustomLevels. In the CEL case, BasicLevels are translated to equivalent
CustomLevels.
Format:
accessPolicies/{policy_id}/accessLevels/{access_level_id}
Please see AccessContextManagerClient::accessLevelName() for help formatting this field.
[[["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."],[],[],null,["# Access Context Manager V1 Client - Class GetAccessLevelRequest (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/access-context-manager/latest/V1.GetAccessLevelRequest)\n- [1.0.3](/php/docs/reference/access-context-manager/1.0.3/V1.GetAccessLevelRequest)\n- [0.5.5](/php/docs/reference/access-context-manager/0.5.5/V1.GetAccessLevelRequest)\n- [0.4.5](/php/docs/reference/access-context-manager/0.4.5/V1.GetAccessLevelRequest)\n- [0.3.5](/php/docs/reference/access-context-manager/0.3.5/V1.GetAccessLevelRequest) \nReference documentation and code samples for the Access Context Manager V1 Client class GetAccessLevelRequest.\n\nA request to get a particular `AccessLevel`.\n\nGenerated from protobuf message `google.identity.accesscontextmanager.v1.GetAccessLevelRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Identity \\\\ AccessContextManager \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Resource name for the [Access Level](/php/docs/reference/access-context-manager/latest/V1.AccessLevel).\n\nFormat:\n`accessPolicies/{policy_id}/accessLevels/{access_level_id}`\n\n### setName\n\nRequired. Resource name for the [Access Level](/php/docs/reference/access-context-manager/latest/V1.AccessLevel).\n\nFormat:\n`accessPolicies/{policy_id}/accessLevels/{access_level_id}`\n\n### getAccessLevelFormat\n\nWhether to return `BasicLevels` in the Cloud Common Expression\nLanguage rather than as `BasicLevels`. Defaults to AS_DEFINED, where\n[Access Levels](/php/docs/reference/access-context-manager/latest/V1.AccessLevel)\nare returned as `BasicLevels` or `CustomLevels` based on how they were\ncreated. If set to CEL, all [Access Levels](/php/docs/reference/access-context-manager/latest/V1.AccessLevel) are returned as\n`CustomLevels`. In the CEL case, `BasicLevels` are translated to equivalent\n`CustomLevels`.\n\n### setAccessLevelFormat\n\nWhether to return `BasicLevels` in the Cloud Common Expression\nLanguage rather than as `BasicLevels`. Defaults to AS_DEFINED, where\n[Access Levels](/php/docs/reference/access-context-manager/latest/V1.AccessLevel)\nare returned as `BasicLevels` or `CustomLevels` based on how they were\ncreated. If set to CEL, all [Access Levels](/php/docs/reference/access-context-manager/latest/V1.AccessLevel) are returned as\n`CustomLevels`. In the CEL case, `BasicLevels` are translated to equivalent\n`CustomLevels`.\n\n### static::build"]]