Class: Google::Apis::DatastreamV1::SqlServerSourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SqlServerSourceConfig
- 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
-
#change_tables ⇒ Google::Apis::DatastreamV1::SqlServerChangeTables
Configuration to use Change Tables CDC read method.
-
#exclude_objects ⇒ Google::Apis::DatastreamV1::SqlServerRdbms
SQLServer database structure.
-
#include_objects ⇒ Google::Apis::DatastreamV1::SqlServerRdbms
SQLServer database structure.
-
#max_concurrent_backfill_tasks ⇒ Fixnum
Max concurrent backfill tasks.
-
#max_concurrent_cdc_tasks ⇒ Fixnum
Max concurrent CDC tasks.
-
#transaction_logs ⇒ Google::Apis::DatastreamV1::SqlServerTransactionLogs
Configuration to use Transaction Logs CDC read method.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerSourceConfig
constructor
A new instance of SqlServerSourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlServerSourceConfig
Returns a new instance of SqlServerSourceConfig.
5225 5226 5227 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#change_tables ⇒ Google::Apis::DatastreamV1::SqlServerChangeTables
Configuration to use Change Tables CDC read method.
Corresponds to the JSON property changeTables
5198 5199 5200 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5198 def change_tables @change_tables end |
#exclude_objects ⇒ Google::Apis::DatastreamV1::SqlServerRdbms
SQLServer database structure.
Corresponds to the JSON property excludeObjects
5203 5204 5205 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5203 def exclude_objects @exclude_objects end |
#include_objects ⇒ Google::Apis::DatastreamV1::SqlServerRdbms
SQLServer database structure.
Corresponds to the JSON property includeObjects
5208 5209 5210 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5208 def include_objects @include_objects end |
#max_concurrent_backfill_tasks ⇒ Fixnum
Max concurrent backfill tasks.
Corresponds to the JSON property maxConcurrentBackfillTasks
5213 5214 5215 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5213 def max_concurrent_backfill_tasks @max_concurrent_backfill_tasks end |
#max_concurrent_cdc_tasks ⇒ Fixnum
Max concurrent CDC tasks.
Corresponds to the JSON property maxConcurrentCdcTasks
5218 5219 5220 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5218 def max_concurrent_cdc_tasks @max_concurrent_cdc_tasks end |
#transaction_logs ⇒ Google::Apis::DatastreamV1::SqlServerTransactionLogs
Configuration to use Transaction Logs CDC read method.
Corresponds to the JSON property transactionLogs
5223 5224 5225 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5223 def transaction_logs @transaction_logs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5230 5231 5232 5233 5234 5235 5236 5237 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5230 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 |