{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-network-endpoint-groups-list-network-endpoints-schema.json",
  "title": "NetworkEndpointGroupsListNetworkEndpoints",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-global-network-endpoint-groups-api-openapi.yml#/components/schemas/NetworkEndpointGroupsListNetworkEndpoints",
  "properties": {
    "id": {
      "type": "string",
      "description": "[Output Only] Unique identifier for the resource; defined by the server."
    },
    "warning": {
      "properties": {
        "code": {
          "description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.",
          "enum": [
            "CLEANUP_FAILED",
            "DEPRECATED_RESOURCE_USED",
            "DEPRECATED_TYPE_USED",
            "DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
            "EXPERIMENTAL_TYPE_USED",
            "EXTERNAL_API_WARNING",
            "FIELD_VALUE_OVERRIDEN",
            "INJECTED_KERNELS_DEPRECATED",
            "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB",
            "LARGE_DEPLOYMENT_WARNING",
            "LIST_OVERHEAD_QUOTA_EXCEED",
            "MISSING_TYPE_DEPENDENCY",
            "NEXT_HOP_ADDRESS_NOT_ASSIGNED",
            "NEXT_HOP_CANNOT_IP_FORWARD",
            "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE",
            "NEXT_HOP_INSTANCE_NOT_FOUND",
            "NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
            "NEXT_HOP_NOT_RUNNING",
            "NOT_CRITICAL_ERROR",
            "NO_RESULTS_ON_PAGE",
            "PARTIAL_SUCCESS",
            "QUOTA_INFO_UNAVAILABLE",
            "REQUIRED_TOS_AGREEMENT",
            "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING",
            "RESOURCE_NOT_DELETED",
            "SCHEMA_VALIDATION_IGNORED",
            "SINGLE_INSTANCE_PROPERTY_TEMPLATE",
            "UNDECLARED_PROPERTIES",
            "UNREACHABLE"
          ],
          "type": "string"
        },
        "message": {
          "type": "string",
          "description": "[Output Only] A human-readable description of the warning code."
        },
        "data": {
          "description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n  {\n   \"key\": \"scope\",\n   \"value\": \"zones/us-east1-d\"\n  }]",
          "type": "array",
          "items": {
            "properties": {
              "key": {
                "type": "string",
                "description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding)."
              },
              "value": {
                "type": "string",
                "description": "[Output Only] A warning data value corresponding to the key."
              }
            },
            "type": "object"
          }
        }
      },
      "type": "object",
      "description": "[Output Only] Informational warning message."
    },
    "nextPageToken": {
      "description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.",
      "type": "string"
    },
    "kind": {
      "type": "string",
      "readOnly": true,
      "default": "compute#networkEndpointGroupsListNetworkEndpoints",
      "description": "Output only. [Output Only] The resource type, which is alwayscompute#networkEndpointGroupsListNetworkEndpoints for the list\nof network endpoints in the specified network endpoint group."
    },
    "items": {
      "type": "array",
      "description": "A list of NetworkEndpointWithHealthStatus resources.",
      "items": {
        "$ref": "#/$defs/NetworkEndpointWithHealthStatus"
      }
    }
  },
  "type": "object",
  "$defs": {
    "BackendServiceReference": {
      "properties": {
        "backendService": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ForwardingRuleReference": {
      "properties": {
        "forwardingRule": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "HealthCheckReference": {
      "properties": {
        "healthCheck": {
          "type": "string"
        }
      },
      "description": "A full or valid partial URL to a health check. For example, the following are\nvalid URLs:\n   \n   - https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check\n   - projects/project-id/global/httpHealthChecks/health-check\n   - global/httpHealthChecks/health-check",
      "type": "object"
    },
    "HealthCheckServiceReference": {
      "description": "A full or valid partial URL to a health check service. For example, the\nfollowing are valid URLs:\n   \n   - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/healthCheckServices/health-check-service\n   - projects/project-id/regions/us-west1/healthCheckServices/health-check-service\n   - regions/us-west1/healthCheckServices/health-check-service",
      "type": "object",
      "properties": {
        "healthCheckService": {
          "type": "string"
        }
      }
    },
    "HealthStatusForNetworkEndpoint": {
      "properties": {
        "healthState": {
          "description": "Health state of the network endpoint determined based on the health checks\nconfigured.",
          "type": "string",
          "enum": [
            "DRAINING",
            "HEALTHY",
            "UNHEALTHY",
            "UNKNOWN"
          ]
        },
        "healthCheck": {
          "$ref": "#/$defs/HealthCheckReference",
          "description": "URL of the health check associated with the health state of the network\nendpoint."
        },
        "ipv6HealthState": {
          "enum": [
            "DRAINING",
            "HEALTHY",
            "UNHEALTHY",
            "UNKNOWN"
          ],
          "type": "string",
          "description": "Health state of the ipv6 network endpoint determined based on the health\nchecks configured."
        },
        "healthCheckService": {
          "$ref": "#/$defs/HealthCheckServiceReference",
          "description": "URL of the health check service associated with the health state of the\nnetwork endpoint."
        },
        "forwardingRule": {
          "$ref": "#/$defs/ForwardingRuleReference",
          "description": "URL of the forwarding rule associated with the health state of the network\nendpoint."
        },
        "backendService": {
          "$ref": "#/$defs/BackendServiceReference",
          "description": "URL of the backend service associated with the health state of the network\nendpoint."
        }
      },
      "type": "object"
    },
    "NetworkEndpoint": {
      "description": "The network endpoint.",
      "type": "object",
      "properties": {
        "ipAddress": {
          "description": "Optional IPv4 address of network endpoint. The IP address must belong to a\nVM in Compute Engine (either the primary IP or as part of an aliased IP\nrange). If the IP address is not specified, then the primary IP address for\nthe VM instance in the network that the network endpoint group belongs to\nwill be used.\n\nThis field is redundant and need not be set for network endpoints of typeGCE_VM_IP. If set, it must be set to the primary internal IP\naddress of the attached VM instance that matches the subnetwork of the NEG.\nThe primary internal IP address from any NIC of a multi-NIC VM instance can\nbe added to a NEG as long as it matches the NEG subnetwork.",
          "type": "string"
        },
        "clientDestinationPort": {
          "type": "integer",
          "format": "int32",
          "description": "Represents the port number to which PSC consumer sends packets.\n\nOptional. Only valid for network endpoint groups created withGCE_VM_IP_PORTMAP endpoint type."
        },
        "ipv6Address": {
          "type": "string",
          "description": "Optional IPv6 address of network endpoint."
        },
        "port": {
          "description": "Optional port number of network endpoint. If not specified, the\ndefaultPort for the network endpoint group will be used.\n\nThis field can not be set for network endpoints of typeGCE_VM_IP.",
          "format": "int32",
          "type": "integer"
        },
        "fqdn": {
          "type": "string",
          "description": "Optional fully qualified domain name of network endpoint. This can only be\nspecified when NetworkEndpointGroup.network_endpoint_type isNON_GCP_FQDN_PORT."
        },
        "instance": {
          "type": "string",
          "description": "The name or a URL of VM instance of this network endpoint.\nOptional, the field presence depends on the network endpoint type. The\nfield is required for network endpoints of type GCE_VM_IP andGCE_VM_IP_PORT.\n\nThe instance must be in the same zone of network endpoint group (for zonal\nNEGs) or in the zone within the region of the NEG (for regional NEGs).\nIf the ipAddress is specified, it must belongs to the VM\ninstance.\n\nThe name must be 1-63 characters long, and comply withRFC1035\nor be a valid URL pointing to an existing instance."
        },
        "annotations": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional metadata defined as annotations on the network endpoint."
        }
      }
    },
    "NetworkEndpointWithHealthStatus": {
      "type": "object",
      "properties": {
        "networkEndpoint": {
          "$ref": "#/$defs/NetworkEndpoint",
          "description": "Output only. [Output only] The network endpoint."
        },
        "healths": {
          "items": {
            "$ref": "#/$defs/HealthStatusForNetworkEndpoint"
          },
          "description": "Output only. [Output only] The health status of network endpoint.\n\nOptional. Displayed only if the network endpoint has centralized health\nchecking configured.",
          "type": "array",
          "readOnly": true
        }
      }
    }
  }
}