Common Protos for Google Cloud APIs Client - Class PolicyViolationInfo (0.4.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
NameDescription
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
TypeDescription
Google\Cloud\Audit\OrgPolicyViolationInfo|null

hasOrgPolicyViolationInfo

clearOrgPolicyViolationInfo

setOrgPolicyViolationInfo

Indicates the orgpolicy violations for this resource.

Parameter
NameDescription
var Google\Cloud\Audit\OrgPolicyViolationInfo
Returns
TypeDescription
$this