Class: Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#max_nodes::Integer

Returns Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.

Returns:

  • (::Integer)

    Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.



262
263
264
265
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 262

class AutoscalingLimits
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_processing_units::Integer

Returns 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.

Returns:

  • (::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.



262
263
264
265
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 262

class AutoscalingLimits
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#min_nodes::Integer

Returns Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.

Returns:

  • (::Integer)

    Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.



262
263
264
265
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 262

class AutoscalingLimits
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#min_processing_units::Integer

Returns Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.

Returns:

  • (::Integer)

    Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.



262
263
264
265
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 262

class AutoscalingLimits
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end