This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

gcp_compute_network_endpoint_group

ancestors

Type: UNORDERED_LIST_STRING

annotations

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

app_engine

Type: STRUCT
Provider name: appEngine
Description: 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: 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

Type: STRUCT
Provider name: cloudFunction
Description: 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: 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

Type: STRUCT
Provider name: cloudRun
Description: 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: A template to parse and fields 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

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

default_port

Type: INT32
Provider name: defaultPort
Description: The default port used if the port number is not specified in the network endpoint.

description

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

id

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

kind

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

labels

Type: UNORDERED_LIST_STRING

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

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

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.
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.
  • 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

Type: STRING

parent

Type: STRING

project_id

Type: STRING

project_number

Type: STRING

psc_data

Type: STRUCT
Provider name: pscData

  • 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.
  • 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

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”

region

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

resource_name

Type: STRING

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

size

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

subnetwork

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

tags

Type: UNORDERED_LIST_STRING

zone

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