Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class ReadPoolAutoScaleConfig.
The read pool auto-scale configuration.
Generated from protobuf message google.cloud.sql.v1.ReadPoolAutoScaleConfig
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ enabled
bool
Indicates whether read pool auto scaling is enabled.
↳ min_node_count
int
Minimum number of read pool nodes to be maintained.
↳ max_node_count
int
Maximum number of read pool nodes to be maintained.
↳ target_metrics
↳ disable_scale_in
bool
Indicates whether read pool auto scaling supports scale in operations (removing nodes).
↳ scale_in_cooldown_seconds
int
The cooldown period for scale-in operations.
↳ scale_out_cooldown_seconds
int
The cooldown period for scale-out operations.
getEnabled
Indicates whether read pool auto scaling is enabled.
bool
hasEnabled
clearEnabled
setEnabled
Indicates whether read pool auto scaling is enabled.
var
bool
$this
getMinNodeCount
Minimum number of read pool nodes to be maintained.
int
hasMinNodeCount
clearMinNodeCount
setMinNodeCount
Minimum number of read pool nodes to be maintained.
var
int
$this
getMaxNodeCount
Maximum number of read pool nodes to be maintained.
int
hasMaxNodeCount
clearMaxNodeCount
setMaxNodeCount
Maximum number of read pool nodes to be maintained.
var
int
$this
getTargetMetrics
Optional. Target metrics for read pool auto scaling.
setTargetMetrics
Optional. Target metrics for read pool auto scaling.
$this
getDisableScaleIn
Indicates whether read pool auto scaling supports scale in operations (removing nodes).
bool
hasDisableScaleIn
clearDisableScaleIn
setDisableScaleIn
Indicates whether read pool auto scaling supports scale in operations (removing nodes).
var
bool
$this
getScaleInCooldownSeconds
The cooldown period for scale-in operations.
int
hasScaleInCooldownSeconds
clearScaleInCooldownSeconds
setScaleInCooldownSeconds
The cooldown period for scale-in operations.
var
int
$this
getScaleOutCooldownSeconds
The cooldown period for scale-out operations.
int
hasScaleOutCooldownSeconds
clearScaleOutCooldownSeconds
setScaleOutCooldownSeconds
The cooldown period for scale-out operations.
var
int
$this

