Common Protos for Google Cloud APIs Client - Class PolicyViolationInfo (0.6.0)

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 \ Audit

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ org_policy_violation_info OrgPolicyViolationInfo

Indicates the orgpolicy violations for this resource.

getOrgPolicyViolationInfo

Indicates the orgpolicy violations for this resource.

Returns
Type Description
OrgPolicyViolationInfo|null

hasOrgPolicyViolationInfo

clearOrgPolicyViolationInfo

setOrgPolicyViolationInfo

Indicates the orgpolicy violations for this resource.

Parameter
Name Description
var OrgPolicyViolationInfo
Returns
Type Description
$this