Class AutomaticScaling (1.0.2)

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

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

Attributes

NameDescription
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 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 google.cloud.appengine_admin_v1.types.RequestUtilization
Target scaling by request utilization.
disk_utilization google.cloud.appengine_admin_v1.types.DiskUtilization
Target scaling by disk usage.
network_utilization google.cloud.appengine_admin_v1.types.NetworkUtilization
Target scaling by network usage.
standard_scheduler_settings google.cloud.appengine_admin_v1.types.StandardSchedulerSettings
Scheduler settings for standard environment.