# Cloud Spanner Instance Admin V1 API - Class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets (v2.8.0)

2.8.0 (latest) 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.16.0 0.15.0 0.14.0 0.13.2 0.12.0 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.5 Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets.

The autoscaling targets for an instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #high_priority_cpu_utilization_percent

    def high_priority_cpu_utilization_percent() -> ::Integer

**Returns**

- (::Integer) --- Optional. 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. If not specified or set to 0, the autoscaler skips scaling based on high priority CPU utilization.

### #high_priority_cpu_utilization_percent=

    def high_priority_cpu_utilization_percent=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. 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. If not specified or set to 0, the autoscaler skips scaling based on high priority CPU utilization.
**Returns**

- (::Integer) --- Optional. 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. If not specified or set to 0, the autoscaler skips scaling based on high priority CPU utilization.

### #storage_utilization_percent

    def storage_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=

    def storage_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.

### #total_cpu_utilization_percent

    def total_cpu_utilization_percent() -> ::Integer

**Returns**

- (::Integer) --- Optional. The target total 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. If not specified or set to 0, the autoscaler skips scaling based on total CPU utilization. If both `high_priority_cpu_utilization_percent` and `total_cpu_utilization_percent` are specified, the autoscaler provisions the larger of the two required compute capacities to satisfy both targets.

### #total_cpu_utilization_percent=

    def total_cpu_utilization_percent=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The target total 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. If not specified or set to 0, the autoscaler skips scaling based on total CPU utilization. If both `high_priority_cpu_utilization_percent` and `total_cpu_utilization_percent` are specified, the autoscaler provisions the larger of the two required compute capacities to satisfy both targets.
**Returns**

- (::Integer) --- Optional. The target total 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. If not specified or set to 0, the autoscaler skips scaling based on total CPU utilization. If both `high_priority_cpu_utilization_percent` and `total_cpu_utilization_percent` are specified, the autoscaler provisions the larger of the two required compute capacities to satisfy both targets.