# Policy Simulator v1 API - Class CreateOrgPolicyViolationsPreviewOperationMetadata (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.CreateOrgPolicyViolationsPreviewOperationMetadata)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.3.0/Google.Cloud.PolicySimulator.V1.CreateOrgPolicyViolationsPreviewOperationMetadata)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.2.0/Google.Cloud.PolicySimulator.V1.CreateOrgPolicyViolationsPreviewOperationMetadata)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.1.0/Google.Cloud.PolicySimulator.V1.CreateOrgPolicyViolationsPreviewOperationMetadata)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.0.0/Google.Cloud.PolicySimulator.V1.CreateOrgPolicyViolationsPreviewOperationMetadata)

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

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

CreateOrgPolicyViolationsPreviewOperationMetadata is metadata about an
OrgPolicyViolationsPreview generations operation.

## Inheritance

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

## Implements

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

### CreateOrgPolicyViolationsPreviewOperationMetadata()

    public CreateOrgPolicyViolationsPreviewOperationMetadata()

### CreateOrgPolicyViolationsPreviewOperationMetadata(CreateOrgPolicyViolationsPreviewOperationMetadata)

    public CreateOrgPolicyViolationsPreviewOperationMetadata(CreateOrgPolicyViolationsPreviewOperationMetadata other)

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

## Properties

### RequestTime

    public Timestamp RequestTime { get; set; }

Time when the request was received.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### ResourcesFound

    public int ResourcesFound { get; set; }

Total number of resources that need scanning.
Should equal resource_scanned + resources_pending

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

### ResourcesPending

    public int ResourcesPending { get; set; }

Number of resources still to scan.

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

### ResourcesScanned

    public int ResourcesScanned { get; set; }

Number of resources already scanned.

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

### StartTime

    public Timestamp StartTime { get; set; }

Time when the request started processing, i.e., when the state was set to
RUNNING.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### State

    public PreviewState State { get; set; }

Output only. The current state of the operation.

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