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