1.4.0 (latest) 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ListOrgPolicyViolationsPreviewsResponse : IMessage<ListOrgPolicyViolationsPreviewsResponse>, IEquatable<ListOrgPolicyViolationsPreviewsResponse>, IDeepCloneable<ListOrgPolicyViolationsPreviewsResponse>, IBufferMessage, IMessage, IPageResponse<OrgPolicyViolationsPreview>, IEnumerable<OrgPolicyViolationsPreview>, IEnumerable

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

ListOrgPolicyViolationsPreviewsResponse is the response message for
\[OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews\]\[google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews\].

## Inheritance

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

## Implements

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

### ListOrgPolicyViolationsPreviewsResponse()

    public ListOrgPolicyViolationsPreviewsResponse()

### ListOrgPolicyViolationsPreviewsResponse(ListOrgPolicyViolationsPreviewsResponse)

    public ListOrgPolicyViolationsPreviewsResponse(ListOrgPolicyViolationsPreviewsResponse other)

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

## 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` |   |

### OrgPolicyViolationsPreviews

    public RepeatedField<OrgPolicyViolationsPreview> OrgPolicyViolationsPreviews { get; }

The list of OrgPolicyViolationsPreview

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

## Methods

### GetEnumerator()

    public IEnumerator<OrgPolicyViolationsPreview> GetEnumerator()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IEnumeratorOrgPolicyViolationsPreview` |   |