Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class ViolationInfo.
Provides information about the Policy violation info for this request.
Generated from protobuf message google.cloud.audit.ViolationInfo
Namespace
Google \ Cloud \ AuditMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ constraint
string
Optional. Constraint name
↳ error_message
string
Optional. Error message that policy is indicating.
↳ checked_value
string
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
↳ policy_type
int
Optional. Indicates the type of the policy.
getConstraint
Optional. Constraint name
string
setConstraint
Optional. Constraint name
var
string
$this
getErrorMessage
Optional. Error message that policy is indicating.
string
setErrorMessage
Optional. Error message that policy is indicating.
var
string
$this
getCheckedValue
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
string
setCheckedValue
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
var
string
$this
getPolicyType
Optional. Indicates the type of the policy.
int
setPolicyType
Optional. Indicates the type of the policy.
var
int
$this