# Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::VpnTunnelInfo (v2.11.0)

2.11.0 (latest) 2.10.1 2.9.0 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.1 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::VpnTunnelInfo.

For display only. Metadata associated with a Compute Engine VPN tunnel.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Name of a VPN tunnel.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of a VPN tunnel.
**Returns**

- (::String) --- Name of a VPN tunnel.

### #network_uri

    def network_uri() -> ::String

**Returns**

- (::String) --- URI of a Compute Engine network where the VPN tunnel is configured.

### #network_uri=

    def network_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- URI of a Compute Engine network where the VPN tunnel is configured.
**Returns**

- (::String) --- URI of a Compute Engine network where the VPN tunnel is configured.

### #region

    def region() -> ::String

**Returns**

- (::String) --- Name of a Google Cloud region where this VPN tunnel is configured.

### #region=

    def region=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of a Google Cloud region where this VPN tunnel is configured.
**Returns**

- (::String) --- Name of a Google Cloud region where this VPN tunnel is configured.

### #remote_gateway

    def remote_gateway() -> ::String

**Returns**

- (::String) --- URI of a VPN gateway at remote end of the tunnel.

### #remote_gateway=

    def remote_gateway=(value) -> ::String

**Parameter**

- **value** (::String) --- URI of a VPN gateway at remote end of the tunnel.
**Returns**

- (::String) --- URI of a VPN gateway at remote end of the tunnel.

### #remote_gateway_ip

    def remote_gateway_ip() -> ::String

**Returns**

- (::String) --- Remote VPN gateway's IP address.

### #remote_gateway_ip=

    def remote_gateway_ip=(value) -> ::String

**Parameter**

- **value** (::String) --- Remote VPN gateway's IP address.
**Returns**

- (::String) --- Remote VPN gateway's IP address.

### #routing_type

    def routing_type() -> ::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType

**Returns**

- ([::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_management-v1/latest/Google-Cloud-NetworkManagement-V1-VpnTunnelInfo-RoutingType)) --- Type of the routing policy.

### #routing_type=

    def routing_type=(value) -> ::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType

**Parameter**

- **value** ([::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_management-v1/latest/Google-Cloud-NetworkManagement-V1-VpnTunnelInfo-RoutingType)) --- Type of the routing policy.
**Returns**

- ([::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_management-v1/latest/Google-Cloud-NetworkManagement-V1-VpnTunnelInfo-RoutingType)) --- Type of the routing policy.

### #source_gateway

    def source_gateway() -> ::String

**Returns**

- (::String) --- URI of the VPN gateway at local end of the tunnel.

### #source_gateway=

    def source_gateway=(value) -> ::String

**Parameter**

- **value** (::String) --- URI of the VPN gateway at local end of the tunnel.
**Returns**

- (::String) --- URI of the VPN gateway at local end of the tunnel.

### #source_gateway_ip

    def source_gateway_ip() -> ::String

**Returns**

- (::String) --- Local VPN gateway's IP address.

### #source_gateway_ip=

    def source_gateway_ip=(value) -> ::String

**Parameter**

- **value** (::String) --- Local VPN gateway's IP address.
**Returns**

- (::String) --- Local VPN gateway's IP address.

### #uri

    def uri() -> ::String

**Returns**

- (::String) --- URI of a VPN tunnel.

### #uri=

    def uri=(value) -> ::String

**Parameter**

- **value** (::String) --- URI of a VPN tunnel.
**Returns**

- (::String) --- URI of a VPN tunnel.