Google Cloud Audit API - Class ViolationInfo (2.3.0)

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.

Inheritance

object > ViolationInfo

Namespace

Google.Cloud.Audit

Assembly

Google.Cloud.Audit.dll

Constructors

ViolationInfo()

public ViolationInfo()

ViolationInfo(ViolationInfo)

public ViolationInfo(ViolationInfo other)
Parameter
NameDescription
otherViolationInfo

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
TypeDescription
string

Constraint

public string Constraint { get; set; }

Optional. Constraint name

Property Value
TypeDescription
string

ErrorMessage

public string ErrorMessage { get; set; }

Optional. Error message that policy is indicating.

Property Value
TypeDescription
string

PolicyType

public ViolationInfo.Types.PolicyType PolicyType { get; set; }

Optional. Indicates the type of the policy.

Property Value
TypeDescription
ViolationInfoTypesPolicyType