gcloud alpha network-security org-address-groups add-items (ADDRESS_GROUP : --location=LOCATION --organization=ORGANIZATION) [--async] [--items=[ITEMS,…]] [GCLOUD_WIDE_FLAG …]
(ALPHA) Add items to an existing address group of organization.
my-address-group of organization 1234.
gcloud alpha network-security org-address-groups add-items my-address-group --items=192.168.1.1 --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.
--async--items=[ITEMS,…]--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 add-itemsgcloud beta network-security org-address-groups add-items
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.