public sealed class ListPoliciesResponse : IMessage<ListPoliciesResponse>, IEquatable<ListPoliciesResponse>, IDeepCloneable<ListPoliciesResponse>, IBufferMessage, IMessage, IPageResponse<Policy>, IEnumerable<Policy>, IEnumerable
Reference documentation and code samples for the Organization Policy v2 API class ListPoliciesResponse.
The response returned from the [ListPolicies]
[google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method. It will be empty
if no policies are set on the resource.
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eListPoliciesResponse\u003c/code\u003e class is part of the Google Cloud Organization Policy v2 API, and it is used to represent the response returned from the \u003ccode\u003eListPolicies\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, providing functionalities such as message handling, comparison, deep cloning, buffering, pagination, and enumeration.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties like \u003ccode\u003eNextPageToken\u003c/code\u003e for handling pagination and \u003ccode\u003ePolicies\u003c/code\u003e, a \u003ccode\u003eRepeatedField\u003c/code\u003e of \u003ccode\u003ePolicy\u003c/code\u003e objects, which represents the list of policies returned in the response.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eListPoliciesResponse\u003c/code\u003e class is \u003ccode\u003e2.7.0\u003c/code\u003e, and several older versions are documented, including versions from 2.6.0 down to 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Organization Policy v2 API - Class ListPoliciesResponse (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.7.0/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.6.0/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.5.0/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.4.0/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.3.0/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.2.0/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.1.0/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.0.0/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/1.2.0/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/1.1.0/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/1.0.0/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse) \n\n public sealed class ListPoliciesResponse : IMessage\u003cListPoliciesResponse\u003e, IEquatable\u003cListPoliciesResponse\u003e, IDeepCloneable\u003cListPoliciesResponse\u003e, IBufferMessage, IMessage, IPageResponse\u003cPolicy\u003e, IEnumerable\u003cPolicy\u003e, IEnumerable\n\nReference documentation and code samples for the Organization Policy v2 API class ListPoliciesResponse.\n\nThe response returned from the \\[ListPolicies\\]\n\\[google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies\\] method. It will be empty\nif no policies are set on the resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListPoliciesResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListPoliciesResponse](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListPoliciesResponse](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListPoliciesResponse](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse), [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)[Policy](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.Policy), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[Policy](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.Policy), [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.OrgPolicy.V2](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.OrgPolicy.V2.dll\n\nConstructors\n------------\n\n### ListPoliciesResponse()\n\n public ListPoliciesResponse()\n\n### ListPoliciesResponse(ListPoliciesResponse)\n\n public ListPoliciesResponse(ListPoliciesResponse other)\n\nProperties\n----------\n\n### NextPageToken\n\n public string NextPageToken { get; set; }\n\nPage token used to retrieve the next page. This is currently not used, but\nthe server may at any point start supplying a valid token.\n\n### Policies\n\n public RepeatedField\u003cPolicy\u003e Policies { get; }\n\nAll policies that exist on the resource. It will be empty if no\npolicies are set.\n\nMethods\n-------\n\n### GetEnumerator()\n\n public IEnumerator\u003cPolicy\u003e GetEnumerator()\n\nReturns an enumerator that iterates through the resources in this response."]]