# Distributed Cloud Edge Network v1 API - Class Router.Types.Interface (1.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/1.5.0/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/1.4.0/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/1.3.0/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/1.2.0/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/1.1.0/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/1.0.0/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface)

    public sealed class Router.Types.Interface : IMessage<Router.Types.Interface>, IEquatable<Router.Types.Interface>, IDeepCloneable<Router.Types.Interface>, IBufferMessage, IMessage

Reference documentation and code samples for the Distributed Cloud Edge Network v1 API class Router.Types.Interface.

Router Interface defines the GDCE zone side layer-3 information for
building the BGP session.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Router](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types)[Interface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Router](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types)[Interface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Router](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types)[Interface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface), [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.EdgeNetwork.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1)

## Assembly

Google.Cloud.EdgeNetwork.V1.dll

## Constructors

### Interface()

    public Interface()

### Interface(Interface)

    public Interface(Router.Types.Interface other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Routerhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface` |

## Properties

### Ipv4Cidr

    public string Ipv4Cidr { get; set; }

IP address and range of the interface.

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

### Ipv6Cidr

    public string Ipv6Cidr { get; set; }

IPv6 address and range of the interface.

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

### LinkedInterconnectAttachment

    public string LinkedInterconnectAttachment { get; set; }

The canonical name of the linked Interconnect attachment.

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

### LoopbackIpAddresses

    public RepeatedField<string> LoopbackIpAddresses { get; }

Create loopback interface in the router when specified.
The number of IP addresses must match the number of TOR devices.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Name

    public string Name { get; set; }

Name of this interface entry. Unique within the Zones resource.

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

### Subnetwork

    public string Subnetwork { get; set; }

The canonical name of the subnetwork resource that this interface
belongs to.

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