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

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
Name Description
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
Type Description
bool

setRequireConnectors

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getSslConfig

Optional. SSL config option for this instance.

Returns
Type Description
Google\Cloud\AlloyDb\V1\SslConfig|null

hasSslConfig

clearSslConfig

setSslConfig

Optional. SSL config option for this instance.

Parameter
Name Description
var Google\Cloud\AlloyDb\V1\SslConfig
Returns
Type Description
$this