Skip to main content

intercept_endpoint_groups

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

Overview

Nameintercept_endpoint_groups
TypeResource
Idgoogle.networksecurity.intercept_endpoint_groups

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringImmutable. Identifier. The resource name of this endpoint group, for example: projects/123456789/locations/global/interceptEndpointGroups/my-eg. See https://google.aip.dev/122 for more details.
associationsarrayOutput only. List of associations to this endpoint group.
connectedDeploymentGroupobjectOutput only. Details about the connected deployment group to this endpoint group. (id: InterceptEndpointGroupConnectedDeploymentGroup)
createTimestring (google-datetime)Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.
descriptionstringOptional. User-provided description of the endpoint group. Used as additional context for the endpoint group.
interceptDeploymentGroupstringRequired. Immutable. The deployment group that this endpoint group is connected to, for example: projects/123456789/locations/global/interceptDeploymentGroups/my-dg. See https://google.aip.dev/124.
labelsobjectOptional. Labels are key/value pairs that help to organize and filter resources.
reconcilingbooleanOutput only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This is part of the normal operation (e.g. adding a new association to the group). See https://google.aip.dev/128.
statestringOutput only. The current state of the endpoint group. See https://google.aip.dev/216.
updateTimestring (google-datetime)Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_intercept_endpoint_groups_getselectprojectsId, locationsId, interceptEndpointGroupsIdGets a specific endpoint group. See https://google.aip.dev/131.
projects_locations_intercept_endpoint_groups_listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists endpoint groups in a given project and location. See https://google.aip.dev/132.
projects_locations_intercept_endpoint_groups_createinsertprojectsId, locationsIdinterceptEndpointGroupId, requestIdCreates an endpoint group in a given project and location. See https://google.aip.dev/133.
projects_locations_intercept_endpoint_groups_patchupdateprojectsId, locationsId, interceptEndpointGroupsIdupdateMask, requestIdUpdates an endpoint group. See https://google.aip.dev/134.
projects_locations_intercept_endpoint_groups_deletedeleteprojectsId, locationsId, interceptEndpointGroupsIdrequestIdDeletes an endpoint group. See https://google.aip.dev/135.

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
interceptEndpointGroupsIdstring
locationsIdstring
projectsIdstring
filterstring
interceptEndpointGroupIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)

SELECT examples

Gets a specific endpoint group. See https://google.aip.dev/131.

SELECT
name,
associations,
connectedDeploymentGroup,
createTime,
description,
interceptDeploymentGroup,
labels,
reconciling,
state,
updateTime
FROM google.networksecurity.intercept_endpoint_groups
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND interceptEndpointGroupsId = '{{ interceptEndpointGroupsId }}' -- required;

INSERT examples

Creates an endpoint group in a given project and location. See https://google.aip.dev/133.

INSERT INTO google.networksecurity.intercept_endpoint_groups (
data__name,
data__labels,
data__interceptDeploymentGroup,
data__description,
projectsId,
locationsId,
interceptEndpointGroupId,
requestId
)
SELECT
'{{ name }}',
'{{ labels }}',
'{{ interceptDeploymentGroup }}',
'{{ description }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ interceptEndpointGroupId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates an endpoint group. See https://google.aip.dev/134.

UPDATE google.networksecurity.intercept_endpoint_groups
SET
data__name = '{{ name }}',
data__labels = '{{ labels }}',
data__interceptDeploymentGroup = '{{ interceptDeploymentGroup }}',
data__description = '{{ description }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND interceptEndpointGroupsId = '{{ interceptEndpointGroupsId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes an endpoint group. See https://google.aip.dev/135.

DELETE FROM google.networksecurity.intercept_endpoint_groups
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND interceptEndpointGroupsId = '{{ interceptEndpointGroupsId }}' --required
AND requestId = '{{ requestId }}';