Skip to main content

mirroring_endpoint_groups

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

Overview

Namemirroring_endpoint_groups
TypeResource
Idgoogle.networksecurity.mirroring_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/mirroringEndpointGroups/my-eg. See https://google.aip.dev/122 for more details.
associationsarrayOutput only. List of associations to this endpoint group.
connectedDeploymentGroupsarrayOutput only. List of details about the connected deployment groups to this endpoint group.
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.
labelsobjectOptional. Labels are key/value pairs that help to organize and filter resources.
mirroringDeploymentGroupstringImmutable. The deployment group that this DIRECT endpoint group is connected to, for example: projects/123456789/locations/global/mirroringDeploymentGroups/my-dg. See https://google.aip.dev/124.
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_mirroring_endpoint_groups_getselectprojectsId, locationsId, mirroringEndpointGroupsIdGets a specific endpoint group. See https://google.aip.dev/131.
projects_locations_mirroring_endpoint_groups_listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists endpoint groups in a given project and location. See https://google.aip.dev/132.
projects_locations_mirroring_endpoint_groups_createinsertprojectsId, locationsIdmirroringEndpointGroupId, requestIdCreates an endpoint group in a given project and location. See https://google.aip.dev/133.
projects_locations_mirroring_endpoint_groups_patchupdateprojectsId, locationsId, mirroringEndpointGroupsIdupdateMask, requestIdUpdates an endpoint group. See https://google.aip.dev/134.
projects_locations_mirroring_endpoint_groups_deletedeleteprojectsId, locationsId, mirroringEndpointGroupsIdrequestIdDeletes 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
locationsIdstring
mirroringEndpointGroupsIdstring
projectsIdstring
filterstring
mirroringEndpointGroupIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)

SELECT examples

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

SELECT
name,
associations,
connectedDeploymentGroups,
createTime,
description,
labels,
mirroringDeploymentGroup,
reconciling,
state,
updateTime
FROM google.networksecurity.mirroring_endpoint_groups
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND mirroringEndpointGroupsId = '{{ mirroringEndpointGroupsId }}' -- required;

INSERT examples

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

INSERT INTO google.networksecurity.mirroring_endpoint_groups (
data__name,
data__labels,
data__mirroringDeploymentGroup,
data__description,
projectsId,
locationsId,
mirroringEndpointGroupId,
requestId
)
SELECT
'{{ name }}',
'{{ labels }}',
'{{ mirroringDeploymentGroup }}',
'{{ description }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ mirroringEndpointGroupId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

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

UPDATE google.networksecurity.mirroring_endpoint_groups
SET
data__name = '{{ name }}',
data__labels = '{{ labels }}',
data__mirroringDeploymentGroup = '{{ mirroringDeploymentGroup }}',
data__description = '{{ description }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND mirroringEndpointGroupsId = '{{ mirroringEndpointGroupsId }}' --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.mirroring_endpoint_groups
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND mirroringEndpointGroupsId = '{{ mirroringEndpointGroupsId }}' --required
AND requestId = '{{ requestId }}';