Skip to main content

address_groups_items

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

Overview​

Nameaddress_groups_items
TypeResource
Idgoogle.networksecurity.address_groups_items

Fields​

The following fields are returned by SELECT queries:

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

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_locations_address_groups_add_itemsinsertorganizationsId, locationsId, addressGroupsIdAdds items to an address group.
projects_locations_address_groups_add_itemsinsertprojectsId, locationsId, addressGroupsIdAdds items to an address group.
organizations_locations_address_groups_remove_itemsdeleteorganizationsId, locationsId, addressGroupsIdRemoves items from an address group.
projects_locations_address_groups_remove_itemsdeleteprojectsId, locationsId, addressGroupsIdRemoves items from an address group.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
addressGroupsIdstring
locationsIdstring
organizationsIdstring
projectsIdstring

INSERT examples​

Adds items to an address group.

INSERT INTO google.networksecurity.address_groups_items (
data__items,
data__requestId,
organizationsId,
locationsId,
addressGroupsId
)
SELECT
'{{ items }}',
'{{ requestId }}',
'{{ organizationsId }}',
'{{ locationsId }}',
'{{ addressGroupsId }}'
RETURNING
name,
done,
error,
metadata,
response
;

DELETE examples​

Removes items from an address group.

DELETE FROM google.networksecurity.address_groups_items
WHERE organizationsId = '{{ organizationsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND addressGroupsId = '{{ addressGroupsId }}' --required
;