# Class AutoscalingPolicyScaleInControl (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

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

Configuration that allows for slower scale in so that even if
Autoscaler recommends an abrupt scale in of a MIG, it will be
throttled as specified by the parameters below.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `max_scaled_in_replicas` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.FixedOrPercent` Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. This field is a member of `oneof`_ `_max_scaled_in_replicas`. |
| `time_window_sec` | `int` How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above. This field is a member of `oneof`_ `_time_window_sec`. |