AlloyDB V1 API - Class Google::Cloud::AlloyDB::V1::Instance::ConnectionPoolConfig (v1.5.0)

Reference documentation and code samples for the AlloyDB V1 API class Google::Cloud::AlloyDB::V1::Instance::ConnectionPoolConfig.

Configuration for Managed Connection Pool (MCP).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enabled

def enabled() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether to enable Managed Connection Pool (MCP).

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether to enable Managed Connection Pool (MCP).
Returns
  • (::Boolean) — Optional. Whether to enable Managed Connection Pool (MCP).

#flags

def flags() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Connection Pool flags, as a list of "key": "value" pairs.

#flags=

def flags=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Connection Pool flags, as a list of "key": "value" pairs.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Connection Pool flags, as a list of "key": "value" pairs.

#pooler_count

def pooler_count() -> ::Integer
Returns
  • (::Integer) — Output only. The number of running poolers per instance.