# Network Connectivity V1 API - Class Google::Cloud::NetworkConnectivity::V1::NextHopVPNTunnel (v1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::NextHopVPNTunnel.

A route next hop that leads to a VPN tunnel resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #site_to_site_data_transfer

    def site_to_site_data_transfer() -> ::Boolean

**Returns**

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

### #site_to_site_data_transfer=

    def site_to_site_data_transfer=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Indicates whether site-to-site data transfer is allowed for this VPN tunnel resource. Data transfer is available only in [supported
  locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
**Returns**

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

### #uri

    def uri() -> ::String

**Returns**

- (::String) --- The URI of the VPN tunnel resource.

### #uri=

    def uri=(value) -> ::String

**Parameter**

- **value** (::String) --- The URI of the VPN tunnel resource.
**Returns**

- (::String) --- The URI of the VPN tunnel resource.

### #vpc_network

    def vpc_network() -> ::String

**Returns**

- (::String) --- The VPC network where this VPN tunnel is located.

### #vpc_network=

    def vpc_network=(value) -> ::String

**Parameter**

- **value** (::String) --- The VPC network where this VPN tunnel is located.
**Returns**

- (::String) --- The VPC network where this VPN tunnel is located.