2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ListPoliciesResponse

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ListPoliciesResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListPoliciesResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ListPoliciesResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.ListPoliciesResponse.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt), [IPageResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.md.txt)[Policy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.Policy.md.txt), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[Policy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.Policy.md.txt), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.OrgPolicy.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.md.txt)

## Assembly

Google.Cloud.OrgPolicy.V2.dll

## Constructors

### ListPoliciesResponse()

    public ListPoliciesResponse()

### ListPoliciesResponse(ListPoliciesResponse)

    public ListPoliciesResponse(ListPoliciesResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ListPoliciesResponse` |

## Properties

### NextPageToken

    public string NextPageToken { get; set; }

Page token used to retrieve the next page. This is currently not used, but
the server may at any point start supplying a valid token.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Policies

    public RepeatedField<Policy> Policies { get; }

All policies that exist on the resource. It will be empty if no
policies are set.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldPolicy` |   |

## Methods

### GetEnumerator()

    public IEnumerator<Policy> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IEnumeratorPolicy` |   |