public sealed class ListPolicyBasedRoutesResponse : IMessage<ListPolicyBasedRoutesResponse>, IEquatable<ListPolicyBasedRoutesResponse>, IDeepCloneable<ListPolicyBasedRoutesResponse>, IBufferMessage, IMessage, IPageResponse<PolicyBasedRoute>, IEnumerable<PolicyBasedRoute>, IEnumerable
Reference documentation and code samples for the Network Connectivity v1 API class ListPolicyBasedRoutesResponse.
Response for
[PolicyBasedRoutingService.ListPolicyBasedRoutes][google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.ListPolicyBasedRoutes]
method.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eListPolicyBasedRoutesResponse\u003c/code\u003e class is 2.9.0, and there are multiple previous versions available, ranging from 2.8.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eListPolicyBasedRoutesResponse\u003c/code\u003e is a class in the Google.Cloud.NetworkConnectivity.V1 namespace used for handling responses from the \u003ccode\u003ePolicyBasedRouting.ListPolicyBasedRoutes\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, \u003ccode\u003eIPageResponse\u003c/code\u003e, and \u003ccode\u003eIEnumerable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eListPolicyBasedRoutesResponse\u003c/code\u003e include \u003ccode\u003eNextPageToken\u003c/code\u003e for pagination, \u003ccode\u003ePolicyBasedRoutes\u003c/code\u003e to contain the returned routes, and \u003ccode\u003eUnreachable\u003c/code\u003e to list inaccessible locations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListPolicyBasedRoutesResponse\u003c/code\u003e class provides the method \u003ccode\u003eGetEnumerator()\u003c/code\u003e that allows you to iterate through the resources within the response.\u003c/p\u003e\n"]]],[],null,["# Network Connectivity v1 API - Class ListPolicyBasedRoutesResponse (2.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.10.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.9.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.8.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.7.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.6.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.5.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.4.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.3.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.2.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.1.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.0.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.2.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.1.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.0.0/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse) \n\n public sealed class ListPolicyBasedRoutesResponse : IMessage\u003cListPolicyBasedRoutesResponse\u003e, IEquatable\u003cListPolicyBasedRoutesResponse\u003e, IDeepCloneable\u003cListPolicyBasedRoutesResponse\u003e, IBufferMessage, IMessage, IPageResponse\u003cPolicyBasedRoute\u003e, IEnumerable\u003cPolicyBasedRoute\u003e, IEnumerable\n\nReference documentation and code samples for the Network Connectivity v1 API class ListPolicyBasedRoutesResponse.\n\nResponse for\n\\[PolicyBasedRoutingService.ListPolicyBasedRoutes\\]\\[google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.ListPolicyBasedRoutes\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListPolicyBasedRoutesResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListPolicyBasedRoutesResponse](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListPolicyBasedRoutesResponse](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListPolicyBasedRoutesResponse](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ListPolicyBasedRoutesResponse), [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), [IPageResponse](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html)[PolicyBasedRoute](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.PolicyBasedRoute), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[PolicyBasedRoute](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.PolicyBasedRoute), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable) \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.NetworkConnectivity.V1](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkConnectivity.V1.dll\n\nConstructors\n------------\n\n### ListPolicyBasedRoutesResponse()\n\n public ListPolicyBasedRoutesResponse()\n\n### ListPolicyBasedRoutesResponse(ListPolicyBasedRoutesResponse)\n\n public ListPolicyBasedRoutesResponse(ListPolicyBasedRoutesResponse other)\n\nProperties\n----------\n\n### NextPageToken\n\n public string NextPageToken { get; set; }\n\nThe next pagination token in the List response. It should be used as\npage_token for the following request. An empty value means no more result.\n\n### PolicyBasedRoutes\n\n public RepeatedField\u003cPolicyBasedRoute\u003e PolicyBasedRoutes { get; }\n\nPolicy-based routes to be returned.\n\n### Unreachable\n\n public RepeatedField\u003cstring\u003e Unreachable { get; }\n\nLocations that could not be reached.\n\nMethods\n-------\n\n### GetEnumerator()\n\n public IEnumerator\u003cPolicyBasedRoute\u003e GetEnumerator()\n\nReturns an enumerator that iterates through the resources in this response."]]