# Datastream V1 API - Class Google::Cloud::Datastream::V1::MongodbSourceConfig (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::MongodbSourceConfig.

MongoDB source configuration.

## 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbCluster)) --- 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbCluster)) --- MongoDB collections to exclude from the stream.
**Returns**

- ([::Google::Cloud::Datastream::V1::MongodbCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbCluster)) --- MongoDB collections to exclude from the stream.

### #include_objects

    def include_objects() -> ::Google::Cloud::Datastream::V1::MongodbCluster

**Returns**

- ([::Google::Cloud::Datastream::V1::MongodbCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbCluster)) --- 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbCluster)) --- MongoDB collections to include in the stream.
**Returns**

- ([::Google::Cloud::Datastream::V1::MongodbCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbCluster)) --- MongoDB collections to include in 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