Method: accessPolicies.accessLevels.create

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

HTTP request

POST https://accesscontextmanager.googleapis.com/v1alpha/{parent=accessPolicies/*}/accessLevels

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource name for the access policy which owns this Access Level.

Format: accessPolicies/{policy_id}

Request body

The request body contains an instance of AccessLevel.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.