# Google API Common Protos V1 Client - Class AuditData (4.14.0)

4.14.0 (latest) 4.13.0 4.12.5 4.11.0 4.10.0 4.9.0 4.8.3 Reference documentation and code samples for the Google API Common Protos V1 Client class AuditData.

Audit log information specific to Cloud IAM. This message is serialized
as an `Any` type in the `ServiceData` message of an
`AuditLog` message.

Generated from protobuf message `google.iam.v1.logging.AuditData`

## Namespace

Google \\ Iam \\ V1 \\ Logging

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ policy_delta` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Cloud.Iam.V1.PolicyDelta` Policy delta between the original policy and the newly set policy. |

### getPolicyDelta

Policy delta between the original policy and the newly set policy.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Cloud.Iam.V1.PolicyDelta|null` |   |

### hasPolicyDelta

### clearPolicyDelta

### setPolicyDelta

Policy delta between the original policy and the newly set policy.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Cloud.Iam.V1.PolicyDelta` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |