Class: Google::Apis::DatastreamV1::MysqlSourceConfig

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

MySQL source configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MysqlSourceConfig

Returns a new instance of MysqlSourceConfig.



1292
1293
1294
# File 'lib/google/apis/datastream_v1/classes.rb', line 1292

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

Instance Attribute Details

#exclude_objectsGoogle::Apis::DatastreamV1::MysqlRdbms

MySQL database structure Corresponds to the JSON property excludeObjects



1273
1274
1275
# File 'lib/google/apis/datastream_v1/classes.rb', line 1273

def exclude_objects
  @exclude_objects
end

#include_objectsGoogle::Apis::DatastreamV1::MysqlRdbms

MySQL database structure Corresponds to the JSON property includeObjects



1278
1279
1280
# File 'lib/google/apis/datastream_v1/classes.rb', line 1278

def include_objects
  @include_objects
end

#max_concurrent_backfill_tasksFixnum

Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used. Corresponds to the JSON property maxConcurrentBackfillTasks

Returns:

  • (Fixnum)


1284
1285
1286
# File 'lib/google/apis/datastream_v1/classes.rb', line 1284

def max_concurrent_backfill_tasks
  @max_concurrent_backfill_tasks
end

#max_concurrent_cdc_tasksFixnum

Maximum number of concurrent CDC tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used. Corresponds to the JSON property maxConcurrentCdcTasks

Returns:

  • (Fixnum)


1290
1291
1292
# File 'lib/google/apis/datastream_v1/classes.rb', line 1290

def max_concurrent_cdc_tasks
  @max_concurrent_cdc_tasks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1297
1298
1299
1300
1301
1302
# File 'lib/google/apis/datastream_v1/classes.rb', line 1297

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