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

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