Stay organized with collections Save and categorize content based on your preferences.
gcloud alpha access-context-manager perimeters update
(PERIMETER
: --policy
=POLICY
) [--description
=DESCRIPTION
] [--etag
=etag
] [--title
=TITLE
] [--type
=TYPE
] [--add-access-levels
=[LEVEL
,…] | --clear-access-levels
| --remove-access-levels
=[LEVEL
,…] | --set-access-levels
=[LEVEL
,…]] [--add-resources
=[RESOURCES
,…] | --clear-resources
| --remove-resources
=[RESOURCES
,…] | --set-resources
=[RESOURCES
,…]] [--add-restricted-services
=[SERVICE
,…] | --clear-restricted-services
| --remove-restricted-services
=[SERVICE
,…] | --set-restricted-services
=[SERVICE
,…]] [--clear-egress-policies
| --set-egress-policies
=YAML_FILE
] [--clear-ingress-policies
| --set-ingress-policies
=YAML_FILE
] [--clear-vpc-accessible-services
| --set-vpc-accessible-services
=YAML_FILE
| --enable-vpc-accessible-services
--add-vpc-allowed-services
=[VPC_SERVICE
,…] | --clear-vpc-allowed-services
| --remove-vpc-allowed-services
=[VPC_SERVICE
,…]] [GCLOUD_WIDE_FLAG …
]
(ALPHA)
This command updates the enforced configuration (status
) of a Service Perimeter.
gcloud alpha access-context-manager perimeters update my-perimeter --add-resources="projects/123,projects/456" --remove-restricted-services="storage.googleapis.com" --add-access-levels="accessPolicies/123/accessLevels/a_level" --enable-vpc-accessible-services --clear-vpc-allowed-services
This must be specified.
PERIMETER
To set the perimeter
attribute:
perimeter
on the command line.This positional argument must be specified if any of the other arguments in this group are specified.
--policy
=POLICY
To set the policy
attribute:
perimeter
on the command line with a fully specified name;--policy
on the command line;access_context_manager/policy
.--description
=DESCRIPTION
--etag
=etag
--title
=TITLE
--type
=TYPE
A regular
perimeter allows resources within this service perimeter to import and export data amongst themselves. A project may belong to at most one regular service perimeter.
A bridge
perimeter allows resources in different regular service perimeters to import and export data between each other. A project may belong to multiple bridge service perimeters (only if it also belongs to a regular service perimeter). Both restricted and unrestricted service lists, as well as access level lists, must be empty.
TYPE
must be one of: bridge
, regular
.
MY_LEVEL
; must be in the same access policy as this perimeter) to be allowed.
At most one of these can be specified:
--add-access-levels
=[LEVEL
,…]
--clear-access-levels
--remove-access-levels
=[LEVEL
,…]
--set-access-levels
=[LEVEL
,…]
projects/<projectnumber>
.
At most one of these can be specified:
--add-resources
=[RESOURCES
,…]
--clear-resources
--remove-resources
=[RESOURCES
,…]
--set-resources
=[RESOURCES
,…]
storage.googleapis.com
).
At most one of these can be specified:
--add-restricted-services
=[SERVICE
,…]
--clear-restricted-services
--remove-restricted-services
=[SERVICE
,…]
--set-restricted-services
=[SERVICE
,…]
At most one of these can be specified:
--clear-egress-policies
--set-egress-policies
=YAML_FILE
This file contains a list of YAML-compliant objects representing Egress Policies described in the API reference.
For more information about the alpha version, see: https://cloud.google.com/access-context-manager/docs/reference/rest/v1alpha/accessPolicies.servicePerimeters For more information about non-alpha versions, see: https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.servicePerimeters
At most one of these can be specified:
--clear-ingress-policies
--set-ingress-policies
=YAML_FILE
This file contains a list of YAML-compliant objects representing Ingress Policies described in the API reference.
For more information about the alpha version, see: https://cloud.google.com/access-context-manager/docs/reference/rest/v1alpha/accessPolicies.servicePerimeters For more information about non-alpha versions, see: https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.servicePerimeters
At most one of these can be specified:
--clear-vpc-accessible-services
--set-vpc-accessible-services
=YAML_FILE
This file contains a YAML-compliant object representing VpcAccessibleServices described in the API reference.
For more information about the alpha version, see: https://cloud.google.com/access-context-manager/docs/reference/rest/v1alpha/accessPolicies.servicePerimeters For more information about non-alpha versions, see: https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.servicePerimeters
--enable-vpc-accessible-services
At most one of these can be specified:
--add-vpc-allowed-services
=[VPC_SERVICE
,…]
--clear-vpc-allowed-services
--remove-vpc-allowed-services
=[VPC_SERVICE
,…]
--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.
gcloud access-context-manager perimeters update
gcloud beta access-context-manager perimeters update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-13 UTC.
[[["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-08-13 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4