intercept_endpoint_group_associations
Creates, updates, deletes, gets or lists an intercept_endpoint_group_associations
resource.
Overview
Name | intercept_endpoint_group_associations |
Type | Resource |
Id | google.networksecurity.intercept_endpoint_group_associations |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_intercept_endpoint_group_associations_get
- projects_locations_intercept_endpoint_group_associations_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Immutable. Identifier. The resource name of this endpoint group association, for example: projects/123456789/locations/global/interceptEndpointGroupAssociations/my-eg-association . 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. |
interceptEndpointGroup | string | Required. Immutable. The endpoint group that this association is connected to, for example: projects/123456789/locations/global/interceptEndpointGroups/my-eg . See https://google.aip.dev/124. |
labels | object | Optional. Labels are key/value pairs that help to organize and filter resources. |
locations | array | Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group. |
locationsDetails | array | Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself. |
network | string | Required. Immutable. The VPC network that is associated. for example: projects/123456789/global/networks/my-network . See https://google.aip.dev/124. |
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. adding a new location to the target deployment group). See https://google.aip.dev/128. |
state | string | Output only. Current state of the endpoint group association. |
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 endpoint group association, for example: projects/123456789/locations/global/interceptEndpointGroupAssociations/my-eg-association . 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. |
interceptEndpointGroup | string | Required. Immutable. The endpoint group that this association is connected to, for example: projects/123456789/locations/global/interceptEndpointGroups/my-eg . See https://google.aip.dev/124. |
labels | object | Optional. Labels are key/value pairs that help to organize and filter resources. |
locations | array | Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group. |
locationsDetails | array | Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself. |
network | string | Required. Immutable. The VPC network that is associated. for example: projects/123456789/global/networks/my-network . See https://google.aip.dev/124. |
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. adding a new location to the target deployment group). See https://google.aip.dev/128. |
state | string | Output only. Current state of the endpoint group association. |
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:
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 |
---|---|---|
interceptEndpointGroupAssociationsId | string | |
locationsId | string | |
projectsId | string | |
filter | string | |
interceptEndpointGroupAssociationId | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string | |
requestId | string | |
updateMask | string (google-fieldmask) |
SELECT
examples
- projects_locations_intercept_endpoint_group_associations_get
- projects_locations_intercept_endpoint_group_associations_list
Gets a specific association. See https://google.aip.dev/131.
SELECT
name,
createTime,
interceptEndpointGroup,
labels,
locations,
locationsDetails,
network,
reconciling,
state,
updateTime
FROM google.networksecurity.intercept_endpoint_group_associations
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND interceptEndpointGroupAssociationsId = '{{ interceptEndpointGroupAssociationsId }}' -- required;
Lists associations in a given project and location. See https://google.aip.dev/132.
SELECT
name,
createTime,
interceptEndpointGroup,
labels,
locations,
locationsDetails,
network,
reconciling,
state,
updateTime
FROM google.networksecurity.intercept_endpoint_group_associations
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_endpoint_group_associations_create
- Manifest
Creates an association in a given project and location. See https://google.aip.dev/133.
INSERT INTO google.networksecurity.intercept_endpoint_group_associations (
data__name,
data__labels,
data__interceptEndpointGroup,
data__network,
projectsId,
locationsId,
interceptEndpointGroupAssociationId,
requestId
)
SELECT
'{{ name }}',
'{{ labels }}',
'{{ interceptEndpointGroup }}',
'{{ network }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ interceptEndpointGroupAssociationId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;
# Description fields are for documentation purposes
- name: intercept_endpoint_group_associations
props:
- name: projectsId
value: string
description: Required parameter for the intercept_endpoint_group_associations resource.
- name: locationsId
value: string
description: Required parameter for the intercept_endpoint_group_associations resource.
- name: name
value: string
description: >
Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-eg-association`. 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: interceptEndpointGroup
value: string
description: >
Required. Immutable. The endpoint group that this association is connected to, for example: `projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See https://google.aip.dev/124.
- name: network
value: string
description: >
Required. Immutable. The VPC network that is associated. for example: `projects/123456789/global/networks/my-network`. See https://google.aip.dev/124.
- name: interceptEndpointGroupAssociationId
value: string
- name: requestId
value: string
UPDATE
examples
- projects_locations_intercept_endpoint_group_associations_patch
Updates an association. See https://google.aip.dev/134.
UPDATE google.networksecurity.intercept_endpoint_group_associations
SET
data__name = '{{ name }}',
data__labels = '{{ labels }}',
data__interceptEndpointGroup = '{{ interceptEndpointGroup }}',
data__network = '{{ network }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND interceptEndpointGroupAssociationsId = '{{ interceptEndpointGroupAssociationsId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;
DELETE
examples
- projects_locations_intercept_endpoint_group_associations_delete
Deletes an association. See https://google.aip.dev/135.
DELETE FROM google.networksecurity.intercept_endpoint_group_associations
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND interceptEndpointGroupAssociationsId = '{{ interceptEndpointGroupAssociationsId }}' --required
AND requestId = '{{ requestId }}';