Google Cloud Datastream V1 Client - Class PostgresqlSslConfig (2.2.0)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class PostgresqlSslConfig.

PostgreSQL SSL configuration information.

Generated from protobuf message google.cloud.datastream.v1.PostgresqlSslConfig

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ server_verification PostgresqlSslConfig\ServerVerification

If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.

↳ server_and_client_verification 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.

getServerVerification

If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.

Returns
Type Description
PostgresqlSslConfig\ServerVerification|null

hasServerVerification

setServerVerification

If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.

Parameter
Name Description
var PostgresqlSslConfig\ServerVerification
Returns
Type Description
$this

getServerAndClientVerification

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.

Returns
Type Description
PostgresqlSslConfig\ServerAndClientVerification|null

hasServerAndClientVerification

setServerAndClientVerification

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.

Parameter
Name Description
var PostgresqlSslConfig\ServerAndClientVerification
Returns
Type Description
$this

getEncryptionSetting

Returns
Type Description
string