Class: Google::Apis::AnalyticshubV1::BigQueryDatasetSource
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticshubV1::BigQueryDatasetSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticshub_v1/classes.rb,
lib/google/apis/analyticshub_v1/representations.rb,
lib/google/apis/analyticshub_v1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#dataset ⇒ String
Resource name of the dataset source for this listing.
-
#restricted_export_policy ⇒ Google::Apis::AnalyticshubV1::RestrictedExportPolicy
Restricted export policy used to configure restricted export on linked dataset.
-
#selected_resources ⇒ Array<Google::Apis::AnalyticshubV1::SelectedResource>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BigQueryDatasetSource
constructor
A new instance of BigQueryDatasetSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BigQueryDatasetSource
Returns a new instance of BigQueryDatasetSource.
261 262 263 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset ⇒ String
Resource name of the dataset source for this listing. e.g. projects/myproject/
datasets/123
Corresponds to the JSON property dataset
248 249 250 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 248 def dataset @dataset end |
#restricted_export_policy ⇒ Google::Apis::AnalyticshubV1::RestrictedExportPolicy
Restricted export policy used to configure restricted export on linked dataset.
Corresponds to the JSON property restrictedExportPolicy
253 254 255 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 253 def restricted_export_policy @restricted_export_policy end |
#selected_resources ⇒ Array<Google::Apis::AnalyticshubV1::SelectedResource>
Optional. Resource in this dataset that is selectively shared. This field is
required for data clean room exchanges.
Corresponds to the JSON property selectedResources
259 260 261 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 259 def selected_resources @selected_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
266 267 268 269 270 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 266 def update!(**args) @dataset = args[:dataset] if args.key?(:dataset) @restricted_export_policy = args[:restricted_export_policy] if args.key?(:restricted_export_policy) @selected_resources = args[:selected_resources] if args.key?(:selected_resources) end |