Google Cloud AlloyDB for PostgreSQL V1 Client - Class ConnectionPoolConfig (1.6.1)

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

Configuration for Managed Connection Pool (MCP).

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

Namespace

Google \ Cloud \ AlloyDb \ V1 \ Instance

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ enabled
bool

Optional. Whether to enable Managed Connection Pool (MCP).

↳ flags
array| Google\Protobuf\Internal\MapField

Optional. Connection Pool flags, as a list of "key": "value" pairs.

↳ pooler_count
int

Output only. The number of running poolers per instance.

getEnabled

Optional. Whether to enable Managed Connection Pool (MCP).

Returns
Type
Description
bool

setEnabled

Optional. Whether to enable Managed Connection Pool (MCP).

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getFlags

Optional. Connection Pool flags, as a list of "key": "value" pairs.

Returns
Type
Description

setFlags

Optional. Connection Pool flags, as a list of "key": "value" pairs.

Parameter
Name
Description
Returns
Type
Description
$this

getPoolerCount

Output only. The number of running poolers per instance.

Returns
Type
Description
int

setPoolerCount

Output only. The number of running poolers per instance.

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: