Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class BasicScaling.
A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
Generated from protobuf message google.appengine.v1.BasicScaling
Namespace
Google \ Cloud \ AppEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ idle_timeout
Google\Protobuf\Duration
Duration of time after the last request that an instance must wait before the instance is shut down.
↳ max_instances
int
Maximum number of instances to create for this version.
getIdleTimeout
Duration of time after the last request that an instance must wait before the instance is shut down.
hasIdleTimeout
clearIdleTimeout
setIdleTimeout
Duration of time after the last request that an instance must wait before the instance is shut down.
$this
getMaxInstances
Maximum number of instances to create for this version.
int
setMaxInstances
Maximum number of instances to create for this version.
var
int
$this