Skip to main content

intercept_deployment_groups

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

Overview

Nameintercept_deployment_groups
TypeResource
Idgoogle.networksecurity.intercept_deployment_groups

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringImmutable. Identifier. The resource name of this deployment group, for example: projects/123456789/locations/global/interceptDeploymentGroups/my-dg. See https://google.aip.dev/122 for more details.
connectedEndpointGroupsarrayOutput only. The list of endpoint groups that are connected to this resource.
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 deployment group. Used as additional context for the deployment group.
labelsobjectOptional. Labels are key/value pairs that help to organize and filter resources.
locationsarrayOutput only. The list of locations where the deployment group is present.
nestedDeploymentsarrayOutput only. The list of Intercept Deployments that belong to this group.
networkstringRequired. Immutable. The network that will be used for all child deployments, for example: projects/{project}/global/networks/{network}. 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 deployment to the group) See https://google.aip.dev/128.
statestringOutput only. The current state of the deployment 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_deployment_groups_getselectprojectsId, locationsId, interceptDeploymentGroupsIdGets a specific deployment group. See https://google.aip.dev/131.
projects_locations_intercept_deployment_groups_listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists deployment groups in a given project and location. See https://google.aip.dev/132.
projects_locations_intercept_deployment_groups_createinsertprojectsId, locationsIdinterceptDeploymentGroupId, requestIdCreates a deployment group in a given project and location. See https://google.aip.dev/133.
projects_locations_intercept_deployment_groups_patchupdateprojectsId, locationsId, interceptDeploymentGroupsIdupdateMask, requestIdUpdates a deployment group. See https://google.aip.dev/134.
projects_locations_intercept_deployment_groups_deletedeleteprojectsId, locationsId, interceptDeploymentGroupsIdrequestIdDeletes a deployment 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
interceptDeploymentGroupsIdstring
locationsIdstring
projectsIdstring
filterstring
interceptDeploymentGroupIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)

SELECT examples

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

SELECT
name,
connectedEndpointGroups,
createTime,
description,
labels,
locations,
nestedDeployments,
network,
reconciling,
state,
updateTime
FROM google.networksecurity.intercept_deployment_groups
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND interceptDeploymentGroupsId = '{{ interceptDeploymentGroupsId }}' -- required;

INSERT examples

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

INSERT INTO google.networksecurity.intercept_deployment_groups (
data__name,
data__labels,
data__network,
data__description,
projectsId,
locationsId,
interceptDeploymentGroupId,
requestId
)
SELECT
'{{ name }}',
'{{ labels }}',
'{{ network }}',
'{{ description }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ interceptDeploymentGroupId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates a deployment group. See https://google.aip.dev/134.

UPDATE google.networksecurity.intercept_deployment_groups
SET
data__name = '{{ name }}',
data__labels = '{{ labels }}',
data__network = '{{ network }}',
data__description = '{{ description }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND interceptDeploymentGroupsId = '{{ interceptDeploymentGroupsId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes a deployment group. See https://google.aip.dev/135.

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