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

SQLServer data source configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlServerSourceConfig

Returns a new instance of SqlServerSourceConfig.



2625
2626
2627
# File 'lib/google/apis/datastream_v1/classes.rb', line 2625

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



2598
2599
2600
# File 'lib/google/apis/datastream_v1/classes.rb', line 2598

def change_tables
  @change_tables
end

#exclude_objectsGoogle::Apis::DatastreamV1::SqlServerRdbms

SQLServer database structure. Corresponds to the JSON property excludeObjects



2603
2604
2605
# File 'lib/google/apis/datastream_v1/classes.rb', line 2603

def exclude_objects
  @exclude_objects
end

#include_objectsGoogle::Apis::DatastreamV1::SqlServerRdbms

SQLServer database structure. Corresponds to the JSON property includeObjects



2608
2609
2610
# File 'lib/google/apis/datastream_v1/classes.rb', line 2608

def include_objects
  @include_objects
end

#max_concurrent_backfill_tasksFixnum

Max concurrent backfill tasks. Corresponds to the JSON property maxConcurrentBackfillTasks

Returns:

  • (Fixnum)


2613
2614
2615
# File 'lib/google/apis/datastream_v1/classes.rb', line 2613

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)


2618
2619
2620
# File 'lib/google/apis/datastream_v1/classes.rb', line 2618

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



2623
2624
2625
# File 'lib/google/apis/datastream_v1/classes.rb', line 2623

def transaction_logs
  @transaction_logs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2630
2631
2632
2633
2634
2635
2636
2637
# File 'lib/google/apis/datastream_v1/classes.rb', line 2630

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