Method: accessPolicies.accessLevels.patch

Update an Access Level. The longrunning operation from this RPC will have a successful status once the changes to the Access Level have propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.

HTTP request

PATCH https://accesscontextmanager.googleapis.com/v1beta/{accessLevel.name=accessPolicies/*/accessLevels/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
accessLevel.name

string

Resource name for the AccessLevel. Format: accessPolicies/{access_policy}/accessLevels/{accessLevel}.

The accessLevel 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.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Mask to control which fields get updated. Must be non-empty.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of AccessLevel.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.