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.
Note: The following fields are mutually exclusive:
max_nodes
,max_processing_units
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
max_nodes
,max_processing_units
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Integer) — Maximum number of nodes allocated to the instance. If set, this number
should be greater than or equal to min_nodes.
Note: The following fields are mutually exclusive:
max_nodes
,max_processing_units
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
max_processing_units
,max_nodes
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
max_processing_units
,max_nodes
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::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.
Note: The following fields are mutually exclusive:
max_processing_units
,max_nodes
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
min_nodes
,min_processing_units
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
min_nodes
,min_processing_units
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Integer) — Minimum number of nodes allocated to the instance. If set, this number
should be greater than or equal to 1.
Note: The following fields are mutually exclusive:
min_nodes
,min_processing_units
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
min_processing_units
,min_nodes
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
min_processing_units
,min_nodes
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Integer) — Minimum number of processing units allocated to the instance. If set,
this number should be multiples of 1000.
Note: The following fields are mutually exclusive:
min_processing_units
,min_nodes
. If a field in that set is populated, all other fields in the set will automatically be cleared.