---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# gcp_compute_network_endpoint_group{% #gcp_compute_network_endpoint_group %}

## `ancestors`{% #ancestors %}

**Type**: `UNORDERED_LIST_STRING`

## `annotations`{% #annotations %}

**Type**: `MAP_STRING_STRING`**Provider name**: `annotations`**Description**: Optional. Metadata defined as annotations on the network endpoint group.

## `app_engine`{% #app_engine %}

**Type**: `STRUCT`**Provider name**: `appEngine`**Description**: Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.

- `service`**Type**: `STRING`**Provider name**: `service`**Description**: Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: default, my-service.
- `url_mask`**Type**: `STRING`**Provider name**: `urlMask`**Description**: An URL mask is one of the main components of the Cloud Function. A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs foo1-dot-appname.appspot.com/v1 and foo1-dot-appname.appspot.com/v2 can be backed by the same Serverless NEG with URL mask-dot-appname.appspot.com/. The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
- `version`**Type**: `STRING`**Provider name**: `version`**Description**: Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: v1, v2.

## `cloud_function`{% #cloud_function %}

**Type**: `STRUCT`**Provider name**: `cloudFunction`**Description**: Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.

- `function`**Type**: `STRING`**Provider name**: `function`**Description**: A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: func1.
- `url_mask`**Type**: `STRING`**Provider name**: `urlMask`**Description**: An URL mask is one of the main components of the Cloud Function. A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs mydomain.com/function1 and mydomain.com/function2 can be backed by the same Serverless NEG with URL mask /. The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.

## `cloud_run`{% #cloud_run %}

**Type**: `STRUCT`**Provider name**: `cloudRun`**Description**: Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.

- `service`**Type**: `STRING`**Provider name**: `service`**Description**: Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service".
- `tag`**Type**: `STRING`**Provider name**: `tag`**Description**: Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010".
- `url_mask`**Type**: `STRING`**Provider name**: `urlMask`**Description**: An URL mask is one of the main components of the Cloud Function. A template to parseandfields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs foo1.domain.com/bar1 and foo1.domain.com/bar2 can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask.domain.com/. The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.

## `creation_timestamp`{% #creation_timestamp %}

**Type**: `TIMESTAMP`**Provider name**: `creationTimestamp`**Description**: [Output Only] Creation timestamp in RFC3339 text format.

## `default_port`{% #default_port %}

**Type**: `INT32`**Provider name**: `defaultPort`**Description**: The default port used if the port number is not specified in the network endpoint. Optional. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified.

## `description`{% #description %}

**Type**: `STRING`**Provider name**: `description`**Description**: An optional description of this resource. Provide this property when you create the resource.

## `id`{% #id %}

**Type**: `STRING`**Provider name**: `id`**Description**: [Output Only] The unique identifier for the resource. This identifier is defined by the server.

## `kind`{% #kind %}

**Type**: `STRING`**Provider name**: `kind`**Description**: [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.

## `labels`{% #labels %}

**Type**: `UNORDERED_LIST_STRING`

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `name`**Description**: Name 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.

## `network`{% #network %}

**Type**: `STRING`**Provider name**: `network`**Description**: The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified.

## `network_endpoint_type`{% #network_endpoint_type %}

**Type**: `STRING`**Provider name**: `networkEndpointType`**Description**: Type 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, GCE_VM_IP_PORTMAP.**Possible values**:

- `GCE_VM_IP` - The network endpoint is represented by an IP address.
- `GCE_VM_IP_PORT` - The network endpoint is represented by IP address and port pair.
- `GCE_VM_IP_PORTMAP` - The network endpoint is represented by an IP, Port and Client Destination Port.
- `INTERNET_FQDN_PORT` - The network endpoint is represented by fully qualified domain name and port.
- `INTERNET_IP_PORT` - The network endpoint is represented by an internet IP address and port.
- `NON_GCP_PRIVATE_IP_PORT` - The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
- `PRIVATE_SERVICE_CONNECT` - The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
- `SERVERLESS` - The network endpoint is handled by specified serverless infrastructure.

## `organization_id`{% #organization_id %}

**Type**: `STRING`

## `parent`{% #parent %}

**Type**: `STRING`

## `project_id`{% #project_id %}

**Type**: `STRING`

## `project_number`{% #project_number %}

**Type**: `STRING`

## `psc_data`{% #psc_data %}

**Type**: `STRUCT`**Provider name**: `pscData`**Description**: Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT.

- `consumer_psc_address`**Type**: `STRING`**Provider name**: `consumerPscAddress`**Description**: [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
- `producer_port`**Type**: `INT32`**Provider name**: `producerPort`**Description**: The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type
- `psc_connection_id`**Type**: `INT64`**Provider name**: `pscConnectionId`**Description**: [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.
- `psc_connection_status`**Type**: `STRING`**Provider name**: `pscConnectionStatus`**Description**: [Output Only] The connection status of the PSC Forwarding Rule.**Possible values**:
  - `ACCEPTED` - The connection has been accepted by the producer.
  - `CLOSED` - The connection has been closed by the producer and will not serve traffic going forward.
  - `NEEDS_ATTENTION` - The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic.
  - `PENDING` - The connection is pending acceptance by the producer.
  - `REJECTED` - The connection has been rejected by the producer.
  - `STATUS_UNSPECIFIED`

## `psc_target_service`{% #psc_target_service %}

**Type**: `STRING`**Provider name**: `pscTargetService`**Description**: The 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. Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT.

## `region`{% #region %}

**Type**: `STRING`**Provider name**: `region`**Description**: [Output Only] The URL of the region where the network endpoint group is located.

## `region_id`{% #region_id %}

**Type**: `STRING`

## `resource_name`{% #resource_name %}

**Type**: `STRING`

## `self_link`{% #self_link %}

**Type**: `STRING`**Provider name**: `selfLink`**Description**: [Output Only] Server-defined URL for the resource.

## `size`{% #size %}

**Type**: `INT32`**Provider name**: `size`**Description**: [Output only] Number of network endpoints in the network endpoint group.

## `subnetwork`{% #subnetwork %}

**Type**: `STRING`**Provider name**: `subnetwork`**Description**: Optional URL of the subnetwork to which all network endpoints in the NEG belong.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`

## `zone`{% #zone %}

**Type**: `STRING`**Provider name**: `zone`**Description**: [Output Only] The URL of the zone where the network endpoint group is located.

## `zone_id`{% #zone_id %}

**Type**: `STRING`
