# Class AutomaticScaling (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

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

Automatic scaling is based on request rate, response
latencies, and other application metrics.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `cool_down_period` | `google.protobuf.duration_pb2.Duration` The time period that the `Autoscaler `__ should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment. |
| `cpu_utilization` | `https://docs.cloud.google.com/python/docs/reference/appengine/latest/google.cloud.appengine_admin_v1.types.CpuUtilization` Target scaling by CPU usage. |
| `max_concurrent_requests` | `int` Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value. |
| `max_idle_instances` | `int` Maximum number of idle instances that should be maintained for this version. |
| `max_total_instances` | `int` Maximum number of instances that should be started to handle requests for this version. |
| `max_pending_latency` | `google.protobuf.duration_pb2.Duration` Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. |
| `min_idle_instances` | `int` Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service. |
| `min_total_instances` | `int` Minimum number of running instances that should be maintained for this version. |
| `min_pending_latency` | `google.protobuf.duration_pb2.Duration` Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. |
| `request_utilization` | `https://docs.cloud.google.com/python/docs/reference/appengine/latest/google.cloud.appengine_admin_v1.types.RequestUtilization` Target scaling by request utilization. |
| `disk_utilization` | `https://docs.cloud.google.com/python/docs/reference/appengine/latest/google.cloud.appengine_admin_v1.types.DiskUtilization` Target scaling by disk usage. |
| `network_utilization` | `https://docs.cloud.google.com/python/docs/reference/appengine/latest/google.cloud.appengine_admin_v1.types.NetworkUtilization` Target scaling by network usage. |
| `standard_scheduler_settings` | `https://docs.cloud.google.com/python/docs/reference/appengine/latest/google.cloud.appengine_admin_v1.types.StandardSchedulerSettings` Scheduler settings for standard environment. |