StandardAppVersionAutomaticScalingStandardSchedulerSettings

data class StandardAppVersionAutomaticScalingStandardSchedulerSettings(val maxInstances: Int? = null, val minInstances: Int? = null, val targetCpuUtilization: Double? = null, val targetThroughputUtilization: Double? = null)

Constructors

constructor(maxInstances: Int? = null, minInstances: Int? = null, targetCpuUtilization: Double? = null, targetThroughputUtilization: Double? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val maxInstances: Int? = null

Maximum number of instances to run for this version. Set to zero to disable maxInstances configuration. Note: Starting from March 2025, App Engine sets the maxInstances default for standard environment deployments to 20. This change doesn't impact existing apps. To override the default, specify a new value between 0 and 2147483647, and deploy a new version or redeploy over an existing version. To disable the maxInstances default configuration setting, specify the maximum permitted value 2147483647.

Link copied to clipboard
val minInstances: Int? = null

Minimum number of instances to run for this version. Set to zero to disable minInstances configuration.

Link copied to clipboard

Target CPU utilization ratio to maintain when scaling. Should be a value in the range 0.50, 0.95, zero, or a negative value.

Link copied to clipboard

Target throughput utilization ratio to maintain when scaling. Should be a value in the range 0.50, 0.95, zero, or a negative value.