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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eRouter.Types.Interface\u003c/code\u003e class is part of the Google Cloud Edge Network v1 API and is used to define layer-3 information for building BGP sessions.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors for creating new instances and copies of \u003ccode\u003eRouter.Types.Interface\u003c/code\u003e objects, and it offers properties such as \u003ccode\u003eIpv4Cidr\u003c/code\u003e, \u003ccode\u003eIpv6Cidr\u003c/code\u003e, \u003ccode\u003eLinkedInterconnectAttachment\u003c/code\u003e, \u003ccode\u003eLoopbackIpAddresses\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eSubnetwork\u003c/code\u003e for configuring the network interface.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouter.Types.Interface\u003c/code\u003e documentation is available for multiple versions including 1.4.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0, with 1.4.0 being the latest.\u003c/p\u003e\n"]]],[],null,["# Distributed Cloud Edge Network v1 API - Class Router.Types.Interface (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/1.3.0/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/1.2.0/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/1.1.0/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/1.0.0/Google.Cloud.EdgeNetwork.V1.Router.Types.Interface) \n\n public sealed class Router.Types.Interface : IMessage\u003cRouter.Types.Interface\u003e, IEquatable\u003cRouter.Types.Interface\u003e, IDeepCloneable\u003cRouter.Types.Interface\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Distributed Cloud Edge Network v1 API class Router.Types.Interface.\n\nRouter Interface defines the GDCE zone side layer-3 information for\nbuilding the BGP session. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Router.Types.Interface \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Router](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router)[Types](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types)[Interface](/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](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router)[Types](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types)[Interface](/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](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router)[Types](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1.Router.Types)[Interface](/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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.EdgeNetwork.V1](/dotnet/docs/reference/Google.Cloud.EdgeNetwork.V1/latest/Google.Cloud.EdgeNetwork.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.EdgeNetwork.V1.dll\n\nConstructors\n------------\n\n### Interface()\n\n public Interface()\n\n### Interface(Interface)\n\n public Interface(Router.Types.Interface other)\n\nProperties\n----------\n\n### Ipv4Cidr\n\n public string Ipv4Cidr { get; set; }\n\nIP address and range of the interface.\n\n### Ipv6Cidr\n\n public string Ipv6Cidr { get; set; }\n\nIPv6 address and range of the interface.\n\n### LinkedInterconnectAttachment\n\n public string LinkedInterconnectAttachment { get; set; }\n\nThe canonical name of the linked Interconnect attachment.\n\n### LoopbackIpAddresses\n\n public RepeatedField\u003cstring\u003e LoopbackIpAddresses { get; }\n\nCreate loopback interface in the router when specified.\nThe number of IP addresses must match the number of TOR devices.\n\n### Name\n\n public string Name { get; set; }\n\nName of this interface entry. Unique within the Zones resource.\n\n### Subnetwork\n\n public string Subnetwork { get; set; }\n\nThe canonical name of the subnetwork resource that this interface\nbelongs to."]]