1.4.0 (latest) 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ListOrgPolicyViolationsResponse : IMessage<ListOrgPolicyViolationsResponse>, IEquatable<ListOrgPolicyViolationsResponse>, IDeepCloneable<ListOrgPolicyViolationsResponse>, IBufferMessage, IMessage, IPageResponse<OrgPolicyViolation>, IEnumerable<OrgPolicyViolation>, IEnumerable

Reference documentation and code samples for the Policy Simulator v1 API class ListOrgPolicyViolationsResponse.

ListOrgPolicyViolationsResponse is the response message for
\[OrgPolicyViolationsPreviewService.ListOrgPolicyViolations\]\[google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.ListOrgPolicyViolations\]

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ListOrgPolicyViolationsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ListOrgPolicyViolationsResponse.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListOrgPolicyViolationsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ListOrgPolicyViolationsResponse.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ListOrgPolicyViolationsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ListOrgPolicyViolationsResponse.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)[OrgPolicyViolation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.OrgPolicyViolation.md.txt), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[OrgPolicyViolation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.OrgPolicyViolation.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.PolicySimulator.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.md.txt)

## Assembly

Google.Cloud.PolicySimulator.V1.dll

## Constructors

### ListOrgPolicyViolationsResponse()

    public ListOrgPolicyViolationsResponse()

### ListOrgPolicyViolationsResponse(ListOrgPolicyViolationsResponse)

    public ListOrgPolicyViolationsResponse(ListOrgPolicyViolationsResponse other)

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

## Properties

### NextPageToken

    public string NextPageToken { get; set; }

A token that you can use to retrieve the next page of results.
If this field is omitted, there are no subsequent pages.

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

### OrgPolicyViolations

    public RepeatedField<OrgPolicyViolation> OrgPolicyViolations { get; }

The list of OrgPolicyViolations

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

## Methods

### GetEnumerator()

    public IEnumerator<OrgPolicyViolation> GetEnumerator()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IEnumeratorOrgPolicyViolation` |   |