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

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

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

The violation in an evaluation result.

Inheritance

object > ViolationDetails

Namespace

Google.Cloud.WorkloadManager.V1

Assembly

Google.Cloud.WorkloadManager.V1.dll

Constructors

ViolationDetails()

public ViolationDetails()

ViolationDetails(ViolationDetails)

public ViolationDetails(ViolationDetails other)
Parameter
Name Description
other ViolationDetails

Properties

Asset

public string Asset { get; set; }

The name of the asset.

Property Value
Type Description
string

Observed

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

Details of the violation.

Property Value
Type Description
MapFieldstringstring

RuleOutput

public RepeatedField<RuleOutput> RuleOutput { get; }

Output only. The rule output of the violation.

Property Value
Type Description
RepeatedFieldRuleOutput

ServiceAccount

public string ServiceAccount { get; set; }

The service account associated with the resource.

Property Value
Type Description
string