# Analytics Hub V1 API - Class Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy (v0.19.0)

0.19.0 (latest) 0.18.0 0.17.0 0.16.1 0.15.0 0.14.0 0.13.1 0.12.0 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.2 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Analytics Hub V1 API class Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #enabled

    def enabled() -> ::Google::Protobuf::BoolValue

**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Protobuf-BoolValue)) --- Optional. If true, enable restricted export.

### #enabled=

    def enabled=(value) -> ::Google::Protobuf::BoolValue

**Parameter**

- **value** ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Protobuf-BoolValue)) --- Optional. If true, enable restricted export.
**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Protobuf-BoolValue)) --- Optional. If true, enable restricted export.

### #restrict_direct_table_access

    def restrict_direct_table_access() -> ::Google::Protobuf::BoolValue

**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Protobuf-BoolValue)) --- Optional. If true, restrict direct table access (read api/tabledata.list) on linked table.

### #restrict_direct_table_access=

    def restrict_direct_table_access=(value) -> ::Google::Protobuf::BoolValue

**Parameter**

- **value** ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Protobuf-BoolValue)) --- Optional. If true, restrict direct table access (read api/tabledata.list) on linked table.
**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Protobuf-BoolValue)) --- Optional. If true, restrict direct table access (read api/tabledata.list) on linked table.

### #restrict_query_result

    def restrict_query_result() -> ::Google::Protobuf::BoolValue

**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Protobuf-BoolValue)) --- Optional. If true, restrict export of query result derived from restricted linked dataset table.

### #restrict_query_result=

    def restrict_query_result=(value) -> ::Google::Protobuf::BoolValue

**Parameter**

- **value** ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Protobuf-BoolValue)) --- Optional. If true, restrict export of query result derived from restricted linked dataset table.
**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Protobuf-BoolValue)) --- Optional. If true, restrict export of query result derived from restricted linked dataset table.