gcloud access-context-manager perimeters dry-run enforce-all

NAME
gcloud access-context-manager perimeters dry-run enforce-all - enforces the dry-run mode configuration for all Service Perimeters
SYNOPSIS
gcloud access-context-manager perimeters dry-run enforce-all[--etag=etag][--policy=policy][GCLOUD_WIDE_FLAG]
DESCRIPTION
An enforce operation on a Service Perimeter involves copying its dry-run modeconfiguration (spec) to that Service Perimeter's enforcement modeconfigration (status). This command performs this operation forall Service Perimeters in the user's Access Policy.

Note: Only Service Perimeters with an explicit dry-run mode configuration areaffected by this operation. The overall operation succeeds once the dry-runconfigurations of all such Service Perimeters have been enforced. If theoperation fails for any given Service Perimeter, it will cause the entireoperation to be aborted.

EXAMPLES
To enforce the dry-run mode configurations for all Service Perimeter in anAccess Policy, run the following command:
gcloudaccess-context-managerperimetersdry-runenforce-all
FLAGS
--etag=etag
The etag for the version of the Access Policy that this operation is to beperformed on. If, at the time of the operation, the etag for the Access Policystored in Access Context Manager is different from the specified etag, then thecommit operation will not be performed and the call will fail. If etag is notprovided, the operation will be performed as if a valid etag is provided.
--policy=policy
The parent Access Policy which owns all Service Perimeters in scope for thecommit operation.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

NOTES
These variants are also available:
gcloudalphaaccess-context-managerperimetersdry-runenforce-all
gcloudbetaaccess-context-managerperimetersdry-runenforce-all

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.