HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/surface/network_security/address_groups/add_items.yaml
release_tracks: [ALPHA, BETA, GA]

help_text:
  brief: |
    Add items to an address group.
  description: |
    Add items to an existing address group.

  examples: |
    Add an item to an address group named ``my-address-group''.

      $ {command} my-address-group --items=192.168.1.1

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.network_security.resources:addressGroup
    help_text: Name of the address group to be updated.
  params:
  - arg_name: items
    api_field: addAddressGroupItemsRequest.items
    help_text: Items to be added to the address group.

async:
  collection: networksecurity.projects.locations.operations

request: &request
  ALPHA:
    api_version: v1alpha1
  BETA:
    api_version: v1beta1
  GA:
    api_version: v1
  method: addItems
  collection: networksecurity.projects.locations.addressGroups

response:
  modify_response_hooks:
  - googlecloudsdk.command_lib.network_security.util:LogAddItemsSuccess