# Policy Simulator v1 API - Class GetOrgPolicyViolationsPreviewRequest (1.4.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.4.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.GetOrgPolicyViolationsPreviewRequest)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.3.0/Google.Cloud.PolicySimulator.V1.GetOrgPolicyViolationsPreviewRequest)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.2.0/Google.Cloud.PolicySimulator.V1.GetOrgPolicyViolationsPreviewRequest)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.1.0/Google.Cloud.PolicySimulator.V1.GetOrgPolicyViolationsPreviewRequest)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.0.0/Google.Cloud.PolicySimulator.V1.GetOrgPolicyViolationsPreviewRequest)

    public sealed class GetOrgPolicyViolationsPreviewRequest : IMessage<GetOrgPolicyViolationsPreviewRequest>, IEquatable<GetOrgPolicyViolationsPreviewRequest>, IDeepCloneable<GetOrgPolicyViolationsPreviewRequest>, IBufferMessage, IMessage

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

GetOrgPolicyViolationsPreviewRequest is the request message for
\[OrgPolicyViolationsPreviewService.GetOrgPolicyViolationsPreview\]\[google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.GetOrgPolicyViolationsPreview\].

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetOrgPolicyViolationsPreviewRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.GetOrgPolicyViolationsPreviewRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetOrgPolicyViolationsPreviewRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.GetOrgPolicyViolationsPreviewRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetOrgPolicyViolationsPreviewRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.GetOrgPolicyViolationsPreviewRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

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

## Assembly

Google.Cloud.PolicySimulator.V1.dll

## Constructors

### GetOrgPolicyViolationsPreviewRequest()

    public GetOrgPolicyViolationsPreviewRequest()

### GetOrgPolicyViolationsPreviewRequest(GetOrgPolicyViolationsPreviewRequest)

    public GetOrgPolicyViolationsPreviewRequest(GetOrgPolicyViolationsPreviewRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.GetOrgPolicyViolationsPreviewRequest` |

## Properties

### Name

    public string Name { get; set; }

Required. The name of the OrgPolicyViolationsPreview to get.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### OrgPolicyViolationsPreviewName

    public OrgPolicyViolationsPreviewName OrgPolicyViolationsPreviewName { get; set; }

[OrgPolicyViolationsPreviewName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.OrgPolicyViolationsPreviewName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.GetOrgPolicyViolationsPreviewRequest#Google_Cloud_PolicySimulator_V1_GetOrgPolicyViolationsPreviewRequest_Name) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.OrgPolicyViolationsPreviewName` |   |