Class: Google::Apis::DatastreamV1::OracleSourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::OracleSourceConfig
- 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 an Oracle source.
Instance Attribute Summary collapse
-
#binary_log_parser ⇒ Google::Apis::DatastreamV1::BinaryLogParser
Configuration to use Binary Log Parser CDC technique.
-
#drop_large_objects ⇒ Google::Apis::DatastreamV1::DropLargeObjects
Configuration to drop large object values.
-
#exclude_objects ⇒ Google::Apis::DatastreamV1::OracleRdbms
Oracle database structure.
-
#include_objects ⇒ Google::Apis::DatastreamV1::OracleRdbms
Oracle database structure.
-
#log_miner ⇒ Google::Apis::DatastreamV1::LogMiner
Configuration to use LogMiner CDC method.
-
#max_concurrent_backfill_tasks ⇒ Fixnum
Maximum number of concurrent backfill tasks.
-
#max_concurrent_cdc_tasks ⇒ Fixnum
Maximum number of concurrent CDC tasks.
-
#stream_large_objects ⇒ Google::Apis::DatastreamV1::StreamLargeObjects
Configuration to stream large object values.
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.
3160 3161 3162 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binary_log_parser ⇒ Google::Apis::DatastreamV1::BinaryLogParser
Configuration to use Binary Log Parser CDC technique.
Corresponds to the JSON property binaryLogParser
3121 3122 3123 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3121 def binary_log_parser @binary_log_parser end |
#drop_large_objects ⇒ Google::Apis::DatastreamV1::DropLargeObjects
Configuration to drop large object values.
Corresponds to the JSON property dropLargeObjects
3126 3127 3128 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3126 def drop_large_objects @drop_large_objects end |
#exclude_objects ⇒ Google::Apis::DatastreamV1::OracleRdbms
Oracle database structure.
Corresponds to the JSON property excludeObjects
3131 3132 3133 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3131 def exclude_objects @exclude_objects end |
#include_objects ⇒ Google::Apis::DatastreamV1::OracleRdbms
Oracle database structure.
Corresponds to the JSON property includeObjects
3136 3137 3138 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3136 def include_objects @include_objects end |
#log_miner ⇒ Google::Apis::DatastreamV1::LogMiner
Configuration to use LogMiner CDC method.
Corresponds to the JSON property logMiner
3141 3142 3143 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3141 def log_miner @log_miner end |
#max_concurrent_backfill_tasks ⇒ Fixnum
Maximum number of concurrent backfill tasks. The number should be non-negative.
If not set (or set to 0), the system's default value is used.
Corresponds to the JSON property maxConcurrentBackfillTasks
3147 3148 3149 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3147 def max_concurrent_backfill_tasks @max_concurrent_backfill_tasks end |
#max_concurrent_cdc_tasks ⇒ Fixnum
Maximum number of concurrent CDC tasks. The number should be non-negative. If
not set (or set to 0), the system's default value is used.
Corresponds to the JSON property maxConcurrentCdcTasks
3153 3154 3155 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3153 def max_concurrent_cdc_tasks @max_concurrent_cdc_tasks end |
#stream_large_objects ⇒ Google::Apis::DatastreamV1::StreamLargeObjects
Configuration to stream large object values.
Corresponds to the JSON property streamLargeObjects
3158 3159 3160 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3158 def stream_large_objects @stream_large_objects end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3165 def update!(**args) @binary_log_parser = args[:binary_log_parser] if args.key?(:binary_log_parser) @drop_large_objects = args[:drop_large_objects] if args.key?(:drop_large_objects) @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects) @include_objects = args[:include_objects] if args.key?(:include_objects) @log_miner = args[:log_miner] if args.key?(:log_miner) @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) @stream_large_objects = args[:stream_large_objects] if args.key?(:stream_large_objects) end |