Stay organized with collections Save and categorize content based on your preferences.
gcloud access-context-manager levels create
(LEVEL
: --policy
=POLICY
) --title
=TITLE
(--custom-level-spec
=CUSTOM_LEVEL_SPEC
| [--basic-level-spec
=BASIC_LEVEL_SPEC
: --combine-function
=COMBINE_FUNCTION
; default="and"]) [--async
] [--description
=DESCRIPTION
] [GCLOUD_WIDE_FLAG …
]
This must be specified.
LEVEL
To set the level
attribute:
level
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:
level
on the command line with a fully specified name;--policy
on the command line;access_context_manager/policy
;--title
=TITLE
Exactly one of these must be specified:
--custom-level-spec
=CUSTOM_LEVEL_SPEC
The expression is in the Common Expression Language (CEL) format. For example:
expression: "origin.region_code in ['US', 'CA']"
--basic-level-spec
=BASIC_LEVEL_SPEC
An access level condition file is a YAML-formatted list of conditions, which are YAML objects representing a Condition as described in the API reference. For example:
- ipSubnetworks: - 162.222.181.197/24 - 2001:db8::/48 - members: - user:user@example.com
This flag argument must be specified if any of the other arguments in this group are specified.
--combine-function
=COMBINE_FUNCTION
; default="and"
COMBINE_FUNCTION
must be one of: and
, or
.
--async
--description
=DESCRIPTION
--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 levels create
gcloud beta access-context-manager levels 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-07-22 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-07-22 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