Class: Google::Apis::BigqueryV2::LinkedDatasetSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb

Overview

A dataset source type which refers to another BigQuery dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LinkedDatasetSource

Returns a new instance of LinkedDatasetSource.



6169
6170
6171
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6169

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

Instance Attribute Details

#source_datasetGoogle::Apis::BigqueryV2::DatasetReference

The source dataset reference contains project numbers and not project ids. Corresponds to the JSON property sourceDataset



6167
6168
6169
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6167

def source_dataset
  @source_dataset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6174
6175
6176
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6174

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