# Class BasicScaling (1.18.0)

1.18.0 (latest) 1.17.0 1.16.0 1.15.0 1.14.2 1.13.0 1.12.1 1.11.5 1.10.0 1.9.4 1.8.1 1.7.1 1.6.0 1.5.3 1.4.1 1.3.3 1.2.1 1.1.5 1.0.2 0.2.0 0.1.0

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

A service with basic scaling will create an instance when the
application receives a request. The instance will be turned down
when the app becomes idle. Basic scaling is ideal for work that
is intermittent or driven by user activity.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `idle_timeout` | `google.protobuf.duration_pb2.Duration` Duration of time after the last request that an instance must wait before the instance is shut down. |
| `max_instances` | `int` Maximum number of instances to create for this version. |