# Google Cloud Network Connectivity V1 Client - Class NextHopRouterApplianceInstance (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.0 2.2.2 2.1.2 2.0.2 1.5.5 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 Connectivity V1 Client class NextHopRouterApplianceInstance.

A route next hop that leads to a Router appliance instance.

Generated from protobuf message `google.cloud.networkconnectivity.v1.NextHopRouterApplianceInstance`

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` The URI of the Router appliance instance. |
| `↳ vpc_network` | `string` The VPC network where this VM is located. |
| `↳ site_to_site_data_transfer` | `bool` Indicates whether site-to-site data transfer is allowed for this Router appliance instance resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). |

### getUri

The URI of the Router appliance instance.

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

### setUri

The URI of the Router appliance instance.

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

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

### getVpcNetwork

The VPC network where this VM is located.

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

### setVpcNetwork

The VPC network where this VM is located.

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

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

### getSiteToSiteDataTransfer

Indicates whether site-to-site data transfer is allowed for this Router
appliance instance resource. Data transfer is available only in [supported
locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setSiteToSiteDataTransfer

Indicates whether site-to-site data transfer is allowed for this Router
appliance instance resource. Data transfer is available only in [supported
locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).

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

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