Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class PolicyViolationInfo.
Information related to policy violations for this request.
Generated from protobuf message google.cloud.audit.PolicyViolationInfo
Namespace
Google \ Cloud \ AuditMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ org_policy_violation_info |
Google\Cloud\Audit\OrgPolicyViolationInfo
Indicates the orgpolicy violations for this resource. |
getOrgPolicyViolationInfo
Indicates the orgpolicy violations for this resource.
Returns | |
---|---|
Type | Description |
Google\Cloud\Audit\OrgPolicyViolationInfo|null |
hasOrgPolicyViolationInfo
clearOrgPolicyViolationInfo
setOrgPolicyViolationInfo
Indicates the orgpolicy violations for this resource.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Audit\OrgPolicyViolationInfo
|
Returns | |
---|---|
Type | Description |
$this |