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/v1/{parent=accessPolicies/*}/servicePerimeters:replaceAll
Optional. The etag for the version of the Access Policy that this replace operation is to be performed on. If, at the time of replace, the etag for the Access Policy stored in Access Context Manager is different from the specified etag, then the replace operation will not be performed and the call will fail. This field is not required. If etag is not provided, the operation will be performed as if a valid etag is provided.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-12 UTC."],[[["This endpoint replaces all existing service perimeters within an access policy with the provided service perimeters atomically."],["The HTTP request is a POST operation to `https://accesscontextmanager.googleapis.com/v1/{parent=accessPolicies/*}/servicePerimeters:replaceAll` using gRPC Transcoding syntax."],["The `parent` path parameter, which is required, specifies the access policy's resource name in the format `accessPolicies/{policy_id}`."],["The request body requires a `servicePerimeters` array of `ServicePerimeter` objects and optionally an `etag` string for versioning."],["A successful operation returns an `Operation` instance in the response body, while any errors encountered during replacement will result in an error response and cancellation of the replacement, leaving the existing service perimeters unaffected."]]],[]]