Class: Google::Apis::DatastreamV1::SqlServerSourceConfig

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

Overview

Configuration for syncing data from a SQLServer source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlServerSourceConfig

Returns a new instance of SqlServerSourceConfig.



4807
4808
4809
# File 'lib/google/apis/datastream_v1/classes.rb', line 4807

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

Instance Attribute Details

#change_tablesGoogle::Apis::DatastreamV1::SqlServerChangeTables

Configuration to use Change Tables CDC read method. Corresponds to the JSON property changeTables



4780
4781
4782
# File 'lib/google/apis/datastream_v1/classes.rb', line 4780

def change_tables
  @change_tables
end

#exclude_objectsGoogle::Apis::DatastreamV1::SqlServerRdbms

SQLServer database structure. Corresponds to the JSON property excludeObjects



4785
4786
4787
# File 'lib/google/apis/datastream_v1/classes.rb', line 4785

def exclude_objects
  @exclude_objects
end

#include_objectsGoogle::Apis::DatastreamV1::SqlServerRdbms

SQLServer database structure. Corresponds to the JSON property includeObjects



4790
4791
4792
# File 'lib/google/apis/datastream_v1/classes.rb', line 4790

def include_objects
  @include_objects
end

#max_concurrent_backfill_tasksFixnum

Max concurrent backfill tasks. Corresponds to the JSON property maxConcurrentBackfillTasks

Returns:

  • (Fixnum)


4795
4796
4797
# File 'lib/google/apis/datastream_v1/classes.rb', line 4795

def max_concurrent_backfill_tasks
  @max_concurrent_backfill_tasks
end

#max_concurrent_cdc_tasksFixnum

Max concurrent CDC tasks. Corresponds to the JSON property maxConcurrentCdcTasks

Returns:

  • (Fixnum)


4800
4801
4802
# File 'lib/google/apis/datastream_v1/classes.rb', line 4800

def max_concurrent_cdc_tasks
  @max_concurrent_cdc_tasks
end

#transaction_logsGoogle::Apis::DatastreamV1::SqlServerTransactionLogs

Configuration to use Transaction Logs CDC read method. Corresponds to the JSON property transactionLogs



4805
4806
4807
# File 'lib/google/apis/datastream_v1/classes.rb', line 4805

def transaction_logs
  @transaction_logs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4812
4813
4814
4815
4816
4817
4818
4819
# File 'lib/google/apis/datastream_v1/classes.rb', line 4812

def update!(**args)
  @change_tables = args[:change_tables] if args.key?(:change_tables)
  @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects)
  @include_objects = args[:include_objects] if args.key?(:include_objects)
  @max_concurrent_backfill_tasks = args[:max_concurrent_backfill_tasks] if args.key?(:max_concurrent_backfill_tasks)
  @max_concurrent_cdc_tasks = args[:max_concurrent_cdc_tasks] if args.key?(:max_concurrent_cdc_tasks)
  @transaction_logs = args[:transaction_logs] if args.key?(:transaction_logs)
end