Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::MongodbSourceConfig.
Configuration for syncing data from a MongoDB source.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#exclude_objects
def exclude_objects() -> ::Google::Cloud::Datastream::V1::MongodbCluster
Returns
- (::Google::Cloud::Datastream::V1::MongodbCluster) — The MongoDB collections to exclude from the stream.
#exclude_objects=
def exclude_objects=(value) -> ::Google::Cloud::Datastream::V1::MongodbCluster
Parameter
- value (::Google::Cloud::Datastream::V1::MongodbCluster) — The MongoDB collections to exclude from the stream.
Returns
- (::Google::Cloud::Datastream::V1::MongodbCluster) — The MongoDB collections to exclude from the stream.
#include_objects
def include_objects() -> ::Google::Cloud::Datastream::V1::MongodbCluster
Returns
- (::Google::Cloud::Datastream::V1::MongodbCluster) — The MongoDB collections to include in the stream.
#include_objects=
def include_objects=(value) -> ::Google::Cloud::Datastream::V1::MongodbCluster
Parameter
- value (::Google::Cloud::Datastream::V1::MongodbCluster) — The MongoDB collections to include in the stream.
Returns
- (::Google::Cloud::Datastream::V1::MongodbCluster) — The MongoDB collections to include in the stream.
#json_mode
def json_mode() -> ::Google::Cloud::Datastream::V1::MongodbJsonMode
Returns
- (::Google::Cloud::Datastream::V1::MongodbJsonMode) — Optional. MongoDB JSON mode to use for the stream.
#json_mode=
def json_mode=(value) -> ::Google::Cloud::Datastream::V1::MongodbJsonMode
Parameter
- value (::Google::Cloud::Datastream::V1::MongodbJsonMode) — Optional. MongoDB JSON mode to use for the stream.
Returns
- (::Google::Cloud::Datastream::V1::MongodbJsonMode) — Optional. MongoDB JSON mode to use for the stream.
#max_concurrent_backfill_tasks
def max_concurrent_backfill_tasks() -> ::Integer
Returns
- (::Integer) — 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
#max_concurrent_backfill_tasks=
def max_concurrent_backfill_tasks=(value) -> ::Integer
Parameter
- value (::Integer) — 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
Returns
- (::Integer) — 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