Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits.
The autoscaling limits for the instance. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the min_limit and max_limit.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#max_nodes
def max_nodes() -> ::Integer
- (::Integer) — Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
#max_nodes=
def max_nodes=(value) -> ::Integer
- value (::Integer) — Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
- (::Integer) — Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
#max_processing_units
def max_processing_units() -> ::Integer
- (::Integer) — Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
#max_processing_units=
def max_processing_units=(value) -> ::Integer
- value (::Integer) — Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
- (::Integer) — Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
#min_nodes
def min_nodes() -> ::Integer
- (::Integer) — Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
#min_nodes=
def min_nodes=(value) -> ::Integer
- value (::Integer) — Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
- (::Integer) — Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
#min_processing_units
def min_processing_units() -> ::Integer
- (::Integer) — Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
#min_processing_units=
def min_processing_units=(value) -> ::Integer
- value (::Integer) — Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
- (::Integer) — Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.