Workload Manager v1 API - Class ExecutionResult (1.0.0-beta01)

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

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

The result of an execution.

Inheritance

object > ExecutionResult

Namespace

Google.Cloud.WorkloadManager.V1

Assembly

Google.Cloud.WorkloadManager.V1.dll

Constructors

ExecutionResult()

public ExecutionResult()

ExecutionResult(ExecutionResult)

public ExecutionResult(ExecutionResult other)
Parameter
Name Description
other ExecutionResult

Properties

Commands

public RepeatedField<Command> Commands { get; }

The commands to remediate the violation.

Property Value
Type Description
RepeatedFieldCommand

DocumentationUrl

public string DocumentationUrl { get; set; }

The URL for the documentation of the rule.

Property Value
Type Description
string

Resource

public Resource Resource { get; set; }

The resource that violates the rule.

Property Value
Type Description
Resource

Rule

public string Rule { get; set; }

The rule that is violated in an evaluation.

Property Value
Type Description
string

RuleAsRuleName

public RuleName RuleAsRuleName { get; set; }

RuleName-typed view over the Rule resource name property.

Property Value
Type Description
RuleName

Severity

public string Severity { get; set; }

The severity of violation.

Property Value
Type Description
string

Type

public ExecutionResult.Types.Type Type { get; set; }

Execution result type of the scanned resource.

Property Value
Type Description
ExecutionResultTypesType

ViolationDetails

public ViolationDetails ViolationDetails { get; set; }

The details of violation in an evaluation result.

Property Value
Type Description
ViolationDetails

ViolationMessage

public string ViolationMessage { get; set; }

The violation message of an execution.

Property Value
Type Description
string