# Common Protos for Google Cloud APIs Client - Class RowAccessPolicyDeletion (1.0.0)

1.0.0 (latest) 0.8.3 0.7.0 0.6.0 0.5.2 0.4.2 0.3.8 Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class RowAccessPolicyDeletion.

Row access policy deletion event.

Generated from protobuf message `google.cloud.audit.BigQueryAuditMetadata.RowAccessPolicyDeletion`

## Namespace

Google \\ Cloud \\ Audit \\ BigQueryAuditMetadata

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ row_access_policies` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.RowAccessPolicy>` The row access policies that were deleted. At present, only populated when a single policy is dropped. |
| `↳ job_name` | `string` The job that deleted these row access policies. Format: `projects/<project_id>/jobs/<job_id>`. |
| `↳ all_row_access_policies_dropped` | `bool` This field is set to true when a DROP ALL command has been executed, thus removing all row access policies on the table. |

### getRowAccessPolicies

The row access policies that were deleted. At present, only populated
when a single policy is dropped.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.RowAccessPolicy>` |   |

### setRowAccessPolicies

The row access policies that were deleted. At present, only populated
when a single policy is dropped.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.RowAccessPolicy>` |

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

### getJobName

The job that deleted these row access policies.

Format: `projects/<project_id>/jobs/<job_id>`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setJobName

The job that deleted these row access policies.

Format: `projects/<project_id>/jobs/<job_id>`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getAllRowAccessPoliciesDropped

This field is set to true when a DROP ALL command has been executed, thus
removing all row access policies on the table.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setAllRowAccessPoliciesDropped

This field is set to true when a DROP ALL command has been executed, thus
removing all row access policies on the table.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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