Method: accessPolicies.accessLevels.get

Gets an access level based on the resource name.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. Resource name for the Access Level.

Format: accessPolicies/{policy_id}/accessLevels/{access_level_id}

Query parameters


enum (LevelFormat)

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.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of AccessLevel.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.