Class: Google::Apis::DatastreamV1::OracleSourceConfig

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

Oracle data source configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OracleSourceConfig

Returns a new instance of OracleSourceConfig.



1776
1777
1778
# File 'lib/google/apis/datastream_v1/classes.rb', line 1776

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

Instance Attribute Details

#drop_large_objectsGoogle::Apis::DatastreamV1::DropLargeObjects

Configuration to drop large object values. Corresponds to the JSON property dropLargeObjects



1747
1748
1749
# File 'lib/google/apis/datastream_v1/classes.rb', line 1747

def drop_large_objects
  @drop_large_objects
end

#exclude_objectsGoogle::Apis::DatastreamV1::OracleRdbms

Oracle database structure. Corresponds to the JSON property excludeObjects



1752
1753
1754
# File 'lib/google/apis/datastream_v1/classes.rb', line 1752

def exclude_objects
  @exclude_objects
end

#include_objectsGoogle::Apis::DatastreamV1::OracleRdbms

Oracle database structure. Corresponds to the JSON property includeObjects



1757
1758
1759
# File 'lib/google/apis/datastream_v1/classes.rb', line 1757

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 is used. Corresponds to the JSON property maxConcurrentBackfillTasks

Returns:

  • (Fixnum)


1763
1764
1765
# File 'lib/google/apis/datastream_v1/classes.rb', line 1763

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 is used. Corresponds to the JSON property maxConcurrentCdcTasks

Returns:

  • (Fixnum)


1769
1770
1771
# File 'lib/google/apis/datastream_v1/classes.rb', line 1769

def max_concurrent_cdc_tasks
  @max_concurrent_cdc_tasks
end

#stream_large_objectsGoogle::Apis::DatastreamV1::StreamLargeObjects

Configuration to stream large object values. Corresponds to the JSON property streamLargeObjects



1774
1775
1776
# File 'lib/google/apis/datastream_v1/classes.rb', line 1774

def stream_large_objects
  @stream_large_objects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1781
1782
1783
1784
1785
1786
1787
1788
# File 'lib/google/apis/datastream_v1/classes.rb', line 1781

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