Replace all existing Service Perimeters
in an Access Policy
with the Service Perimeters
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 Service Perimeters
will not be affected. Operation.response field will contain ReplaceServicePerimetersResponse.
HTTP request
POST https://accesscontextmanager.googleapis.com/v1/{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.