Skip to main content

intercept_deployments

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

Overview

Nameintercept_deployments
TypeResource
Idgoogle.networksecurity.intercept_deployments

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringImmutable. Identifier. The resource name of this deployment, for example: projects/123456789/locations/us-central1-a/interceptDeployments/my-dep. See https://google.aip.dev/122 for more details.
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. Used as additional context for the deployment.
forwardingRulestringRequired. Immutable. The regional forwarding rule that fronts the interceptors, for example: projects/123456789/regions/us-central1/forwardingRules/my-rule. See https://google.aip.dev/124.
interceptDeploymentGroupstringRequired. Immutable. The deployment group that this deployment is a part of, 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 part of the normal operation (e.g. linking a new association to the parent group). See https://google.aip.dev/128.
statestringOutput only. The current state of the deployment. 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_deployments_getselectprojectsId, locationsId, interceptDeploymentsIdGets a specific deployment. See https://google.aip.dev/131.
projects_locations_intercept_deployments_listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists deployments in a given project and location. See https://google.aip.dev/132.
projects_locations_intercept_deployments_createinsertprojectsId, locationsIdinterceptDeploymentId, requestIdCreates a deployment in a given project and location. See https://google.aip.dev/133.
projects_locations_intercept_deployments_patchupdateprojectsId, locationsId, interceptDeploymentsIdupdateMask, requestIdUpdates a deployment. See https://google.aip.dev/134.
projects_locations_intercept_deployments_deletedeleteprojectsId, locationsId, interceptDeploymentsIdrequestIdDeletes a deployment. 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
interceptDeploymentsIdstring
locationsIdstring
projectsIdstring
filterstring
interceptDeploymentIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)

SELECT examples

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

SELECT
name,
createTime,
description,
forwardingRule,
interceptDeploymentGroup,
labels,
reconciling,
state,
updateTime
FROM google.networksecurity.intercept_deployments
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND interceptDeploymentsId = '{{ interceptDeploymentsId }}' -- required;

INSERT examples

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

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

UPDATE examples

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

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

DELETE examples

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

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