{
  "$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-attachment-aggregated-list-schema.json",
  "title": "NetworkAttachmentAggregatedList",
  "description": "Contains a list of NetworkAttachmentsScopedList.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-network-attachments-api-openapi.yml#/components/schemas/NetworkAttachmentAggregatedList",
  "properties": {
    "kind": {
      "type": "string",
      "readOnly": true,
      "default": "compute#networkAttachmentAggregatedList"
    },
    "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"
    },
    "id": {
      "type": "string",
      "description": "[Output Only] Unique identifier for the resource; defined by the server."
    },
    "warning": {
      "type": "object",
      "description": "[Output Only] Informational warning message.",
      "properties": {
        "data": {
          "type": "array",
          "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  }]",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "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).",
                "type": "string"
              },
              "value": {
                "description": "[Output Only] A warning data value corresponding to the key.",
                "type": "string"
              }
            }
          }
        },
        "message": {
          "type": "string",
          "description": "[Output Only] A human-readable description of the warning code."
        },
        "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.",
          "type": "string",
          "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"
          ]
        }
      }
    },
    "items": {
      "additionalProperties": {
        "$ref": "#/$defs/NetworkAttachmentsScopedList",
        "description": "Name of the scope containing this set of NetworkAttachments."
      },
      "description": "A list of NetworkAttachmentsScopedList resources.",
      "type": "object"
    },
    "selfLink": {
      "type": "string",
      "description": "[Output Only] Server-defined URL for this resource."
    }
  },
  "type": "object",
  "$defs": {
    "NetworkAttachment": {
      "description": "NetworkAttachments\nA network attachment resource ...",
      "properties": {
        "fingerprint": {
          "format": "byte",
          "type": "string",
          "description": "Fingerprint of this resource. A hash of the contents stored\nin this object. This field is used in optimistic locking. An up-to-date\nfingerprint must be provided in order to patch."
        },
        "region": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] URL of the region where the network attachment resides.\nThis field applies only to the region resource. You must specify this\nfield as part of the HTTP request URL. It is not settable as a field in\nthe request body."
        },
        "kind": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output Only] Type of the resource.",
          "default": "compute#networkAttachment"
        },
        "selfLinkWithId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] Server-defined URL for this resource's resource id."
        },
        "selfLink": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output Only] Server-defined URL for the resource."
        },
        "subnetworks": {
          "description": "An array of URLs where each entry is the URL of a subnet\nprovided by the service consumer to use for\nendpoints in the producers that connect to this network attachment.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "id": {
          "description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier.",
          "format": "uint64",
          "type": "string",
          "readOnly": true
        },
        "producerRejectLists": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Projects or service class ids that are not allowed to connect to this\nnetwork attachment. The project can be specified using its id or number.\nService class id can be specified as \"serviceclasses/{service_class_id}\"."
        },
        "connectionEndpoints": {
          "description": "Output only. [Output Only] An array of connections for all the producers connected\nto this network attachment.",
          "items": {
            "$ref": "#/$defs/NetworkAttachmentConnectedEndpoint"
          },
          "readOnly": true,
          "type": "array"
        },
        "creationTimestamp": {
          "readOnly": true,
          "description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "An optional description of this resource. Provide this property when you\ncreate the resource."
        },
        "network": {
          "description": "Output only. [Output Only] The URL of the network which the Network Attachment\nbelongs to. Practically it is inferred by fetching the network of the first\nsubnetwork associated. Because it is required that all the subnetworks must\nbe from the same network, it is assured that the Network Attachment belongs\nto the same network as all the subnetworks.",
          "type": "string",
          "readOnly": true
        },
        "producerAcceptLists": {
          "description": "Projects or service class ids that are allowed to connect to this network\nattachment. The project can be specified using its id or number. Service\nclass id can be specified as \"serviceclasses/{service_class_id}\".",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "connectionPreference": {
          "enum": [
            "ACCEPT_AUTOMATIC",
            "ACCEPT_MANUAL",
            "INVALID"
          ],
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.",
          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
        }
      },
      "type": "object"
    },
    "NetworkAttachmentConnectedEndpoint": {
      "description": "[Output Only] A connection connected to this network attachment.",
      "type": "object",
      "properties": {
        "ipv6Address": {
          "description": "The IPv6 address assigned to the producer instance network interface.\nThis is only assigned when the stack types of both the instance network\ninterface and the consumer subnet are IPv4_IPv6.",
          "type": "string"
        },
        "ipAddress": {
          "description": "The IPv4 address assigned to the producer instance network interface.\nThis value will be a range in case of Serverless.",
          "type": "string"
        },
        "subnetworkCidrRange": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] The CIDR range of the subnet from which the IPv4 internal\nIP was allocated from."
        },
        "projectIdOrNum": {
          "type": "string",
          "description": "The project id or number of the interface to which the IP was assigned."
        },
        "status": {
          "enum": [
            "ACCEPTED",
            "CLOSED",
            "NEEDS_ATTENTION",
            "PENDING",
            "REJECTED",
            "STATUS_UNSPECIFIED"
          ],
          "type": "string",
          "description": "The status of a connected endpoint to this network attachment."
        },
        "secondaryIpCidrRanges": {
          "description": "Alias IP ranges from the same subnetwork.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "serviceClassId": {
          "description": "The service class id of the producer service to which the IP was\nassigned.",
          "type": "string"
        },
        "subnetwork": {
          "description": "The subnetwork used to assign the IP to the producer\ninstance network interface.",
          "type": "string"
        }
      }
    },
    "NetworkAttachmentsScopedList": {
      "properties": {
        "networkAttachments": {
          "items": {
            "$ref": "#/$defs/NetworkAttachment"
          },
          "type": "array",
          "description": "A list of NetworkAttachments contained in this scope."
        },
        "warning": {
          "properties": {
            "code": {
              "type": "string",
              "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"
              ]
            },
            "data": {
              "type": "array",
              "items": {
                "properties": {
                  "value": {
                    "type": "string",
                    "description": "[Output Only] A warning data value corresponding to the key."
                  },
                  "key": {
                    "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).",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "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  }]"
            },
            "message": {
              "type": "string",
              "description": "[Output Only] A human-readable description of the warning code."
            }
          },
          "description": "Informational warning which replaces the list of\nnetwork attachments when the list is empty.",
          "type": "object"
        }
      },
      "type": "object"
    }
  }
}