Skip to main content

network_endpoints

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

Overview​

Namenetwork_endpoints
TypeResource
Idgoogle.compute.network_endpoints

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring[Output Only] Unique identifier for the resource; defined by the server.
itemsarrayA list of NetworkEndpointWithHealthStatus resources.
kindstringOutput only. [Output Only] The resource type, which is alwayscompute#networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in the specified network endpoint group. (default: compute#networkEndpointGroupsListNetworkEndpoints)
nextPageTokenstring[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
warningobject[Output Only] Informational warning message.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_network_endpointsselectproject, networkEndpointGroupfilter, maxResults, orderBy, pageToken, returnPartialSuccessLists the network endpoints in the specified network endpoint group.

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
networkEndpointGroupstring
projectstring
filterstring
maxResultsinteger (uint32)
orderBystring
pageTokenstring
returnPartialSuccessboolean

SELECT examples​

Lists the network endpoints in the specified network endpoint group.

SELECT
id,
items,
kind,
nextPageToken,
warning
FROM google.compute.network_endpoints
WHERE project = '{{ project }}' -- required
AND networkEndpointGroup = '{{ networkEndpointGroup }}' -- required
AND filter = '{{ filter }}'
AND maxResults = '{{ maxResults }}'
AND orderBy = '{{ orderBy }}'
AND pageToken = '{{ pageToken }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
;