gcloud alpha network-security org-address-groups create (ADDRESS_GROUP : --location=LOCATION --organization=ORGANIZATION) --capacity=CAPACITY --type=TYPE [--async] [--description=DESCRIPTION] [--items=[ITEMS,…]] [--labels=[KEY=VALUE,…]] [--purpose=[PURPOSE,…]] [GCLOUD_WIDE_FLAG …]
(ALPHA) Create a new address group with the given name.
my-address-group, type
IPV4, capacity
100 and the description
optional description.
gcloud alpha network-security org-address-groups create my-address-group --type=IPV4 --capacity=100 --description="optional description" --organization=1234ADDRESS_GROUP
To set the address_group attribute:
address_group on the command line.
--location=LOCATIONlocation attribute:
address_group on the command line with a fully
specified name;
--location on the command line.
--organization=ORGANIZATIONorganization attribute:
address_group on the command line with a fully
specified name;
--organization on the command line.
--capacity=CAPACITY--type=TYPETYPE must be one of:
ipv4, ipv6.
--async--description=DESCRIPTION--items=[ITEMS,…]--labels=[KEY=VALUE,…]--purpose=[PURPOSE,…]PURPOSE must be one of:
cloud-armor, default.
--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.
networksecurity/v1alpha1 API. The full
documentation for this API can be found at: https://cloud.google.com/networking
gcloud network-security org-address-groups creategcloud beta network-security org-address-groups 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 2026-05-27 UTC.