Class: Google::Apis::BigquerydatatransferV1::UnenrollDataSourcesRequest

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 unenroll a set of data sources so they are no longer visible in the BigQuery UI's Transfer tab.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UnenrollDataSourcesRequest

Returns a new instance of UnenrollDataSourcesRequest.



1220
1221
1222
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1220

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

Instance Attribute Details

#data_source_idsArray<String>

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

Returns:

  • (Array<String>)


1218
1219
1220
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1218

def data_source_ids
  @data_source_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1225
1226
1227
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1225

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