Class BasicScaling (1.10.0rc0)

BasicScaling(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
idle_timeout google.protobuf.duration_pb2.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.