AlloyDB V1BETA API - Module Google::Cloud::AlloyDB::V1beta::Instance::ConnectionPoolConfig::PoolMode (v0.17.0)

Reference documentation and code samples for the AlloyDB V1BETA API module Google::Cloud::AlloyDB::V1beta::Instance::ConnectionPoolConfig::PoolMode.

The pool mode. Defaults to POOL_MODE_TRANSACTION.

Constants

POOL_MODE_UNSPECIFIED

value: 0
The pool mode is not specified. Defaults to POOL_MODE_TRANSACTION.

POOL_MODE_SESSION

value: 1
Server is released back to pool after a client disconnects.

POOL_MODE_TRANSACTION

value: 2
Server is released back to pool after a transaction finishes.