Skip to main content

global_network_endpoint_groups

Overview

Nameglobal_network_endpoint_groups
TypeResource
Idgoogle.compute.global_network_endpoint_groups

Fields

NameDatatypeDescription
idstring[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestringName of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
descriptionstringAn optional description of this resource. Provide this property when you create the resource.
kindstring[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
regionstring[Output Only] The URL of the region where the network endpoint group is located.
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
pscTargetServicestringThe target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"
zonestring[Output Only] The URL of the zone where the network endpoint group is located.
networkstringThe URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
networkEndpointTypestringType of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
cloudRunobjectConfiguration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG.
appEngineobjectConfiguration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG.
defaultPortintegerThe default port used if the port number is not specified in the network endpoint.
sizeinteger[Output only] Number of network endpoints in the network endpoint group.
pscDataobjectAll data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT.
subnetworkstringOptional URL of the subnetwork to which all network endpoints in the NEG belong.
selfLinkstring[Output Only] Server-defined URL for the resource.
annotationsobjectMetadata defined as annotations on the network endpoint group.
cloudFunctionobjectConfiguration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkEndpointGroup, projectReturns the specified network endpoint group.
listSELECTprojectRetrieves the list of network endpoint groups that are located in the specified project.
insertINSERTprojectCreates a network endpoint group in the specified project using the parameters that are included in the request.
deleteDELETEnetworkEndpointGroup, projectDeletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.
attach_network_endpointsEXECnetworkEndpointGroup, projectAttach a network endpoint to the specified network endpoint group.
detach_network_endpointsEXECnetworkEndpointGroup, projectDetach the network endpoint from the specified network endpoint group.