Google Cloud Datastream V1 Client - Class MongodbCollection (2.4.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 MongodbCollection.
MongoDB Collection.
Generated from protobuf message google.cloud.datastream.v1.MongodbCollection
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ collection |
string
Collection name. |
↳ fields |
array<MongodbField>
Fields in the collection. |
getCollection
Collection name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCollection
Collection name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFields
Fields in the collection.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setFields
Fields in the collection.
| Parameter | |
|---|---|
| Name | Description |
var |
array<MongodbField>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|