Commits the dry-run specification for all the service perimeters
in an access policy
. A commit operation on a service perimeter involves copying its spec
field to the status
field of the service perimeter. Only service perimeters
with useExplicitDryRunSpec
field set to true are affected by a commit operation. The long-running operation from this RPC has a successful status after the dry-run specifications for all the service perimeters
have been committed. If a commit fails, it causes the long-running operation to return an error response and the entire commit operation is cancelled. When successful, the Operation.response field contains CommitServicePerimetersResponse. The dry_run
and the spec
fields are cleared after a successful commit operation.
HTTP request
POST https://accesscontextmanager.googleapis.com/v1alpha/{parent=accessPolicies/*}/servicePerimeters:commit
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Resource name for the parent Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "etag": string } |
Fields | |
---|---|
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.