# Google Cloud BigQuery Analytics Hub V1 Client - Class RestrictedExportPolicy (1.5.1)

1.5.1 (latest) 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.4 0.5.3 0.4.0 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class RestrictedExportPolicy.

Restricted export policy used to configure restricted export on linked
dataset.

Generated from protobuf message `google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.RestrictedExportPolicy`

## Namespace

Google \\ Cloud \\ BigQuery \\ AnalyticsHub \\ V1 \\ Listing \\ BigQueryDatasetSource

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enabled` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` Optional. If true, enable restricted export. |
| `↳ restrict_direct_table_access` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` Optional. If true, restrict direct table access (read api/tabledata.list) on linked table. |
| `↳ restrict_query_result` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` Optional. If true, restrict export of query result derived from restricted linked dataset table. |

### getEnabled

Optional. If true, enable restricted export.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue|null` |   |

### hasEnabled

### clearEnabled

### getEnabledUnwrapped

Returns the unboxed value from `getEnabled()`

Optional. If true, enable restricted export.

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

### setEnabled

Optional. If true, enable restricted export.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` |

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

### setEnabledUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\BoolValue object.

Optional. If true, enable restricted export.

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

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

### getRestrictDirectTableAccess

Optional. If true, restrict direct table access (read
api/tabledata.list) on linked table.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue|null` |   |

### hasRestrictDirectTableAccess

### clearRestrictDirectTableAccess

### getRestrictDirectTableAccessUnwrapped

Returns the unboxed value from `getRestrictDirectTableAccess()`

Optional. If true, restrict direct table access (read
api/tabledata.list) on linked table.

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

### setRestrictDirectTableAccess

Optional. If true, restrict direct table access (read
api/tabledata.list) on linked table.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` |

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

### setRestrictDirectTableAccessUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\BoolValue object.

Optional. If true, restrict direct table access (read
api/tabledata.list) on linked table.

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

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

### getRestrictQueryResult

Optional. If true, restrict export of query result derived from
restricted linked dataset table.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue|null` |   |

### hasRestrictQueryResult

### clearRestrictQueryResult

### getRestrictQueryResultUnwrapped

Returns the unboxed value from `getRestrictQueryResult()`

Optional. If true, restrict export of query result derived from
restricted linked dataset table.

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

### setRestrictQueryResult

Optional. If true, restrict export of query result derived from
restricted linked dataset table.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` |

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

### setRestrictQueryResultUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\BoolValue object.

Optional. If true, restrict export of query result derived from
restricted linked dataset table.

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

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