address_groups_items
Creates, updates, deletes, gets or lists an address_groups_items
resource.
Overview
Name | address_groups_items |
Type | Resource |
Id | google.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_address_groups_add_items | insert | projectsId , locationsId , addressGroupsId | Adds items to an address group. | |
organizations_locations_address_groups_add_items | insert | organizationsId , locationsId , addressGroupsId | Adds items to an address group. | |
projects_locations_address_groups_remove_items | delete | projectsId , locationsId , addressGroupsId | Removes items from an address group. | |
organizations_locations_address_groups_remove_items | delete | organizationsId , locationsId , addressGroupsId | Removes 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.
Name | Datatype | Description |
---|---|---|
addressGroupsId | string | |
locationsId | string | |
organizationsId | string | |
projectsId | string |
INSERT
examples
- projects_locations_address_groups_add_items
- organizations_locations_address_groups_add_items
- Manifest
Adds items to an address group.
INSERT INTO google.networksecurity.address_groups_items (
data__items,
data__requestId,
projectsId,
locationsId,
addressGroupsId
)
SELECT
'{{ items }}',
'{{ requestId }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ addressGroupsId }}'
RETURNING
name,
done,
error,
metadata,
response
;
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
;
# Description fields are for documentation purposes
- name: address_groups_items
props:
- name: projectsId
value: string
description: Required parameter for the address_groups_items resource.
- name: locationsId
value: string
description: Required parameter for the address_groups_items resource.
- name: addressGroupsId
value: string
description: Required parameter for the address_groups_items resource.
- name: organizationsId
value: string
description: Required parameter for the address_groups_items resource.
- name: items
value: array
description: >
Required. List of items to add.
- name: requestId
value: string
description: >
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
DELETE
examples
- projects_locations_address_groups_remove_items
- organizations_locations_address_groups_remove_items
Removes items from an address group.
DELETE FROM google.networksecurity.address_groups_items
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND addressGroupsId = '{{ addressGroupsId }}' --required;
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;