For ADVERTISED routes, the URI of their next hop, i.e. the URI of the
hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance)
the advertised prefix is advertised through, or URI of the source peered
network. Deprecated in favor of the next_hop_uri field, not used in new
tests.
String type of the next hop of the route (for example, "VPN tunnel").
Deprecated in favor of the next_hop_type and next_hop_uri fields, not used
in new tests.
Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED
routes only. If set for POLICY_BASED route, this is a region of VLAN
attachments for Cloud Interconnect the route applies to.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eRouteInfo\u003c/code\u003e class within the Google Cloud Network Management v1 API for .NET, with the latest version being 2.13.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRouteInfo\u003c/code\u003e represents metadata associated with a Compute Engine route and is implemented as a sealed class, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eRouteInfo\u003c/code\u003e has several properties that allow you to see information such as the route's next hop, source router URI, destination IP range, port ranges, display name, and network URI, among other details.\u003c/p\u003e\n"],["\u003cp\u003eThe document also provides the available versions of \u003ccode\u003eRouteInfo\u003c/code\u003e from version 1.0.0 to 2.13.0, with links to each version.\u003c/p\u003e\n"],["\u003cp\u003eIt lists \u003ccode\u003eRouteInfo\u003c/code\u003e constructors, along with a table describing properties and parameters with their corresponding types and descriptions, providing comprehensive details on working with the class.\u003c/p\u003e\n"]]],[],null,["# Network Management v1 API - Class RouteInfo (2.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.15.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.14.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.13.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.12.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.11.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.10.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.9.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.8.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.7.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.6.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.5.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.4.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.3.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.2.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.1.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.0.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/1.1.0/Google.Cloud.NetworkManagement.V1.RouteInfo)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/1.0.0/Google.Cloud.NetworkManagement.V1.RouteInfo) \n\n public sealed class RouteInfo : IMessage\u003cRouteInfo\u003e, IEquatable\u003cRouteInfo\u003e, IDeepCloneable\u003cRouteInfo\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Management v1 API class RouteInfo.\n\nFor display only. Metadata associated with a Compute Engine route. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RouteInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RouteInfo](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.RouteInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RouteInfo](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.RouteInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RouteInfo](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.RouteInfo), [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.NetworkManagement.V1](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkManagement.V1.dll\n\nConstructors\n------------\n\n### RouteInfo()\n\n public RouteInfo()\n\n### RouteInfo(RouteInfo)\n\n public RouteInfo(RouteInfo other)\n\nProperties\n----------\n\n### AdvertisedRouteNextHopUri\n\n [Obsolete]\n public string AdvertisedRouteNextHopUri { get; set; }\n\nFor ADVERTISED routes, the URI of their next hop, i.e. the URI of the\nhybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance)\nthe advertised prefix is advertised through, or URI of the source peered\nnetwork. Deprecated in favor of the next_hop_uri field, not used in new\ntests.\n\n### AdvertisedRouteSourceRouterUri\n\n public string AdvertisedRouteSourceRouterUri { get; set; }\n\nFor ADVERTISED dynamic routes, the URI of the Cloud Router that advertised\nthe corresponding IP prefix.\n\n### DestIpRange\n\n public string DestIpRange { get; set; }\n\nDestination IP range of the route.\n\n### DestPortRanges\n\n public RepeatedField\u003cstring\u003e DestPortRanges { get; }\n\nDestination port ranges of the route. POLICY_BASED routes only.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nName of a route.\n\n### HasAdvertisedRouteNextHopUri\n\n [Obsolete]\n public bool HasAdvertisedRouteNextHopUri { get; }\n\nGets whether the \"advertised_route_next_hop_uri\" field is set\n\n### HasAdvertisedRouteSourceRouterUri\n\n public bool HasAdvertisedRouteSourceRouterUri { get; }\n\nGets whether the \"advertised_route_source_router_uri\" field is set\n\n### HasNccHubUri\n\n public bool HasNccHubUri { get; }\n\nGets whether the \"ncc_hub_uri\" field is set\n\n### HasNccSpokeUri\n\n public bool HasNccSpokeUri { get; }\n\nGets whether the \"ncc_spoke_uri\" field is set\n\n### InstanceTags\n\n public RepeatedField\u003cstring\u003e InstanceTags { get; }\n\nInstance tags of the route.\n\n### NccHubRouteUri\n\n public string NccHubRouteUri { get; set; }\n\nFor PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC\nHub, the URI of the corresponding route in NCC Hub's routing table.\n\n### NccHubUri\n\n public string NccHubUri { get; set; }\n\nURI of the NCC Hub the route is advertised by. PEERING_SUBNET and\nPEERING_DYNAMIC routes that are advertised by NCC Hub only.\n\n### NccSpokeUri\n\n public string NccSpokeUri { get; set; }\n\nURI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes\nthat are advertised by NCC Hub only.\n\n### NetworkUri\n\n public string NetworkUri { get; set; }\n\nURI of a VPC network where route is located.\n\n### NextHop\n\n [Obsolete]\n public string NextHop { get; set; }\n\nString type of the next hop of the route (for example, \"VPN tunnel\").\nDeprecated in favor of the next_hop_type and next_hop_uri fields, not used\nin new tests.\n\n### NextHopNetworkUri\n\n public string NextHopNetworkUri { get; set; }\n\nURI of a VPC network where the next hop resource is located.\n\n### NextHopType\n\n public RouteInfo.Types.NextHopType NextHopType { get; set; }\n\nType of next hop.\n\n### NextHopUri\n\n public string NextHopUri { get; set; }\n\nURI of the next hop resource.\n\n### OriginatingRouteDisplayName\n\n public string OriginatingRouteDisplayName { get; set; }\n\nFor PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of\nthe originating SUBNET/STATIC/DYNAMIC route.\n\n### OriginatingRouteUri\n\n public string OriginatingRouteUri { get; set; }\n\nFor PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating\nSUBNET/STATIC route.\n\n### Priority\n\n public int Priority { get; set; }\n\nPriority of the route.\n\n### Protocols\n\n public RepeatedField\u003cstring\u003e Protocols { get; }\n\nProtocols of the route. POLICY_BASED routes only.\n\n### Region\n\n public string Region { get; set; }\n\nRegion of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED\nroutes only. If set for POLICY_BASED route, this is a region of VLAN\nattachments for Cloud Interconnect the route applies to.\n\n### RouteScope\n\n [Obsolete]\n public RouteInfo.Types.RouteScope RouteScope { get; set; }\n\nIndicates where route is applicable. Deprecated, routes with NCC_HUB scope\nare not included in the trace in new tests.\n\n### RouteType\n\n public RouteInfo.Types.RouteType RouteType { get; set; }\n\nType of route.\n\n### SrcIpRange\n\n public string SrcIpRange { get; set; }\n\nSource IP address range of the route. POLICY_BASED routes only.\n\n### SrcPortRanges\n\n public RepeatedField\u003cstring\u003e SrcPortRanges { get; }\n\nSource port ranges of the route. POLICY_BASED routes only.\n\n### Uri\n\n public string Uri { get; set; }\n\nURI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network)\nand POLICY_BASED routes only."]]