Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets.
(::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.
value (::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.
Returns
(::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.
#storage_utilization_percent
defstorage_utilization_percent()->::Integer
Returns
(::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, 99] inclusive.
#storage_utilization_percent=
defstorage_utilization_percent=(value)->::Integer
Parameter
value (::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, 99] inclusive.
Returns
(::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, 99] inclusive.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Spanner Instance Admin V1 API - Class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [2.0.1](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/2.0.1/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [1.6.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.6.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [1.5.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.5.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [1.4.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.4.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [1.3.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.3.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [1.2.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.2.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [1.1.1](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.1.1/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [1.0.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.0.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.16.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.16.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.15.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.15.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.14.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.14.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.13.2](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.13.2/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.12.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.12.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.11.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.11.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.10.2](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.10.2/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.9.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.9.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.8.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.8.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.7.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.7.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.6.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.6.0/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets)\n- [0.5.5](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.5.5/Google-Cloud-Spanner-Admin-Instance-V1-AutoscalingConfig-AutoscalingTargets) \nReference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets.\n\nThe autoscaling targets for an instance. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #high_priority_cpu_utilization_percent\n\n def high_priority_cpu_utilization_percent() -\u003e ::Integer\n\n**Returns**\n\n- (::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.\n\n### #high_priority_cpu_utilization_percent=\n\n def high_priority_cpu_utilization_percent=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::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. \n**Returns**\n\n- (::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.\n\n### #storage_utilization_percent\n\n def storage_utilization_percent() -\u003e ::Integer\n\n**Returns**\n\n- (::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, 99\\] inclusive.\n\n### #storage_utilization_percent=\n\n def storage_utilization_percent=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::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, 99\\] inclusive. \n**Returns**\n\n- (::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, 99\\] inclusive."]]