Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class AutomaticScaling.
Automatic scaling is based on request rate, response latencies, and other application metrics.
Generated from protobuf message google.appengine.v1.AutomaticScaling
Namespace
Google \ Cloud \ AppEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cool_down_period
Google\Protobuf\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
↳ 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
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
Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
↳ request_utilization
↳ disk_utilization
↳ network_utilization
↳ standard_scheduler_settings
getCoolDownPeriod
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.
hasCoolDownPeriod
clearCoolDownPeriod
setCoolDownPeriod
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.
$this
getCpuUtilization
Target scaling by CPU usage.
hasCpuUtilization
clearCpuUtilization
setCpuUtilization
Target scaling by CPU usage.
$this
getMaxConcurrentRequests
Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.
Defaults to a runtime-specific value.
int
setMaxConcurrentRequests
Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.
Defaults to a runtime-specific value.
var
int
$this
getMaxIdleInstances
Maximum number of idle instances that should be maintained for this version.
int
setMaxIdleInstances
Maximum number of idle instances that should be maintained for this version.
var
int
$this
getMaxTotalInstances
Maximum number of instances that should be started to handle requests for this version.
int
setMaxTotalInstances
Maximum number of instances that should be started to handle requests for this version.
var
int
$this
getMaxPendingLatency
Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
hasMaxPendingLatency
clearMaxPendingLatency
setMaxPendingLatency
Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
$this
getMinIdleInstances
Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
int
setMinIdleInstances
Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
var
int
$this
getMinTotalInstances
Minimum number of running instances that should be maintained for this version.
int
setMinTotalInstances
Minimum number of running instances that should be maintained for this version.
var
int
$this
getMinPendingLatency
Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
hasMinPendingLatency
clearMinPendingLatency
setMinPendingLatency
Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
$this
getRequestUtilization
Target scaling by request utilization.
hasRequestUtilization
clearRequestUtilization
setRequestUtilization
Target scaling by request utilization.
$this
getDiskUtilization
Target scaling by disk usage.
hasDiskUtilization
clearDiskUtilization
setDiskUtilization
Target scaling by disk usage.
$this
getNetworkUtilization
Target scaling by network usage.
hasNetworkUtilization
clearNetworkUtilization
setNetworkUtilization
Target scaling by network usage.
$this
getStandardSchedulerSettings
Scheduler settings for standard environment.
hasStandardSchedulerSettings
clearStandardSchedulerSettings
setStandardSchedulerSettings
Scheduler settings for standard environment.
$this