{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-interconnect-list-schema.json",
  "title": "InterconnectList",
  "description": "Response to the list request, and contains a list of interconnects.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-interconnects-api-openapi.yml#/components/schemas/InterconnectList",
  "type": "object",
  "properties": {
    "warning": {
      "description": "[Output Only] Informational warning message.",
      "properties": {
        "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  }]",
          "items": {
            "type": "object",
            "properties": {
              "value": {
                "description": "[Output Only] A warning data value corresponding to the key.",
                "type": "string"
              },
              "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)."
              }
            }
          },
          "type": "array"
        },
        "code": {
          "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"
          ],
          "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"
        }
      },
      "type": "object"
    },
    "kind": {
      "description": "Output only. [Output Only] Type of resource. Alwayscompute#interconnectList for lists of interconnects.",
      "default": "compute#interconnectList",
      "readOnly": true,
      "type": "string"
    },
    "nextPageToken": {
      "type": "string",
      "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."
    },
    "items": {
      "type": "array",
      "description": "A list of Interconnect resources.",
      "items": {
        "$ref": "#/$defs/Interconnect"
      }
    },
    "selfLink": {
      "description": "Output only. [Output Only] Server-defined URL for this resource.",
      "readOnly": true,
      "type": "string"
    },
    "id": {
      "description": "[Output Only] Unique identifier for the resource; defined by the server.",
      "type": "string"
    }
  },
  "$defs": {
    "Interconnect": {
      "properties": {
        "circuitInfos": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/InterconnectCircuitInfo"
          },
          "description": "Output only. [Output Only] A list of CircuitInfo objects, that describe the individual\ncircuits in this LAG."
        },
        "applicationAwareInterconnect": {
          "$ref": "#/$defs/InterconnectApplicationAwareInterconnect",
          "description": "Configuration information for application awareness on this Cloud\nInterconnect."
        },
        "interconnectType": {
          "type": "string",
          "description": "Type of interconnect, which can take one of the following values:\n   \n   - PARTNER: A partner-managed interconnection shared between customers\n   though a partner.\n   - DEDICATED: A dedicated physical interconnection with the\n   customer.\n\n\nNote that a value IT_PRIVATE has been deprecated in favor of DEDICATED.",
          "enum": [
            "DEDICATED",
            "IT_PRIVATE",
            "PARTNER"
          ]
        },
        "interconnectAttachments": {
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Output only. [Output Only] A list of the URLs of all InterconnectAttachments configured\nto use  this Interconnect."
        },
        "id": {
          "format": "uint64",
          "description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.",
          "readOnly": true,
          "type": "string"
        },
        "linkType": {
          "type": "string",
          "enum": [
            "LINK_TYPE_ETHERNET_100G_LR",
            "LINK_TYPE_ETHERNET_10G_LR",
            "LINK_TYPE_ETHERNET_400G_LR4"
          ],
          "description": "Type of link requested, which can take one of the following values:\n   \n   - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics\n   - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics.\n   - LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4 optics.\n\n\n Note that this field indicates the speed of each of\nthe links in the bundle, not the speed of the entire bundle."
        },
        "satisfiesPzs": {
          "description": "Output only. [Output Only] Reserved for future use.",
          "type": "boolean",
          "readOnly": true
        },
        "aaiEnabled": {
          "description": "Enable or disable the application awareness feature on this Cloud\nInterconnect.",
          "type": "boolean"
        },
        "labelFingerprint": {
          "format": "byte",
          "description": "A fingerprint for the labels being applied to this Interconnect, which\nis essentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve an Interconnect.",
          "type": "string"
        },
        "params": {
          "$ref": "#/$defs/InterconnectParams",
          "description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload."
        },
        "state": {
          "type": "string",
          "description": "Output only. [Output Only] The current state of Interconnect functionality, which can\ntake one of the following values:\n   \n   - ACTIVE: The Interconnect is valid, turned up and ready to use.\n   Attachments may be provisioned on this Interconnect.\n   - UNPROVISIONED: The Interconnect has not completed turnup. No\n   attachments may be provisioned on this Interconnect.\n   - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance.\n   No attachments may be provisioned or updated on this\n   Interconnect.",
          "readOnly": true,
          "enum": [
            "ACTIVE",
            "UNPROVISIONED"
          ]
        },
        "effectiveLocation": {
          "readOnly": true,
          "description": "Output only. URL of the InterconnectLocation object that represents where\nthis connection is to be provisioned. By default it will be the same as the\nlocation field.",
          "type": "string"
        },
        "kind": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] Type of the resource. Alwayscompute#interconnect for interconnects.",
          "default": "compute#interconnect"
        },
        "location": {
          "description": "URL of the InterconnectLocation object that represents where this\nconnection is to be provisioned.",
          "type": "string"
        },
        "creationTimestamp": {
          "description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.",
          "readOnly": true,
          "type": "string"
        },
        "expectedOutages": {
          "type": "array",
          "description": "Output only. [Output Only] A list of outages expected for this Interconnect.",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/InterconnectOutageNotification"
          }
        },
        "nocContactEmail": {
          "description": "Email address to contact the customer NOC for operations and maintenance\nnotifications regarding this Interconnect. If specified, this will be used\nfor notifications in addition to all other forms described, such as\nCloud Monitoring logs alerting and Cloud Notifications. This field is\nrequired for users who sign up for Cloud Interconnect using\nworkforce identity federation.",
          "type": "string"
        },
        "googleIpAddress": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output Only] IP address configured on the Google side of the Interconnect\nlink. This can be used only for ping tests."
        },
        "provisionedLinkCount": {
          "description": "Output only. [Output Only] Number of links actually provisioned in this interconnect.",
          "type": "integer",
          "format": "int32",
          "readOnly": true
        },
        "operationalStatus": {
          "enum": [
            "OS_ACTIVE",
            "OS_UNPROVISIONED"
          ],
          "type": "string",
          "description": "Output only. [Output Only] The current status of this Interconnect's functionality,\nwhich can take one of the following values:\n   \n   - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to\n   use. Attachments may be provisioned on this Interconnect.\n\n- OS_UNPROVISIONED: An Interconnect that has not completed turnup. No\nattachments may be provisioned on this Interconnect.\n- OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal\nmaintenance. No attachments may be provisioned or updated on this\nInterconnect.",
          "readOnly": true
        },
        "remoteLocation": {
          "type": "string",
          "description": "Indicates that this is a Cross-Cloud Interconnect. This field specifies the\nlocation outside of Google's network that the interconnect is connected to."
        },
        "selfLinkWithId": {
          "description": "Output only. Server-defined URL for this resource with the resource id.",
          "type": "string",
          "readOnly": true
        },
        "interconnectGroups": {
          "description": "Output only. [Output Only] URLs of InterconnectGroups that include this Interconnect.\nOrder is arbitrary and items are unique.",
          "type": "array",
          "readOnly": true,
          "items": {
            "type": "string"
          }
        },
        "availableFeatures": {
          "description": "[Output only] List of features available for this Interconnect connection,\nwhich can take one of the following values:\n   \n   - IF_MACSEC: If present, then the Interconnect connection is\n   provisioned on MACsec capable hardware ports. If not present, then the\n   Interconnect connection is provisioned on non-MACsec capable ports. Any\n   attempt to enable MACsec will fail.\n   - IF_CROSS_SITE_NETWORK: If present, then the Interconnect connection is\n   provisioned exclusively for Cross-Site Networking. Any attempt to configure\n   VLAN attachments will fail. If not present, then the Interconnect\n   connection is not provisioned for Cross-Site Networking. Any attempt to use\n   it for Cross-Site Networking will fail.",
          "items": {
            "enum": [
              "IF_CROSS_SITE_NETWORK",
              "IF_L2_FORWARDING",
              "IF_MACSEC"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "macsecEnabled": {
          "type": "boolean",
          "description": "Enable or disable MACsec on this Interconnect connection. MACsec enablement\nfails if the MACsec object is not specified."
        },
        "subzone": {
          "type": "string",
          "description": "To be deprecated.",
          "enum": [
            "SUBZONE_A",
            "SUBZONE_B"
          ]
        },
        "description": {
          "description": "An optional description of this resource. Provide this property when you\ncreate the resource.",
          "type": "string"
        },
        "adminEnabled": {
          "description": "Administrative status of the interconnect. When this is set to true, the\nInterconnect is functional and can carry traffic.\nWhen set to false, no packets can be carried over the interconnect and\nno BGP routes are exchanged over it. By default, the status is set to true.",
          "type": "boolean"
        },
        "requestedFeatures": {
          "type": "array",
          "items": {
            "enum": [
              "IF_CROSS_SITE_NETWORK",
              "IF_L2_FORWARDING",
              "IF_MACSEC"
            ],
            "type": "string"
          },
          "description": "Optional. This parameter can be provided only with Interconnect INSERT. It\nisn't valid for Interconnect PATCH. List of features requested for this\nInterconnect connection, which can take one of the following values:\n   \n   - IF_MACSEC: If specified, then the connection is created on MACsec\n   capable hardware ports. If not specified, non-MACsec capable ports will\n   also be considered.\n   - IF_CROSS_SITE_NETWORK: If specified, then the connection is created\n   exclusively for Cross-Site Networking. The connection can not be used for\n   Cross-Site Networking unless this feature is specified."
        },
        "peerIpAddress": {
          "type": "string",
          "description": "Output only. [Output Only] IP address configured on the customer side of the\nInterconnect link. The customer should configure this IP address during\nturnup when prompted by Google NOC. This can be used only for ping tests.",
          "readOnly": true
        },
        "name": {
          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
          "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 be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash."
        },
        "macsec": {
          "$ref": "#/$defs/InterconnectMacsec",
          "description": "Configuration that enables Media Access Control security (MACsec) on the\nCloud Interconnect connection between Google and your on-premises router."
        },
        "wireGroups": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Output only. [Output Only] A list of the URLs of all CrossSiteNetwork WireGroups\nconfigured to use this Interconnect. The Interconnect cannot be deleted if\nthis list is non-empty.",
          "readOnly": true
        },
        "requestedLinkCount": {
          "description": "Target number of physical links in the link bundle, as requested by the\ncustomer.",
          "format": "int32",
          "type": "integer"
        },
        "selfLink": {
          "description": "Output only. [Output Only] Server-defined URL for the resource.",
          "readOnly": true,
          "type": "string"
        },
        "customerName": {
          "type": "string",
          "description": "Customer name, to put in the Letter of Authorization as the party\nauthorized to request a crossconnect."
        },
        "googleReferenceId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] Google reference ID to be used when raising support tickets\nwith Google or otherwise to debug backend connectivity issues."
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty."
        }
      },
      "description": "Represents an Interconnect resource.\n\nAn Interconnect resource is a dedicated connection between the Google\nCloud network and your on-premises network. For more information, read the\nDedicated Interconnect Overview.",
      "type": "object"
    },
    "InterconnectApplicationAwareInterconnect": {
      "properties": {
        "bandwidthPercentagePolicy": {
          "$ref": "#/$defs/InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy"
        },
        "shapeAveragePercentages": {
          "description": "Optional field to specify a list of shape average percentages to be\napplied in conjunction with StrictPriorityPolicy or\nBandwidthPercentagePolicy.",
          "items": {
            "$ref": "#/$defs/InterconnectApplicationAwareInterconnectBandwidthPercentage"
          },
          "type": "array"
        },
        "profileDescription": {
          "type": "string",
          "description": "Description for the application awareness profile on this Cloud\nInterconnect."
        },
        "strictPriorityPolicy": {
          "$ref": "#/$defs/InterconnectApplicationAwareInterconnectStrictPriorityPolicy"
        }
      },
      "type": "object",
      "description": "Configuration information for application awareness on this Cloud\nInterconnect."
    },
    "InterconnectApplicationAwareInterconnectBandwidthPercentage": {
      "properties": {
        "trafficClass": {
          "enum": [
            "TC1",
            "TC2",
            "TC3",
            "TC4",
            "TC5",
            "TC6"
          ],
          "type": "string",
          "description": "TrafficClass whose bandwidth percentage is being specified."
        },
        "percentage": {
          "format": "uint32",
          "type": "integer",
          "description": "Bandwidth percentage for a specific traffic class."
        }
      },
      "description": "Specify bandwidth percentages [1-100] for various traffic classes in\nBandwidthPercentagePolicy. The sum of all percentages must equal 100.\nAll traffic classes must have a percentage value specified.",
      "type": "object"
    },
    "InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy": {
      "properties": {
        "bandwidthPercentages": {
          "items": {
            "$ref": "#/$defs/InterconnectApplicationAwareInterconnectBandwidthPercentage"
          },
          "type": "array",
          "description": "Specify bandwidth percentages for various traffic classes for queuing\ntype Bandwidth Percent."
        }
      },
      "type": "object"
    },
    "InterconnectApplicationAwareInterconnectStrictPriorityPolicy": {
      "description": "Specify configuration for StrictPriorityPolicy.",
      "properties": {},
      "type": "object"
    },
    "InterconnectCircuitInfo": {
      "properties": {
        "googleDemarcId": {
          "type": "string",
          "description": "Google-side demarc ID for this circuit. Assigned at circuit turn-up and\nprovided by Google to the customer in the LOA."
        },
        "customerDemarcId": {
          "description": "Customer-side demarc ID for this circuit.",
          "type": "string"
        },
        "googleCircuitId": {
          "description": "Google-assigned unique ID for this circuit. Assigned at circuit turn-up.",
          "type": "string"
        }
      },
      "description": "Describes a single physical circuit between the Customer and Google.\nCircuitInfo objects are created by Google, so all fields are output only.",
      "type": "object"
    },
    "InterconnectMacsec": {
      "properties": {
        "preSharedKeys": {
          "description": "Required. A keychain placeholder describing a set of named key objects\nalong with their start times. A MACsec CKN/CAK is generated for each\nkey in the key chain. Google router automatically picks the key with\nthe most recent startTime when establishing or re-establishing a MACsec\nsecure link.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/InterconnectMacsecPreSharedKey"
          }
        },
        "failOpen": {
          "description": "If set to true, the Interconnect connection is configured with ashould-secure MACsec security policy, that allows the Google\nrouter to fallback to cleartext traffic if the MKA session cannot be\nestablished. By default, the Interconnect connection is configured with amust-secure security policy that drops all traffic if the\nMKA session cannot be established with your router.",
          "type": "boolean"
        }
      },
      "type": "object",
      "description": "Configuration information for enabling Media Access Control security\n(MACsec) on this Cloud Interconnect connection between Google and your\non-premises router."
    },
    "InterconnectMacsecPreSharedKey": {
      "type": "object",
      "description": "Describes a pre-shared key used to setup MACsec in static connectivity\nassociation key (CAK) mode.",
      "properties": {
        "startTime": {
          "type": "string",
          "description": "A RFC3339 timestamp on or after which the key is\nvalid. startTime can be in the future. If the keychain has a single\nkey, startTime can be omitted. If the keychain has multiple keys,\nstartTime is mandatory for each key. The start times of keys must be in\nincreasing order. The start times of two consecutive keys must be\nat least 6 hours apart."
        },
        "name": {
          "description": "Required. A name for this pre-shared key.\nThe name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63\ncharacters long and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a\nlowercase letter, and all following characters must be a dash,\nlowercase letter, or digit, except the last character, which cannot be\na dash.",
          "type": "string"
        }
      }
    },
    "InterconnectOutageNotification": {
      "properties": {
        "state": {
          "enum": [
            "ACTIVE",
            "CANCELLED",
            "COMPLETED",
            "NS_ACTIVE",
            "NS_CANCELED"
          ],
          "type": "string",
          "description": "State of this notification, which can take one of the following values:\n   \n   - ACTIVE: This outage notification is active. The event could be in\n   the past, present, or future. See start_time and end_time for\n   scheduling.\n   - CANCELLED: The outage associated with this notification was cancelled\n   before the outage was due to start.\n   - COMPLETED: The outage associated with this notification is complete.\n\n\nNote that the versions of this enum prefixed with \"NS_\" have been\ndeprecated in favor of the unprefixed values."
        },
        "description": {
          "description": "A description about the purpose of the outage.",
          "type": "string"
        },
        "source": {
          "type": "string",
          "enum": [
            "GOOGLE",
            "NSRC_GOOGLE"
          ],
          "description": "The party that generated this notification, which can take the following\nvalue:\n   \n   - GOOGLE: this notification as generated by Google.\n\n\nNote that the value of NSRC_GOOGLE has been deprecated in favor of\nGOOGLE."
        },
        "name": {
          "type": "string",
          "description": "Unique identifier for this outage notification."
        },
        "affectedCircuits": {
          "items": {
            "type": "string"
          },
          "description": "If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit\nIDs that will be affected.",
          "type": "array"
        },
        "issueType": {
          "enum": [
            "IT_OUTAGE",
            "IT_PARTIAL_OUTAGE",
            "OUTAGE",
            "PARTIAL_OUTAGE"
          ],
          "description": "Form this outage is expected to take, which can take one of the following\nvalues:\n   \n   - OUTAGE: The Interconnect may be completely out of service for\n   some or all of the specified window.\n   - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole\n   should remain up, but with reduced bandwidth.\n\n\nNote that the versions of this enum prefixed with \"IT_\" have been\ndeprecated in favor of the unprefixed values.",
          "type": "string"
        },
        "endTime": {
          "format": "int64",
          "description": "Scheduled end time for the outage (milliseconds since Unix\nepoch).",
          "type": "string"
        },
        "startTime": {
          "description": "Scheduled start time for the outage (milliseconds since Unix\nepoch).",
          "type": "string",
          "format": "int64"
        }
      },
      "description": "Description of a planned outage on this Interconnect.",
      "type": "object"
    },
    "InterconnectParams": {
      "description": "Additional interconnect parameters.",
      "type": "object",
      "properties": {
        "resourceManagerTags": {
          "description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n  instance: {\"123/environment\" : \"tagValues/444\"} is invalid.\n* Inconsistent format is not supported. For instance:\n  {\"tagKeys/333\" : \"tagValues/444\", \"123/env\" : \"prod\"} is invalid.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    }
  }
}