# REST Resource: projects.locations.zones.interconnects

- [Resource: Interconnect](https://docs.cloud.google.com/distributed-cloud/connected/1.7.1/docs/reference/network/rest/v1/projects.locations.zones.interconnects#Interconnect)
  - [JSON representation](https://docs.cloud.google.com/distributed-cloud/connected/1.7.1/docs/reference/network/rest/v1/projects.locations.zones.interconnects#Interconnect.SCHEMA_REPRESENTATION)
- [InterconnectType](https://docs.cloud.google.com/distributed-cloud/connected/1.7.1/docs/reference/network/rest/v1/projects.locations.zones.interconnects#InterconnectType)
- [Methods](https://docs.cloud.google.com/distributed-cloud/connected/1.7.1/docs/reference/network/rest/v1/projects.locations.zones.interconnects#METHODS_SUMMARY)

## Resource: Interconnect

Message describing Interconnect object

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "description": string, "interconnectType": enum (`https://docs.cloud.google.com/distributed-cloud/connected/1.7.1/docs/reference/network/rest/v1/projects.locations.zones.interconnects#InterconnectType`), "uuid": string, "deviceCloudResourceName": string, "physicalPorts": [ string ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Required. The canonical resource name of the interconnect. |
| `createTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Output only. The time when the subnet was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `updateTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Output only. The time when the subnet was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `labels` | `map (key: string, value: string)` Labels associated with this resource. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `description` | `string` Optional. A free-text description of the resource. Max length 1024 characters. |
| `interconnectType` | ``enum (`https://docs.cloud.google.com/distributed-cloud/connected/1.7.1/docs/reference/network/rest/v1/projects.locations.zones.interconnects#InterconnectType`)`` Optional. Type of interconnect, which takes only the value 'DEDICATED' for now. |
| `uuid` | `string` Output only. Unique identifier for the link. |
| `deviceCloudResourceName` | `string` Output only. Cloud resource name of the switch device. |
| `physicalPorts[]` | `string` Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the interconnect. |

## InterconnectType

Type of interconnect.

| Enums ||
|---|---|
| `INTERCONNECT_TYPE_UNSPECIFIED` | Unspecified. |
| `DEDICATED` | Dedicated Interconnect. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/distributed-cloud/connected/1.7.1/docs/reference/network/rest/v1/projects.locations.zones.interconnects/diagnose` | Get the diagnostics of a single interconnect resource. |
| ### `https://docs.cloud.google.com/distributed-cloud/connected/1.7.1/docs/reference/network/rest/v1/projects.locations.zones.interconnects/get` | Gets details of a single Interconnect. |
| ### `https://docs.cloud.google.com/distributed-cloud/connected/1.7.1/docs/reference/network/rest/v1/projects.locations.zones.interconnects/list` | Lists Interconnects in a given project and location. |