Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::MongodbProfile.
MongoDB profile.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#host_addresses
def host_addresses() -> ::Array<::Google::Cloud::Datastream::V1::HostAddress>
- (::Array<::Google::Cloud::Datastream::V1::HostAddress>) — Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.
#host_addresses=
def host_addresses=(value) -> ::Array<::Google::Cloud::Datastream::V1::HostAddress>
- value (::Array<::Google::Cloud::Datastream::V1::HostAddress>) — Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.
- (::Array<::Google::Cloud::Datastream::V1::HostAddress>) — Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.
#password
def password() -> ::String
-
(::String) — Optional. Password for the MongoDB connection. Mutually exclusive with the
secret_manager_stored_password
field.
#password=
def password=(value) -> ::String
-
value (::String) — Optional. Password for the MongoDB connection. Mutually exclusive with the
secret_manager_stored_password
field.
-
(::String) — Optional. Password for the MongoDB connection. Mutually exclusive with the
secret_manager_stored_password
field.
#replica_set
def replica_set() -> ::String
- (::String) — Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.
#replica_set=
def replica_set=(value) -> ::String
- value (::String) — Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.
- (::String) — Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.
#secret_manager_stored_password
def secret_manager_stored_password() -> ::String
-
(::String) — Optional. A reference to a Secret Manager resource name storing the
SQLServer connection password. Mutually exclusive with the
password
field.
#secret_manager_stored_password=
def secret_manager_stored_password=(value) -> ::String
-
value (::String) — Optional. A reference to a Secret Manager resource name storing the
SQLServer connection password. Mutually exclusive with the
password
field.
-
(::String) — Optional. A reference to a Secret Manager resource name storing the
SQLServer connection password. Mutually exclusive with the
password
field.
#srv_connection_format
def srv_connection_format() -> ::Google::Cloud::Datastream::V1::SrvConnectionFormat
-
(::Google::Cloud::Datastream::V1::SrvConnectionFormat) — Srv connection format.
Note: The following fields are mutually exclusive:
srv_connection_format
,standard_connection_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#srv_connection_format=
def srv_connection_format=(value) -> ::Google::Cloud::Datastream::V1::SrvConnectionFormat
-
value (::Google::Cloud::Datastream::V1::SrvConnectionFormat) — Srv connection format.
Note: The following fields are mutually exclusive:
srv_connection_format
,standard_connection_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Datastream::V1::SrvConnectionFormat) — Srv connection format.
Note: The following fields are mutually exclusive:
srv_connection_format
,standard_connection_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#ssl_config
def ssl_config() -> ::Google::Cloud::Datastream::V1::MongodbSslConfig
- (::Google::Cloud::Datastream::V1::MongodbSslConfig) — Optional. SSL configuration for the MongoDB connection.
#ssl_config=
def ssl_config=(value) -> ::Google::Cloud::Datastream::V1::MongodbSslConfig
- value (::Google::Cloud::Datastream::V1::MongodbSslConfig) — Optional. SSL configuration for the MongoDB connection.
- (::Google::Cloud::Datastream::V1::MongodbSslConfig) — Optional. SSL configuration for the MongoDB connection.
#standard_connection_format
def standard_connection_format() -> ::Google::Cloud::Datastream::V1::StandardConnectionFormat
-
(::Google::Cloud::Datastream::V1::StandardConnectionFormat) — Standard connection format.
Note: The following fields are mutually exclusive:
standard_connection_format
,srv_connection_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#standard_connection_format=
def standard_connection_format=(value) -> ::Google::Cloud::Datastream::V1::StandardConnectionFormat
-
value (::Google::Cloud::Datastream::V1::StandardConnectionFormat) — Standard connection format.
Note: The following fields are mutually exclusive:
standard_connection_format
,srv_connection_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Datastream::V1::StandardConnectionFormat) — Standard connection format.
Note: The following fields are mutually exclusive:
standard_connection_format
,srv_connection_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#username
def username() -> ::String
- (::String) — Required. Username for the MongoDB connection.
#username=
def username=(value) -> ::String
- value (::String) — Required. Username for the MongoDB connection.
- (::String) — Required. Username for the MongoDB connection.