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

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

Target metric for read pool auto scaling.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#metric

def metric() -> ::String
Returns
  • (::String) — The metric name to be used for auto scaling.

#metric=

def metric=(value) -> ::String
Parameter
  • value (::String) — The metric name to be used for auto scaling.
Returns
  • (::String) — The metric name to be used for auto scaling.

#target_value

def target_value() -> ::Float
Returns
  • (::Float) — The target value for the metric.

#target_value=

def target_value=(value) -> ::Float
Parameter
  • value (::Float) — The target value for the metric.
Returns
  • (::Float) — The target value for the metric.