Skip to main content

access_levels

Overview

Nameaccess_levels
TypeResource
Idgoogle.accesscontextmanager.access_levels

Fields

NameDatatypeDescription
namestringResource name for the AccessLevel. Format: accessPolicies/{access_policy}/accessLevels/{access_level}. The access_level component must begin with a letter, followed by alphanumeric characters or _. Its maximum length is 50 characters. After you create an AccessLevel, you cannot change its name.
descriptionstringDescription of the AccessLevel and its use. Does not affect behavior.
basicobjectBasicLevel is an AccessLevel using a set of recommended features.
customobjectCustomLevel is an AccessLevel using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec
titlestringHuman readable title. Must be unique within the Policy.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccessLevelsId, accessPoliciesIdGets an access level based on the resource name.
listSELECTaccessPoliciesIdLists all access levels for an access policy.
createINSERTaccessPoliciesIdCreates an access level. The long-running operation from this RPC has a successful status after the access level propagates to long-lasting storage. If access levels contain errors, an error response is returned for the first error encountered.
deleteDELETEaccessLevelsId, accessPoliciesIdDeletes an access level based on the resource name. The long-running operation from this RPC has a successful status after the access level has been removed from long-lasting storage.
_listEXECaccessPoliciesIdLists all access levels for an access policy.
patchEXECaccessLevelsId, accessPoliciesIdUpdates an access level. The long-running operation from this RPC has a successful status after the changes to the access level propagate to long-lasting storage. If access levels contain errors, an error response is returned for the first error encountered.
replace_allEXECaccessPoliciesIdReplaces all existing access levels in an access policy with the access levels provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing access levels are not affected. The Operation.response field contains ReplaceAccessLevelsResponse. Removing access levels contained in existing service perimeters result in an error.