Class: Google::Apis::DatastreamV1::MongodbSourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::MongodbSourceConfig
- 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
MongoDB source configuration.
Instance Attribute Summary collapse
-
#exclude_objects ⇒ Google::Apis::DatastreamV1::MongodbCluster
MongoDB Cluster structure.
-
#include_objects ⇒ Google::Apis::DatastreamV1::MongodbCluster
MongoDB Cluster structure.
-
#json_mode ⇒ String
Optional.
-
#max_concurrent_backfill_tasks ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MongodbSourceConfig
constructor
A new instance of MongodbSourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MongodbSourceConfig
Returns a new instance of MongodbSourceConfig.
1744 1745 1746 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1744 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude_objects ⇒ Google::Apis::DatastreamV1::MongodbCluster
MongoDB Cluster structure.
Corresponds to the JSON property excludeObjects
1725 1726 1727 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1725 def exclude_objects @exclude_objects end |
#include_objects ⇒ Google::Apis::DatastreamV1::MongodbCluster
MongoDB Cluster structure.
Corresponds to the JSON property includeObjects
1730 1731 1732 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1730 def include_objects @include_objects end |
#json_mode ⇒ String
Optional. MongoDB JSON mode to use for the stream.
Corresponds to the JSON property jsonMode
1735 1736 1737 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1735 def json_mode @json_mode end |
#max_concurrent_backfill_tasks ⇒ Fixnum
Optional. Maximum number of concurrent backfill tasks. The number should be
non-negative and less than or equal to 50. If not set (or set to 0), the
system's default value is used
Corresponds to the JSON property maxConcurrentBackfillTasks
1742 1743 1744 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1742 def max_concurrent_backfill_tasks @max_concurrent_backfill_tasks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1749 1750 1751 1752 1753 1754 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1749 def update!(**args) @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects) @include_objects = args[:include_objects] if args.key?(:include_objects) @json_mode = args[:json_mode] if args.key?(:json_mode) @max_concurrent_backfill_tasks = args[:max_concurrent_backfill_tasks] if args.key?(:max_concurrent_backfill_tasks) end |