Class: Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb
Overview
Autoscaling config for an instance.
Defined Under Namespace
Classes: AutoscalingLimits, AutoscalingTargets
Instance Attribute Summary collapse
-
#autoscaling_limits ⇒ ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits
Required.
-
#autoscaling_targets ⇒ ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets
Required.
Instance Attribute Details
#autoscaling_limits ⇒ ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits
Returns Required. Autoscaling limits for an instance.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 |
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 197 class AutoscalingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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. # @!attribute [rw] min_nodes # @return [::Integer] # Minimum number of nodes allocated to the instance. If set, this number # should be greater than or equal to 1. # @!attribute [rw] min_processing_units # @return [::Integer] # Minimum number of processing units allocated to the instance. If set, # this number should be multiples of 1000. # @!attribute [rw] max_nodes # @return [::Integer] # Maximum number of nodes allocated to the instance. If set, this number # should be greater than or equal to min_nodes. # @!attribute [rw] max_processing_units # @return [::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. class AutoscalingLimits include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The autoscaling targets for an instance. # @!attribute [rw] high_priority_cpu_utilization_percent # @return [::Integer] # Required. The target high priority cpu utilization percentage that the # autoscaler should be trying to achieve for the instance. This number is # on a scale from 0 (no utilization) to 100 (full utilization). The valid # range is [10, 90] inclusive. # @!attribute [rw] storage_utilization_percent # @return [::Integer] # Required. The target storage utilization percentage that the autoscaler # should be trying to achieve for the instance. This number is on a scale # from 0 (no utilization) to 100 (full utilization). The valid range is # [10, 100] inclusive. class AutoscalingTargets include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#autoscaling_targets ⇒ ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets
Returns Required. The autoscaling targets for an instance.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 |
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 197 class AutoscalingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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. # @!attribute [rw] min_nodes # @return [::Integer] # Minimum number of nodes allocated to the instance. If set, this number # should be greater than or equal to 1. # @!attribute [rw] min_processing_units # @return [::Integer] # Minimum number of processing units allocated to the instance. If set, # this number should be multiples of 1000. # @!attribute [rw] max_nodes # @return [::Integer] # Maximum number of nodes allocated to the instance. If set, this number # should be greater than or equal to min_nodes. # @!attribute [rw] max_processing_units # @return [::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. class AutoscalingLimits include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The autoscaling targets for an instance. # @!attribute [rw] high_priority_cpu_utilization_percent # @return [::Integer] # Required. The target high priority cpu utilization percentage that the # autoscaler should be trying to achieve for the instance. This number is # on a scale from 0 (no utilization) to 100 (full utilization). The valid # range is [10, 90] inclusive. # @!attribute [rw] storage_utilization_percent # @return [::Integer] # Required. The target storage utilization percentage that the autoscaler # should be trying to achieve for the instance. This number is on a scale # from 0 (no utilization) to 100 (full utilization). The valid range is # [10, 100] inclusive. class AutoscalingTargets include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |