Method: accessPolicies.accessLevels.get

Get an Access Level by resource name.

HTTP request

GET https://accesscontextmanager.googleapis.com/v1alpha/{name=accessPolicies/*/accessLevels/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name for the Access Level.

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

Query parameters

Parameters
accessLevelFormat

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:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Try it!

本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
Access Context Manager