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

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

Client connection configuration

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

Namespace

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

hasSslConfig

clearSslConfig

setSslConfig

Optional. SSL config option for this instance.

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