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\u003eVersion 2.7.0 is the latest release, with a comprehensive list of prior versions including the currently viewed version 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListPoliciesResponse\u003c/code\u003e class, within the Organization Policy v2 API, is designed to handle responses from the \u003ccode\u003eListPolicies\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eListPoliciesResponse\u003c/code\u003e is a class that implements various interfaces such as \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\u003eThe class allows retrieval of a collection of policies on a resource, where the \u003ccode\u003ePolicies\u003c/code\u003e property is a \u003ccode\u003eRepeatedField\u003c/code\u003e that will be empty if there are no policies, as well as utilizing the \u003ccode\u003eNextPageToken\u003c/code\u003e to get the next batch of results.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListPoliciesResponse\u003c/code\u003e class has methods, such as \u003ccode\u003eGetEnumerator()\u003c/code\u003e, which allows iteration over the resources within the response, returning an \u003ccode\u003eIEnumerator<Policy>\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]