public sealed class ViolationInfo : IMessage<ViolationInfo>, IEquatable<ViolationInfo>, IDeepCloneable<ViolationInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Audit API class ViolationInfo.
Provides information about the Policy violation info for this request.
Implements
IMessage<ViolationInfo>, IEquatable<ViolationInfo>, IDeepCloneable<ViolationInfo>, IBufferMessage, IMessageNamespace
Google.Cloud.AuditAssembly
Google.Cloud.Audit.dll
Constructors
ViolationInfo()
public ViolationInfo()
ViolationInfo(ViolationInfo)
public ViolationInfo(ViolationInfo other)
Parameter | |
---|---|
Name | Description |
other | ViolationInfo |
Properties
CheckedValue
public string CheckedValue { get; set; }
Optional. Value that is being checked for the policy. This could be in encrypted form (if pii sensitive). This field will only be emitted in LIST_POLICY types
Property Value | |
---|---|
Type | Description |
String |
Constraint
public string Constraint { get; set; }
Optional. Constraint name
Property Value | |
---|---|
Type | Description |
String |
ErrorMessage
public string ErrorMessage { get; set; }
Optional. Error message that policy is indicating.
Property Value | |
---|---|
Type | Description |
String |
PolicyType
public ViolationInfo.Types.PolicyType PolicyType { get; set; }
Optional. Indicates the type of the policy.
Property Value | |
---|---|
Type | Description |
ViolationInfo.Types.PolicyType |