# Google Cloud Network Management V1 Client - Class DirectVpcEgressConnectionInfo (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 DirectVpcEgressConnectionInfo.

For display only. Metadata associated with a serverless direct VPC egress
connection.

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

## Namespace

Google \\ Cloud \\ NetworkManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ network_uri` | `string` URI of direct access network. |
| `↳ subnetwork_uri` | `string` URI of direct access subnetwork. |
| `↳ selected_ip_range` | `string` Selected IP range. |
| `↳ selected_ip_address` | `string` Selected starting IP address, from the selected IP range. |
| `↳ region` | `string` Region in which the Direct VPC egress is deployed. |

### getNetworkUri

URI of direct access network.

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

### setNetworkUri

URI of direct access network.

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

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

### getSubnetworkUri

URI of direct access subnetwork.

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

### setSubnetworkUri

URI of direct access subnetwork.

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

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

### getSelectedIpRange

Selected IP range.

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

### setSelectedIpRange

Selected IP range.

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

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

### getSelectedIpAddress

Selected starting IP address, from the selected IP range.

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

### setSelectedIpAddress

Selected starting IP address, from the selected IP range.

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

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

### getRegion

Region in which the Direct VPC egress is deployed.

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

### setRegion

Region in which the Direct VPC egress is deployed.

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

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