Google Cloud AlloyDB for PostgreSQL V1alpha Client - Class ClientConnectionConfig (0.8.0)

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

Client connection configuration

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

Namespace

Google \ Cloud \ AlloyDb \ V1alpha \ 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\V1alpha\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\V1alpha\SslConfig|null

hasSslConfig

clearSslConfig

setSslConfig

Optional. SSL config option for this instance.

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