AutomaticScaling class

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

Constructors

AutomaticScaling()
AutomaticScaling.fromJson(Map _json)

Properties

coolDownPeriod ↔ String
The time period that the Autoscaler (https://cloud.google.com/compute/docs/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.
read / write
cpuUtilization CpuUtilization
Target scaling by CPU usage.
read / write
diskUtilization DiskUtilization
Target scaling by disk usage.
read / write
maxConcurrentRequests ↔ int
Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.
read / write
maxIdleInstances ↔ int
Maximum number of idle instances that should be maintained for this version.
read / write
maxPendingLatency ↔ String
Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
read / write
maxTotalInstances ↔ int
Maximum number of instances that should be started to handle requests for this version.
read / write
minIdleInstances ↔ int
Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
read / write
minPendingLatency ↔ String
Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
read / write
minTotalInstances ↔ int
Minimum number of running instances that should be maintained for this version.
read / write
networkUtilization NetworkUtilization
Target scaling by network usage.
read / write
requestUtilization RequestUtilization
Target scaling by request utilization.
read / write
standardSchedulerSettings StandardSchedulerSettings
Scheduler settings for standard environment.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited