Google Cloud AlloyDB for PostgreSQL V1 Client - Class ClientConnectionConfig (0.6.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ClientConnectionConfig.

Client connection configuration

Generated from protobuf message google.cloud.alloydb.v1.Instance.ClientConnectionConfig

Namespace

Google \ Cloud \ AlloyDb \ V1 \ Instance

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ require_connectors bool

Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.

↳ ssl_config Google\Cloud\AlloyDb\V1\SslConfig

Optional. SSL config option for this instance.

getRequireConnectors

Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.

Returns
TypeDescription
bool

setRequireConnectors

Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSslConfig

Optional. SSL config option for this instance.

Returns
TypeDescription
Google\Cloud\AlloyDb\V1\SslConfig|null

hasSslConfig

clearSslConfig

setSslConfig

Optional. SSL config option for this instance.

Parameter
NameDescription
var Google\Cloud\AlloyDb\V1\SslConfig
Returns
TypeDescription
$this