# Compute V1 Client - Class InterconnectDiagnostics (2.10.0)

2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.0 1.22.1 1.21.0 1.20.0 1.19.0 1.18.1 1.17.0 1.16.2 1.14.0 1.13.0 1.12.1 1.11.1 1.10.1 1.9.1 1.8.3 1.7.1 1.6.1 1.5.0 Reference documentation and code samples for the Compute V1 Client class InterconnectDiagnostics.

Diagnostics information about the Interconnect connection, which contains
detailed and current technical information about Google's side of the
connection.

Generated from protobuf message `google.cloud.compute.v1.InterconnectDiagnostics`

## Namespace

Google \\ Cloud \\ Compute \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ arp_caches` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectDiagnosticsARPEntry>` A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled. |
| `↳ bundle_aggregation_type` | `string` The aggregation type of the bundle interface. Check the BundleAggregationType enum for the list of possible values. |
| `↳ bundle_operational_status` | `string` The operational status of the bundle interface. Check the BundleOperationalStatus enum for the list of possible values. |
| `↳ links` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectDiagnosticsLinkStatus>` A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect. |
| `↳ mac_address` | `string` The MAC address of the Interconnect's bundle interface. |

### getArpCaches

A list of InterconnectDiagnostics.ARPEntry objects,
describing individual neighbors currently seen by the Google router in
the ARP cache for the Interconnect.

This will be empty when the Interconnect is not bundled.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectDiagnosticsARPEntry>` |   |

### setArpCaches

A list of InterconnectDiagnostics.ARPEntry objects,
describing individual neighbors currently seen by the Google router in
the ARP cache for the Interconnect.

This will be empty when the Interconnect is not bundled.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectDiagnosticsARPEntry>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBundleAggregationType

The aggregation type of the bundle interface.

Check the BundleAggregationType enum for the list of possible values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasBundleAggregationType

### clearBundleAggregationType

### setBundleAggregationType

The aggregation type of the bundle interface.

Check the BundleAggregationType enum for the list of possible values.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBundleOperationalStatus

The operational status of the bundle interface.

Check the BundleOperationalStatus enum for the list of possible values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasBundleOperationalStatus

### clearBundleOperationalStatus

### setBundleOperationalStatus

The operational status of the bundle interface.

Check the BundleOperationalStatus enum for the list of possible values.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLinks

A list of InterconnectDiagnostics.LinkStatus objects,
describing the status for each link on the Interconnect.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectDiagnosticsLinkStatus>` |   |

### setLinks

A list of InterconnectDiagnostics.LinkStatus objects,
describing the status for each link on the Interconnect.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectDiagnosticsLinkStatus>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMacAddress

The MAC address of the Interconnect's bundle interface.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasMacAddress

### clearMacAddress

### setMacAddress

The MAC address of the Interconnect's bundle interface.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |