# BigQuery Reservation V1 API - Class Google::Cloud::Bigquery::Reservation::V1::Reservation::Autoscale (v1.12.0)

1.12.0 (latest) 1.11.0 1.10.0 1.9.2 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.12.0 0.11.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.2 Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::Reservation::Autoscale.

Auto scaling settings.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #current_slots

    def current_slots() -> ::Integer

**Returns**

- (::Integer) --- Output only. The slot capacity added to this reservation when autoscale happens. Will be between \[0, max_slots\]. Note: after users reduce max_slots, it may take a while before it can be propagated, so current_slots may stay in the original value and could be larger than max_slots for that brief period (less than one minute)

### #max_slots

    def max_slots() -> ::Integer

**Returns**

- (::Integer) --- Optional. Number of slots to be scaled when needed.

### #max_slots=

    def max_slots=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. Number of slots to be scaled when needed.
**Returns**

- (::Integer) --- Optional. Number of slots to be scaled when needed.