Replace all existing Access Levels
in an Access Policy
with the Access Levels
provided. This is done atomically. The longrunning operation from this RPC will have a successful status once all replacements have propagated to long-lasting storage. Replacements containing errors will result in an error response for the first error encountered. Replacement will be cancelled on error, existing Access Levels
will not be affected. Operation.response field will contain ReplaceAccessLevelsResponse. Removing Access Levels
contained in existing Service Perimeters
will result in error.
HTTP request
POST https://accesscontextmanager.googleapis.com/v1/{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.