Class: Google::Apis::BigquerydatatransferV1::EnrollDataSourcesRequest

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

Overview

A request to enroll a set of data sources so they are visible in the BigQuery UI's Transfer tab.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnrollDataSourcesRequest

Returns a new instance of EnrollDataSourcesRequest.



378
379
380
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 378

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

Instance Attribute Details

#data_source_idsArray<String>

Data sources that are enrolled. It is required to provide at least one data source id. Corresponds to the JSON property dataSourceIds

Returns:

  • (Array<String>)


376
377
378
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 376

def data_source_ids
  @data_source_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



383
384
385
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 383

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