Reference documentation and code samples for the Google Cloud Datastream V1 Client class MongodbSourceConfig.
MongoDB source configuration.
Generated from protobuf message google.cloud.datastream.v1.MongodbSourceConfig
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ include_objects |
MongodbCluster
MongoDB collections to include in the stream. |
↳ exclude_objects |
MongodbCluster
MongoDB collections to exclude from the stream. |
↳ max_concurrent_backfill_tasks |
int
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 |
getIncludeObjects
MongoDB collections to include in the stream.
Returns | |
---|---|
Type | Description |
MongodbCluster|null |
hasIncludeObjects
clearIncludeObjects
setIncludeObjects
MongoDB collections to include in the stream.
Parameter | |
---|---|
Name | Description |
var |
MongodbCluster
|
Returns | |
---|---|
Type | Description |
$this |
getExcludeObjects
MongoDB collections to exclude from the stream.
Returns | |
---|---|
Type | Description |
MongodbCluster|null |
hasExcludeObjects
clearExcludeObjects
setExcludeObjects
MongoDB collections to exclude from the stream.
Parameter | |
---|---|
Name | Description |
var |
MongodbCluster
|
Returns | |
---|---|
Type | Description |
$this |
getMaxConcurrentBackfillTasks
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 | |
---|---|
Type | Description |
int |
setMaxConcurrentBackfillTasks
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
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |