# Class Autoscale (1.25.0)

1.25.0 (latest) 1.24.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.2 1.16.0 1.15.0 1.14.1 1.13.5 1.12.0 1.11.3 1.10.0 1.9.1 1.8.0 1.7.3 1.6.3 1.5.0 1.4.1 1.3.1 1.2.2 1.1.0 1.0.1 0.4.2 0.3.0 0.2.0 0.1.0

    Autoscale(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Auto scaling settings.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `current_slots` | `int` 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` | `int` Optional. Number of slots to be scaled when needed. |