Class: Google::Apis::AnalyticshubV1beta1::BigQueryDatasetSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticshub_v1beta1/classes.rb,
lib/google/apis/analyticshub_v1beta1/representations.rb,
lib/google/apis/analyticshub_v1beta1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BigQueryDatasetSource

Returns a new instance of BigQueryDatasetSource.



111
112
113
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 111

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#datasetString

Resource name of the dataset source for this listing. e.g. projects/myproject/ datasets/123 Corresponds to the JSON property dataset

Returns:

  • (String)


109
110
111
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 109

def dataset
  @dataset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



116
117
118
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 116

def update!(**args)
  @dataset = args[:dataset] if args.key?(:dataset)
end