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.



2541
2542
2543
# File 'lib/google/apis/datastream_v1/classes.rb', line 2541

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

Instance Attribute Details

#exclude_objectsGoogle::Apis::DatastreamV1::SqlServerRdbms

SQLServer database structure. Corresponds to the JSON property excludeObjects



2524
2525
2526
# File 'lib/google/apis/datastream_v1/classes.rb', line 2524

def exclude_objects
  @exclude_objects
end

#include_objectsGoogle::Apis::DatastreamV1::SqlServerRdbms

SQLServer database structure. Corresponds to the JSON property includeObjects



2529
2530
2531
# File 'lib/google/apis/datastream_v1/classes.rb', line 2529

def include_objects
  @include_objects
end

#max_concurrent_backfill_tasksFixnum

Max concurrent backfill tasks. Corresponds to the JSON property maxConcurrentBackfillTasks

Returns:

  • (Fixnum)


2534
2535
2536
# File 'lib/google/apis/datastream_v1/classes.rb', line 2534

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)


2539
2540
2541
# File 'lib/google/apis/datastream_v1/classes.rb', line 2539

def max_concurrent_cdc_tasks
  @max_concurrent_cdc_tasks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2546
2547
2548
2549
2550
2551
# File 'lib/google/apis/datastream_v1/classes.rb', line 2546

def update!(**args)
  @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)
end