public sealed class ViolationDetails : IMessage<ViolationDetails>, IEquatable<ViolationDetails>, IDeepCloneable<ViolationDetails>, IBufferMessage, IMessageReference documentation and code samples for the Workload Manager v1 API class ViolationDetails.
The violation in an evaluation result.
Implements
IMessageViolationDetails, IEquatableViolationDetails, IDeepCloneableViolationDetails, IBufferMessage, IMessageNamespace
Google.Cloud.WorkloadManager.V1Assembly
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 |
|