Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class BigQueryDatasetSource.
A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers.
When subscriber's subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber's project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a symbolic link to a shared dataset.
Generated from protobuf message google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource
Namespace
Google \ Cloud \ BigQuery \ AnalyticsHub \ V1 \ ListingMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dataset |
string
Resource name of the dataset source for this listing. e.g. |
↳ selected_resources |
array<Google\Cloud\BigQuery\AnalyticsHub\V1\Listing\BigQueryDatasetSource\SelectedResource>
Optional. Resources in this dataset that are selectively shared. If this field is empty, then the entire dataset (all resources) are shared. This field is only valid for data clean room exchanges. |
↳ restricted_export_policy |
Google\Cloud\BigQuery\AnalyticsHub\V1\Listing\BigQueryDatasetSource\RestrictedExportPolicy
Optional. If set, restricted export policy will be propagated and enforced on the linked dataset. |
getDataset
Resource name of the dataset source for this listing.
e.g. projects/myproject/datasets/123
Returns | |
---|---|
Type | Description |
string |
setDataset
Resource name of the dataset source for this listing.
e.g. projects/myproject/datasets/123
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSelectedResources
Optional. Resources in this dataset that are selectively shared.
If this field is empty, then the entire dataset (all resources) are shared. This field is only valid for data clean room exchanges.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSelectedResources
Optional. Resources in this dataset that are selectively shared.
If this field is empty, then the entire dataset (all resources) are shared. This field is only valid for data clean room exchanges.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\BigQuery\AnalyticsHub\V1\Listing\BigQueryDatasetSource\SelectedResource>
|
Returns | |
---|---|
Type | Description |
$this |
getRestrictedExportPolicy
Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.
Returns | |
---|---|
Type | Description |
Google\Cloud\BigQuery\AnalyticsHub\V1\Listing\BigQueryDatasetSource\RestrictedExportPolicy|null |
hasRestrictedExportPolicy
clearRestrictedExportPolicy
setRestrictedExportPolicy
Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\BigQuery\AnalyticsHub\V1\Listing\BigQueryDatasetSource\RestrictedExportPolicy
|
Returns | |
---|---|
Type | Description |
$this |