1.4.0 (latest) 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ListOrgPolicyViolationsPreviewsRequest : IMessage<ListOrgPolicyViolationsPreviewsRequest>, IEquatable<ListOrgPolicyViolationsPreviewsRequest>, IDeepCloneable<ListOrgPolicyViolationsPreviewsRequest>, IBufferMessage, IMessage, IPageRequest

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

ListOrgPolicyViolationsPreviewsRequest is the request message for
\[OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews\]\[google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews\].

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ListOrgPolicyViolationsPreviewsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ListOrgPolicyViolationsPreviewsRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListOrgPolicyViolationsPreviewsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ListOrgPolicyViolationsPreviewsRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ListOrgPolicyViolationsPreviewsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ListOrgPolicyViolationsPreviewsRequest.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), [IPageRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.md.txt)

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

### ListOrgPolicyViolationsPreviewsRequest()

    public ListOrgPolicyViolationsPreviewsRequest()

### ListOrgPolicyViolationsPreviewsRequest(ListOrgPolicyViolationsPreviewsRequest)

    public ListOrgPolicyViolationsPreviewsRequest(ListOrgPolicyViolationsPreviewsRequest other)

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

## Properties

### PageSize

    public int PageSize { get; set; }

Optional. The maximum number of items to return. The service may return
fewer than this value. If unspecified, at most 5 items will be returned.
The maximum value is 10; values above 10 will be coerced to 10.

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

### PageToken

    public string PageToken { get; set; }

Optional. A page token, received from a previous call. Provide this to
retrieve the subsequent page.

When paginating, all other parameters must match the call that provided the
page token.

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

### Parent

    public string Parent { get; set; }

Required. The parent the violations are scoped to.
Format:
`organizations/{organization}/locations/{location}`

Example: `organizations/my-example-org/locations/global`

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

### ParentAsOrganizationLocationName

    public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }

[OrganizationLocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.OrganizationLocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ListOrgPolicyViolationsPreviewsRequest.md.txt#Google_Cloud_PolicySimulator_V1_ListOrgPolicyViolationsPreviewsRequest_Parent) resource name property.

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