Class BasicScaling (1.5.2)

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.

Inheritance

builtins.object > proto.message.Message > BasicScaling