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

Namespace

Google.Cloud.WorkloadManager.V1

Assembly

Google.Cloud.WorkloadManager.V1.dll

Constructors

Evaluation()

public Evaluation()

Evaluation(Evaluation)

public Evaluation(Evaluation other)
Parameter
Name Description
other 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
BigQueryDestination

CreateTime

public Timestamp CreateTime { get; set; }

Output only. [Output only] Create time stamp.

Property Value
Type Description
Timestamp

CustomRulesBucket

public string CustomRulesBucket { get; set; }

The Cloud Storage bucket name for custom rules.

Property Value
Type Description
string

Description

public string Description { get; set; }

Description of the Evaluation.

Property Value
Type Description
string

EvaluationName

public EvaluationName EvaluationName { get; set; }

EvaluationName-typed view over the Name resource name property.

Property Value
Type Description
EvaluationName

EvaluationType

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

Evaluation type.

Property Value
Type Description
EvaluationTypesEvaluationType

HasSchedule

public bool HasSchedule { get; }

Gets whether the "schedule" field is set

Property Value
Type Description
bool

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
string

KmsKeyAsCryptoKeyName

public CryptoKeyName KmsKeyAsCryptoKeyName { get; set; }

CryptoKeyName-typed view over the KmsKey resource name property.

Property Value
Type Description
CryptoKeyName

Labels

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

Labels as key value pairs.

Property Value
Type Description
MapFieldstringstring

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
string

ResourceFilter

public ResourceFilter ResourceFilter { get; set; }

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

Property Value
Type Description
ResourceFilter

ResourceStatus

public ResourceStatus ResourceStatus { get; set; }

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

Property Value
Type Description
ResourceStatus

RuleNames

public RepeatedField<string> RuleNames { get; }

The names of the rules used for this evaluation.

Property Value
Type Description
RepeatedFieldstring

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
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. [Output only] Update time stamp.

Property Value
Type Description
Timestamp