Method: accessPolicies.accessLevels.patch

Updates 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.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
accessLevel.name

string

Required. Resource name for the Access Level. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{access_policy}/accessLevels/{accessLevel}. The maximum length of the accessLevel component is 50 characters.

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.