Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::ReadPoolAutoScaleConfig (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::ReadPoolAutoScaleConfig.

The read pool auto-scale configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#disable_scale_in

def disable_scale_in() -> ::Boolean
Returns
  • (::Boolean) — Indicates whether read pool auto scaling supports scale in operations (removing nodes).

#disable_scale_in=

def disable_scale_in=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates whether read pool auto scaling supports scale in operations (removing nodes).
Returns
  • (::Boolean) — Indicates whether read pool auto scaling supports scale in operations (removing nodes).

#enabled

def enabled() -> ::Boolean
Returns
  • (::Boolean) — Indicates whether read pool auto scaling is enabled.

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates whether read pool auto scaling is enabled.
Returns
  • (::Boolean) — Indicates whether read pool auto scaling is enabled.

#max_node_count

def max_node_count() -> ::Integer
Returns
  • (::Integer) — Maximum number of read pool nodes to be maintained.

#max_node_count=

def max_node_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum number of read pool nodes to be maintained.
Returns
  • (::Integer) — Maximum number of read pool nodes to be maintained.

#min_node_count

def min_node_count() -> ::Integer
Returns
  • (::Integer) — Minimum number of read pool nodes to be maintained.

#min_node_count=

def min_node_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Minimum number of read pool nodes to be maintained.
Returns
  • (::Integer) — Minimum number of read pool nodes to be maintained.

#scale_in_cooldown_seconds

def scale_in_cooldown_seconds() -> ::Integer
Returns
  • (::Integer) — The cooldown period for scale-in operations.

#scale_in_cooldown_seconds=

def scale_in_cooldown_seconds=(value) -> ::Integer
Parameter
  • value (::Integer) — The cooldown period for scale-in operations.
Returns
  • (::Integer) — The cooldown period for scale-in operations.

#scale_out_cooldown_seconds

def scale_out_cooldown_seconds() -> ::Integer
Returns
  • (::Integer) — The cooldown period for scale-out operations.

#scale_out_cooldown_seconds=

def scale_out_cooldown_seconds=(value) -> ::Integer
Parameter
  • value (::Integer) — The cooldown period for scale-out operations.
Returns
  • (::Integer) — The cooldown period for scale-out operations.

#target_metrics

def target_metrics() -> ::Array<::Google::Cloud::Sql::V1::ReadPoolAutoScaleConfig::TargetMetric>
Returns

#target_metrics=

def target_metrics=(value) -> ::Array<::Google::Cloud::Sql::V1::ReadPoolAutoScaleConfig::TargetMetric>
Parameter
Returns