Stay organized with collections Save and categorize content based on your preferences.
gcloud access-context-manager perimeters create
(PERIMETER
: --policy
=POLICY
) --title
=TITLE
[--access-levels
=[LEVEL
,…]] [--async
] [--description
=DESCRIPTION
] [--egress-policies
=YAML_FILE
] [--ingress-policies
=YAML_FILE
] [--perimeter-type
=PERIMETER_TYPE
; default="regular"] [--resources
=[RESOURCES
,…]] [--restricted-services
=[SERVICE
,…]] [--enable-vpc-accessible-services
--vpc-allowed-services
=[VPC_SERVICE
,…]] [GCLOUD_WIDE_FLAG …
]
gcloud access-context-manager perimeters create --title=my_perimeter_title --resources=projects/12345 --restricted-services="storage.googleapis.com" --policy=9876543
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
policy
attribute:
perimeter
on the command line with a fully specified name;--policy
on the command line;access_context_manager/policy
;--title
=TITLE
--access-levels
=[LEVEL
,…]
--async
--description
=DESCRIPTION
--egress-policies
=YAML_FILE
This file contains a list of YAML-compliant objects representing Engress 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
--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
--perimeter-type
=PERIMETER_TYPE
; default="regular"
PERIMETER_TYPE
must be one of:
bridge
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.
regular
A project may belong to at most one regular service perimeter.
--resources
=[RESOURCES
,…]
projects/<projectnumber>
) in this perimeter.
--restricted-services
=[SERVICE
,…]
does
apply (for example, storage.googleapis.com
).
--enable-vpc-accessible-services
--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.
accesscontextmanager/v1
API. The full documentation for this API can be found at: https://cloud.google.com/access-context-manager/docs/reference/rest/
gcloud alpha access-context-manager perimeters create
gcloud beta access-context-manager perimeters create
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-05-07 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-05-07 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