# Workload Manager v1 API - Class Evaluation (1.0.0-beta01)

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

Reference documentation and code samples for the Workload Manager v1 API class Evaluation.

Represents a Workload Manager Evaluation configuration.
An Evaluation defines a set of rules to be validated against a scope
of Cloud resources.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.WorkloadManager.V1.dll

## Constructors

### Evaluation()

    public Evaluation()

### Evaluation(Evaluation)

    public Evaluation(Evaluation other)

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

## Properties

### BigQueryDestination

    public BigQueryDestination BigQueryDestination { get; set; }

Optional. The BigQuery destination for detailed evaluation results.
If this field is specified, the results of each evaluation execution are
exported to BigQuery.

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

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. \[Output only\] Create time stamp.

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

### CustomRulesBucket

    public string CustomRulesBucket { get; set; }

The Cloud Storage bucket name for custom rules.

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

### Description

    public string Description { get; set; }

Description of the Evaluation.

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

### EvaluationName

    public EvaluationName EvaluationName { get; set; }

[EvaluationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WorkloadManager.V1/latest/Google.Cloud.WorkloadManager.V1.EvaluationName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WorkloadManager.V1/latest/Google.Cloud.WorkloadManager.V1.Evaluation#Google_Cloud_WorkloadManager_V1_Evaluation_Name) resource name property.

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

### EvaluationType

    public Evaluation.Types.EvaluationType EvaluationType { get; set; }

Evaluation type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WorkloadManager.V1/latest/Google.Cloud.WorkloadManager.V1.Evaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WorkloadManager.V1/latest/Google.Cloud.WorkloadManager.V1.Evaluation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WorkloadManager.V1/latest/Google.Cloud.WorkloadManager.V1.Evaluation.Types.EvaluationType` |   |

### HasSchedule

    public bool HasSchedule { get; }

Gets whether the "schedule" field is set

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

### KmsKey

    public string KmsKey { get; set; }

Optional. Immutable. Customer-managed encryption key name, in the format
projects/*/locations/* /keyRings/*/cryptoKeys/*.
The key will be used for CMEK encryption of the evaluation resource.

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

### KmsKeyAsCryptoKeyName

    public CryptoKeyName KmsKeyAsCryptoKeyName { get; set; }

[CryptoKeyName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WorkloadManager.V1/latest/Google.Cloud.WorkloadManager.V1.CryptoKeyName)-typed view over the [KmsKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WorkloadManager.V1/latest/Google.Cloud.WorkloadManager.V1.Evaluation#Google_Cloud_WorkloadManager_V1_Evaluation_KmsKey) resource name property.

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

### Labels

    public MapField<string, string> Labels { get; }

Labels as key value pairs.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Name

    public string Name { get; set; }

Name of resource that has the form
`projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.

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

### ResourceFilter

    public ResourceFilter ResourceFilter { get; set; }

Resource filter for an evaluation defining the scope of resources to be
evaluated.

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

### ResourceStatus

    public ResourceStatus ResourceStatus { get; set; }

Output only. \[Output only\] The current lifecycle state of the evaluation
resource.

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

### RuleNames

    public RepeatedField<string> RuleNames { get; }

The names of the rules used for this evaluation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Schedule

    public string Schedule { get; set; }

Crontab format schedule for scheduled evaluation, currently only supports
the following fixed schedules:

- `0 */1 * * *` # Hourly
- `0 */6 * * *` # Every 6 hours
- `0 */12 * * *` # Every 12 hours
- `0 0 */1 * *` # Daily
- `0 0 */7 * *` # Weekly
- `0 0 */14 * *` # Every 14 days
- `0 0 1 */1 *` # Monthly

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. \[Output only\] Update time stamp.

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