Reference documentation and code samples for the Analytics Hub V1 API class Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#dataset
defdataset()->::String
Returns
(::String) — Optional. Resource name of the dataset source for this listing.
e.g. projects/myproject/datasets/123
#dataset=
defdataset=(value)->::String
Parameter
value (::String) — Optional. Resource name of the dataset source for this listing.
e.g. projects/myproject/datasets/123
Returns
(::String) — Optional. Resource name of the dataset source for this listing.
e.g. projects/myproject/datasets/123
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Analytics Hub V1 API - Class Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource (v0.13.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.1 (latest)](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.13.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.13.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.12.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.12.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.11.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.11.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.10.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.9.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.8.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.8.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.7.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.7.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.6.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.5.2](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.5.2/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.4.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.4.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.3.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.3.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.2.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.2.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource)\n- [0.1.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.1.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource) \nReference documentation and code samples for the Analytics Hub V1 API class Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource.\n\nA reference to a shared dataset. It is an existing BigQuery dataset with a\ncollection of objects such as tables and views that you want to share\nwith subscribers.\nWhen subscriber's subscribe to a listing, Analytics Hub creates a linked\ndataset in\nthe subscriber's project. A Linked dataset is an opaque, read-only BigQuery\ndataset that serves as a *symbolic link* to a shared dataset. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #dataset\n\n def dataset() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`\n\n### #dataset=\n\n def dataset=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123` \n**Returns**\n\n- (::String) --- Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`\n\n### #restricted_export_policy\n\n def restricted_export_policy() -\u003e ::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy\n\n**Returns**\n\n- ([::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy](./Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-RestrictedExportPolicy)) --- Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.\n\n### #restricted_export_policy=\n\n def restricted_export_policy=(value) -\u003e ::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy](./Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-RestrictedExportPolicy)) --- Optional. If set, restricted export policy will be propagated and enforced on the linked dataset. \n**Returns**\n\n- ([::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy](./Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-RestrictedExportPolicy)) --- Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.\n\n### #selected_resources\n\n def selected_resources() -\u003e ::Array\u003c::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource](./Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\\\u003e) --- Optional. Resource in this dataset that is selectively shared. This field is required for data clean room exchanges.\n\n### #selected_resources=\n\n def selected_resources=(value) -\u003e ::Array\u003c::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource](./Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\\\u003e) --- Optional. Resource in this dataset that is selectively shared. This field is required for data clean room exchanges. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource](./Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\\\u003e) --- Optional. Resource in this dataset that is selectively shared. This field is required for data clean room exchanges."]]