# Class PostgresqlSslConfig (1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.0 1.14.1 1.13.2 1.12.0 1.11.0 1.10.1 1.9.5 1.8.0 1.7.0 1.6.1 1.5.1 1.4.1 1.3.0 1.2.2 1.1.1 1.0.2 0.4.3 0.3.1 0.2.0 0.1.3

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

PostgreSQL SSL configuration information.

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** |
| `server_verification` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.PostgresqlSslConfig.ServerVerification` If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated. This field is a member of `oneof`_ `encryption_setting`. |
| `server_and_client_verification` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.PostgresqlSslConfig.ServerAndClientVerification` If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated. This field is a member of `oneof`_ `encryption_setting`. |

## Classes

### ServerAndClientVerification

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

Message represents the option where Datastream will enforce the
encryption and authenticate the server identity as well as the
client identity. ca_certificate, client_certificate and client_key
must be set if user selects this option.

### ServerVerification

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

Message represents the option where Datastream will enforce the
encryption and authenticate the server identity. ca_certificate must
be set if user selects this option.