# Class PostgreSqlConnectionProfile (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.4 1.11.0 1.10.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.2 0.2.4 0.1.0

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

Specifies connection parameters required specifically for
PostgreSQL databases.

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` | `str` Required. The IP or hostname of the source PostgreSQL database. |
| `port` | `int` Required. The network port of the source PostgreSQL database. |
| `username` | `str` Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service. |
| `password` | `str` Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service. |
| `password_set` | `bool` Output only. Indicates If this connection profile password is stored. |
| `ssl` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.SslConfig` SSL configuration for the destination to connect to the source database. |
| `cloud_sql_id` | `str` If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source. |
| `network_architecture` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.NetworkArchitecture` Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with. |
| `static_ip_connectivity` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.StaticIpConnectivity` Static ip connectivity data (default, no additional details needed). This field is a member of `oneof`_ `connectivity`. |
| `private_service_connect_connectivity` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.PrivateServiceConnectConnectivity` Private service connect connectivity. This field is a member of `oneof`_ `connectivity`. |