Class: Google::Apis::DatamigrationV1::OracleSourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::OracleSourceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb
Overview
Configuration for Oracle as a source in a migration.
Instance Attribute Summary collapse
-
#binary_log_parser ⇒ Google::Apis::DatamigrationV1::BinaryLogParser
Configuration to use Binary Log Parser CDC technique.
-
#cdc_start_position ⇒ Fixnum
Optional.
-
#log_miner ⇒ Google::Apis::DatamigrationV1::LogMiner
Configuration to use LogMiner CDC method.
-
#max_concurrent_cdc_connections ⇒ Fixnum
Optional.
-
#max_concurrent_full_dump_connections ⇒ Fixnum
Optional.
-
#skip_full_dump ⇒ Boolean
(also: #skip_full_dump?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OracleSourceConfig
constructor
A new instance of OracleSourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OracleSourceConfig
Returns a new instance of OracleSourceConfig.
3616 3617 3618 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3616 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binary_log_parser ⇒ Google::Apis::DatamigrationV1::BinaryLogParser
Configuration to use Binary Log Parser CDC technique.
Corresponds to the JSON property binaryLogParser
3586 3587 3588 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3586 def binary_log_parser @binary_log_parser end |
#cdc_start_position ⇒ Fixnum
Optional. The schema change number (SCN) to start CDC data migration from.
Corresponds to the JSON property cdcStartPosition
3591 3592 3593 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3591 def cdc_start_position @cdc_start_position end |
#log_miner ⇒ Google::Apis::DatamigrationV1::LogMiner
Configuration to use LogMiner CDC method.
Corresponds to the JSON property logMiner
3596 3597 3598 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3596 def log_miner @log_miner end |
#max_concurrent_cdc_connections ⇒ Fixnum
Optional. Maximum number of connections Database Migration Service will open
to the source for CDC phase.
Corresponds to the JSON property maxConcurrentCdcConnections
3602 3603 3604 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3602 def max_concurrent_cdc_connections @max_concurrent_cdc_connections end |
#max_concurrent_full_dump_connections ⇒ Fixnum
Optional. Maximum number of connections Database Migration Service will open
to the source for full dump phase.
Corresponds to the JSON property maxConcurrentFullDumpConnections
3608 3609 3610 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3608 def max_concurrent_full_dump_connections @max_concurrent_full_dump_connections end |
#skip_full_dump ⇒ Boolean Also known as: skip_full_dump?
Optional. Whether to skip full dump or not.
Corresponds to the JSON property skipFullDump
3613 3614 3615 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3613 def skip_full_dump @skip_full_dump end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3621 3622 3623 3624 3625 3626 3627 3628 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3621 def update!(**args) @binary_log_parser = args[:binary_log_parser] if args.key?(:binary_log_parser) @cdc_start_position = args[:cdc_start_position] if args.key?(:cdc_start_position) @log_miner = args[:log_miner] if args.key?(:log_miner) @max_concurrent_cdc_connections = args[:max_concurrent_cdc_connections] if args.key?(:max_concurrent_cdc_connections) @max_concurrent_full_dump_connections = args[:max_concurrent_full_dump_connections] if args.key?(:max_concurrent_full_dump_connections) @skip_full_dump = args[:skip_full_dump] if args.key?(:skip_full_dump) end |