Skip to main content

firewall_endpoints

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

Overview​

Namefirewall_endpoints
TypeResource
Idgoogle.networksecurity.firewall_endpoints

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringImmutable. Identifier. Name of resource.
associatedNetworksarrayOutput only. Deprecated: List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
associationsarrayOutput only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
billingProjectIdstringOptional. Project to charge for the deployed firewall endpoint. This field must be specified when creating the endpoint in the organization scope, and should be omitted otherwise.
createTimestring (google-datetime)Output only. Create time stamp.
descriptionstringOptional. Description of the firewall endpoint. Max length 2048 characters.
endpointSettingsobjectOptional. Settings for the endpoint. (id: FirewallEndpointEndpointSettings)
labelsobjectOptional. Labels as key value pairs
reconcilingbooleanOutput only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
satisfiesPzibooleanOutput only. [Output Only] Reserved for future use.
satisfiesPzsbooleanOutput only. [Output Only] Reserved for future use.
statestringOutput only. Current state of the endpoint. (STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING, INACTIVE)
updateTimestring (google-datetime)Output only. Update time stamp

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_locations_firewall_endpoints_getselectorganizationsId, locationsId, firewallEndpointsIdGets details of a single org Endpoint.
projects_locations_firewall_endpoints_getselectprojectsId, locationsId, firewallEndpointsIdGets details of a single project Endpoint.
organizations_locations_firewall_endpoints_listselectorganizationsId, locationsIdfilter, orderBy, pageSize, pageTokenLists FirewallEndpoints in a given organization and location.
projects_locations_firewall_endpoints_listselectprojectsId, locationsIdfilter, orderBy, pageSize, pageTokenLists FirewallEndpoints in a given project and location.
organizations_locations_firewall_endpoints_createinsertorganizationsId, locationsIdfirewallEndpointId, requestId, validateOnlyCreates a new FirewallEndpoint in a given organization and location.
projects_locations_firewall_endpoints_createinsertprojectsId, locationsIdfirewallEndpointId, requestId, validateOnlyCreates a new FirewallEndpoint in a given project and location.
organizations_locations_firewall_endpoints_patchupdateorganizationsId, locationsId, firewallEndpointsIdrequestId, updateMaskUpdate a single org Endpoint.
projects_locations_firewall_endpoints_patchupdateprojectsId, locationsId, firewallEndpointsIdrequestId, updateMaskUpdate a single project Endpoint.
organizations_locations_firewall_endpoints_deletedeleteorganizationsId, locationsId, firewallEndpointsIdrequestIdDeletes a single org Endpoint.
projects_locations_firewall_endpoints_deletedeleteprojectsId, locationsId, firewallEndpointsIdrequestIdDeletes a single project Endpoint.

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
firewallEndpointsIdstring
locationsIdstring
organizationsIdstring
projectsIdstring
filterstring
firewallEndpointIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)
validateOnlyboolean

SELECT examples​

Gets details of a single org Endpoint.

SELECT
name,
associatedNetworks,
associations,
billingProjectId,
createTime,
description,
endpointSettings,
labels,
reconciling,
satisfiesPzi,
satisfiesPzs,
state,
updateTime
FROM google.networksecurity.firewall_endpoints
WHERE organizationsId = '{{ organizationsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND firewallEndpointsId = '{{ firewallEndpointsId }}' -- required
;

INSERT examples​

Creates a new FirewallEndpoint in a given organization and location.

INSERT INTO google.networksecurity.firewall_endpoints (
data__billingProjectId,
data__description,
data__endpointSettings,
data__labels,
data__name,
organizationsId,
locationsId,
firewallEndpointId,
requestId,
validateOnly
)
SELECT
'{{ billingProjectId }}',
'{{ description }}',
'{{ endpointSettings }}',
'{{ labels }}',
'{{ name }}',
'{{ organizationsId }}',
'{{ locationsId }}',
'{{ firewallEndpointId }}',
'{{ requestId }}',
'{{ validateOnly }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples​

Update a single org Endpoint.

UPDATE google.networksecurity.firewall_endpoints
SET
data__billingProjectId = '{{ billingProjectId }}',
data__description = '{{ description }}',
data__endpointSettings = '{{ endpointSettings }}',
data__labels = '{{ labels }}',
data__name = '{{ name }}'
WHERE
organizationsId = '{{ organizationsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND firewallEndpointsId = '{{ firewallEndpointsId }}' --required
AND requestId = '{{ requestId}}'
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples​

Deletes a single org Endpoint.

DELETE FROM google.networksecurity.firewall_endpoints
WHERE organizationsId = '{{ organizationsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND firewallEndpointsId = '{{ firewallEndpointsId }}' --required
AND requestId = '{{ requestId }}'
;