AutomaticScalingResponse

data class AutomaticScalingResponse(val coolDownPeriod: String, val cpuUtilization: CpuUtilizationResponse, val customMetrics: List<CustomMetricResponse>, val diskUtilization: DiskUtilizationResponse, val maxConcurrentRequests: Int, val maxIdleInstances: Int, val maxPendingLatency: String, val maxTotalInstances: Int, val minIdleInstances: Int, val minPendingLatency: String, val minTotalInstances: Int, val networkUtilization: NetworkUtilizationResponse, val requestUtilization: RequestUtilizationResponse, val standardSchedulerSettings: StandardSchedulerSettingsResponse)

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

Constructors

Link copied to clipboard
fun AutomaticScalingResponse(coolDownPeriod: String, cpuUtilization: CpuUtilizationResponse, customMetrics: List<CustomMetricResponse>, diskUtilization: DiskUtilizationResponse, maxConcurrentRequests: Int, maxIdleInstances: Int, maxPendingLatency: String, maxTotalInstances: Int, minIdleInstances: Int, minPendingLatency: String, minTotalInstances: Int, networkUtilization: NetworkUtilizationResponse, requestUtilization: RequestUtilizationResponse, standardSchedulerSettings: StandardSchedulerSettingsResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

Target scaling by CPU usage.

Link copied to clipboard

Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.

Link copied to clipboard

Target scaling by disk usage.

Link copied to clipboard

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.

Link copied to clipboard

Maximum number of idle instances that should be maintained for this version.

Link copied to clipboard

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

Link copied to clipboard

Maximum number of instances that should be started to handle requests for this version.

Link copied to clipboard

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

Link copied to clipboard

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

Link copied to clipboard

Minimum number of running instances that should be maintained for this version.

Link copied to clipboard

Target scaling by network usage.

Link copied to clipboard

Target scaling by request utilization.

Link copied to clipboard

Scheduler settings for standard environment.