Replace all existing service perimeters
in an access policy
with the service perimeters
provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacement are cancelled and existing service perimeters
are not affected. The Operation.response field contains ReplaceServicePerimetersResponse.
HTTP request
POST https://accesscontextmanager.googleapis.com/v1alpha/{parent=accessPolicies/*}/servicePerimeters: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 |
---|
{
"servicePerimeters": [
{
object ( |
Fields | |
---|---|
servicePerimeters[] |
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.