# Network Management v1 API - Class VpnTunnelInfo (2.20.0)

2.20.0 (latest) 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public sealed class VpnTunnelInfo : IMessage<VpnTunnelInfo>, IEquatable<VpnTunnelInfo>, IDeepCloneable<VpnTunnelInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Management v1 API class VpnTunnelInfo.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> VpnTunnelInfo

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[VpnTunnelInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.VpnTunnelInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[VpnTunnelInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.VpnTunnelInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[VpnTunnelInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.VpnTunnelInfo), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.NetworkManagement.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1)

## Assembly

Google.Cloud.NetworkManagement.V1.dll

## Constructors

### VpnTunnelInfo()

    public VpnTunnelInfo()

### VpnTunnelInfo(VpnTunnelInfo)

    public VpnTunnelInfo(VpnTunnelInfo other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.VpnTunnelInfo` |

## Properties

### DisplayName

    public string DisplayName { get; set; }

Name of a VPN tunnel.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### NetworkUri

    public string NetworkUri { get; set; }

URI of a Compute Engine network where the VPN tunnel is configured.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Region

    public string Region { get; set; }

Name of a Google Cloud region where this VPN tunnel is configured.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RemoteGateway

    public string RemoteGateway { get; set; }

URI of a VPN gateway at remote end of the tunnel.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RemoteGatewayIp

    public string RemoteGatewayIp { get; set; }

Remote VPN gateway's IP address.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RoutingType

    public VpnTunnelInfo.Types.RoutingType RoutingType { get; set; }

Type of the routing policy.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.VpnTunnelInfohttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.VpnTunnelInfo.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.VpnTunnelInfo.Types.RoutingType` |   |

### SourceGateway

    public string SourceGateway { get; set; }

URI of the VPN gateway at local end of the tunnel.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### SourceGatewayIp

    public string SourceGatewayIp { get; set; }

Local VPN gateway's IP address.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Uri

    public string Uri { get; set; }

URI of a VPN tunnel.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |