Replaces 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.
HTTP request
POST https://accesscontextmanager.googleapis.com/v1alpha/{parent=accessPolicies/*}/accessLevels:replaceAll
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Resource name for the access policy which owns these Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"accessLevels": [
{
object ( |
Fields | |
---|---|
accessLevels[] |
Required. The desired |
etag |
Optional. The etag for the version of the |
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.