intercept_deployments
Creates, updates, deletes, gets or lists an intercept_deployments
resource.
Overview
Name | intercept_deployments |
Type | Resource |
Id | google.networksecurity.intercept_deployments |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_intercept_deployments_get
- projects_locations_intercept_deployments_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Immutable. 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. |
createTime | string (google-datetime) | Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps. |
description | string | Optional. User-provided description of the deployment. Used as additional context for the deployment. |
forwardingRule | string | Required. 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. |
interceptDeploymentGroup | string | Required. 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. |
labels | object | Optional. Labels are key/value pairs that help to organize and filter resources. |
reconciling | boolean | Output 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. |
state | string | Output only. The current state of the deployment. See https://google.aip.dev/216. |
updateTime | string (google-datetime) | Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Immutable. 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. |
createTime | string (google-datetime) | Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps. |
description | string | Optional. User-provided description of the deployment. Used as additional context for the deployment. |
forwardingRule | string | Required. 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. |
interceptDeploymentGroup | string | Required. 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. |
labels | object | Optional. Labels are key/value pairs that help to organize and filter resources. |
reconciling | boolean | Output 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. |
state | string | Output only. The current state of the deployment. See https://google.aip.dev/216. |
updateTime | string (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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_intercept_deployments_get | select | projectsId , locationsId , interceptDeploymentsId | Gets a specific deployment. See https://google.aip.dev/131. | |
projects_locations_intercept_deployments_list | select | projectsId , locationsId | pageSize , pageToken , filter , orderBy | Lists deployments in a given project and location. See https://google.aip.dev/132. |
projects_locations_intercept_deployments_create | insert | projectsId , locationsId | interceptDeploymentId , requestId | Creates a deployment in a given project and location. See https://google.aip.dev/133. |
projects_locations_intercept_deployments_patch | update | projectsId , locationsId , interceptDeploymentsId | updateMask , requestId | Updates a deployment. See https://google.aip.dev/134. |
projects_locations_intercept_deployments_delete | delete | projectsId , locationsId , interceptDeploymentsId | requestId | Deletes 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.
Name | Datatype | Description |
---|---|---|
interceptDeploymentsId | string | |
locationsId | string | |
projectsId | string | |
filter | string | |
interceptDeploymentId | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string | |
requestId | string | |
updateMask | string (google-fieldmask) |
SELECT
examples
- projects_locations_intercept_deployments_get
- projects_locations_intercept_deployments_list
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;
Lists deployments in a given project and location. See https://google.aip.dev/132.
SELECT
name,
createTime,
description,
forwardingRule,
interceptDeploymentGroup,
labels,
reconciling,
state,
updateTime
FROM google.networksecurity.intercept_deployments
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';
INSERT
examples
- projects_locations_intercept_deployments_create
- Manifest
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
;
# Description fields are for documentation purposes
- name: intercept_deployments
props:
- name: projectsId
value: string
description: Required parameter for the intercept_deployments resource.
- name: locationsId
value: string
description: Required parameter for the intercept_deployments resource.
- name: name
value: string
description: >
Immutable. 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.
- name: labels
value: object
description: >
Optional. Labels are key/value pairs that help to organize and filter resources.
- name: forwardingRule
value: string
description: >
Required. 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.
- name: interceptDeploymentGroup
value: string
description: >
Required. 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.
- name: description
value: string
description: >
Optional. User-provided description of the deployment. Used as additional context for the deployment.
- name: interceptDeploymentId
value: string
- name: requestId
value: string
UPDATE
examples
- projects_locations_intercept_deployments_patch
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
- projects_locations_intercept_deployments_delete
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 }}';