Google Cloud Datastream V1 Client - Class MongodbDatabase (2.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Datastream V1 Client class MongodbDatabase.
MongoDB Database.
Generated from protobuf message google.cloud.datastream.v1.MongodbDatabase
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ database |
string
Database name. |
↳ collections |
array<MongodbCollection>
Collections in the database. |
getDatabase
Database name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDatabase
Database name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCollections
Collections in the database.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setCollections
Collections in the database.
| Parameter | |
|---|---|
| Name | Description |
var |
array<MongodbCollection>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|