Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::MongodbCollection.
MongoDB Collection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#collection
def collection() -> ::String Returns
- (::String) — Collection name.
#collection=
def collection=(value) -> ::String Parameter
- value (::String) — Collection name.
Returns
- (::String) — Collection name.
#fields
def fields() -> ::Array<::Google::Cloud::Datastream::V1::MongodbField> Returns
- (::Array<::Google::Cloud::Datastream::V1::MongodbField>) — Fields in the collection.
#fields=
def fields=(value) -> ::Array<::Google::Cloud::Datastream::V1::MongodbField> Parameter
- value (::Array<::Google::Cloud::Datastream::V1::MongodbField>) — Fields in the collection.
Returns
- (::Array<::Google::Cloud::Datastream::V1::MongodbField>) — Fields in the collection.