Class MongodbProfile (1.15.0)

MongodbProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)

MongoDB profile.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
host_addresses MutableSequence[google.cloud.datastream_v1.types.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.
replica_set str
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.
username str
Required. Username for the MongoDB connection.
password str
Optional. Password for the MongoDB connection. Mutually exclusive with the secret_manager_stored_password field.
secret_manager_stored_password str
Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the password field.
ssl_config google.cloud.datastream_v1.types.MongodbSslConfig
Optional. SSL configuration for the MongoDB connection.
srv_connection_format google.cloud.datastream_v1.types.SrvConnectionFormat
Srv connection format. This field is a member of oneof_ mongodb_connection_format.
standard_connection_format google.cloud.datastream_v1.types.StandardConnectionFormat
Standard connection format. This field is a member of oneof_ mongodb_connection_format.