# Common Protos for Google Cloud APIs Client - Class BigQueryAcl (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 BigQueryAcl.

An access control list.

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

## Namespace

Google \\ Cloud \\ Audit \\ BigQueryAuditMetadata

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ policy` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Cloud.Iam.V1.Policy.html` IAM policy for the resource. |
| `↳ authorized_views` | `string[]` List of authorized views for a dataset. Format: `projects/<project_id>/datasets/<dataset_id>/tables/<view_id>`. |

### getPolicy

IAM policy for the resource.

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

### hasPolicy

### clearPolicy

### setPolicy

IAM policy for the resource.

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

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

### getAuthorizedViews

List of authorized views for a dataset.

Format: `projects/<project_id>/datasets/<dataset_id>/tables/<view_id>`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setAuthorizedViews

List of authorized views for a dataset.

Format: `projects/<project_id>/datasets/<dataset_id>/tables/<view_id>`.

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

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