Class: Google::Cloud::AlloyDB::V1alpha::Instance::ConnectionPoolConfig
- Inherits:
-
Object
- Object
- Google::Cloud::AlloyDB::V1alpha::Instance::ConnectionPoolConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/alloydb/v1alpha/resources.rb
Overview
Configuration for Managed Connection Pool (MCP).
Defined Under Namespace
Modules: PoolMode
Instance Attribute Summary collapse
-
#enabled ⇒ ::Boolean
Optional.
Instance Attribute Details
#enabled ⇒ ::Boolean
1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 1185 class ConnectionPoolConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The pool mode. Defaults to `POOL_MODE_TRANSACTION`. module PoolMode # The pool mode is not specified. Defaults to `POOL_MODE_TRANSACTION`. POOL_MODE_UNSPECIFIED = 0 # Server is released back to pool after a client disconnects. POOL_MODE_SESSION = 1 # Server is released back to pool after a transaction finishes. POOL_MODE_TRANSACTION = 2 end end |