Skip to main content

address_groups_items

Creates, updates, deletes, gets or lists a address_groups_items resource.

Overview

Nameaddress_groups_items
TypeResource
Idgoogle.networksecurity.address_groups_items

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
organizations_locations_address_groups_add_itemsINSERTaddressGroupsId, locationsId, organizationsIdAdds items to an address group.
projects_locations_address_groups_add_itemsINSERTaddressGroupsId, locationsId, projectsIdAdds items to an address group.
organizations_locations_address_groups_remove_itemsDELETEaddressGroupsId, locationsId, organizationsIdRemoves items from an address group.
projects_locations_address_groups_remove_itemsDELETEaddressGroupsId, locationsId, projectsIdRemoves items from an address group.

INSERT example

Use the following StackQL query and manifest file to create a new address_groups_items resource.

/*+ create */
INSERT INTO google.networksecurity.address_groups_items (
addressGroupsId,
locationsId,
projectsId,
items,
requestId
)
SELECT
'{{ addressGroupsId }}',
'{{ locationsId }}',
'{{ projectsId }}',
'{{ items }}',
'{{ requestId }}'
;

DELETE example

Deletes the specified address_groups_items resource.

/*+ delete */
DELETE FROM google.networksecurity.address_groups_items
WHERE addressGroupsId = '{{ addressGroupsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';