# Google Cloud Network Management V1 Client - Class InterconnectAttachmentInfo (2.9.2)

2.9.2 (latest) 2.9.1 2.8.0 2.7.0 2.6.1 2.5.0 2.4.2 2.3.2 2.2.1 2.1.1 2.0.1 1.7.3 1.5.0 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Management V1 Client class InterconnectAttachmentInfo.

For display only. Metadata associated with an Interconnect attachment.

Generated from protobuf message `google.cloud.networkmanagement.v1.InterconnectAttachmentInfo`

## Namespace

Google \\ Cloud \\ NetworkManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ display_name` | `string` Name of an Interconnect attachment. |
| `↳ uri` | `string` URI of an Interconnect attachment. |
| `↳ interconnect_uri` | `string` URI of the Interconnect where the Interconnect attachment is configured. |
| `↳ region` | `string` Name of a Google Cloud region where the Interconnect attachment is configured. |
| `↳ cloud_router_uri` | `string` URI of the Cloud Router to be used for dynamic routing. |
| `↳ type` | `int` The type of interconnect attachment this is. |
| `↳ l2_attachment_matched_ip_address` | `string` Appliance IP address that was matched for L2_DEDICATED attachments. |

### getDisplayName

Name of an Interconnect attachment.

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

### setDisplayName

Name of an Interconnect attachment.

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

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

### getUri

URI of an Interconnect attachment.

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

### setUri

URI of an Interconnect attachment.

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

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

### getInterconnectUri

URI of the Interconnect where the Interconnect attachment is
configured.

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

### setInterconnectUri

URI of the Interconnect where the Interconnect attachment is
configured.

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

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

### getRegion

Name of a Google Cloud region where the Interconnect attachment is
configured.

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

### setRegion

Name of a Google Cloud region where the Interconnect attachment is
configured.

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

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

### getCloudRouterUri

URI of the Cloud Router to be used for dynamic routing.

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

### setCloudRouterUri

URI of the Cloud Router to be used for dynamic routing.

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

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

### getType

The type of interconnect attachment this is.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-network-management/latest/V1.InterconnectAttachmentInfo.Type). |

### setType

The type of interconnect attachment this is.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-network-management/latest/V1.InterconnectAttachmentInfo.Type). |

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

### getL2AttachmentMatchedIpAddress

Appliance IP address that was matched for L2_DEDICATED attachments.

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

### setL2AttachmentMatchedIpAddress

Appliance IP address that was matched for L2_DEDICATED attachments.

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

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