App Engine v1 API - Class BasicScaling (2.4.0)

public sealed class BasicScaling : IMessage<BasicScaling>, IEquatable<BasicScaling>, IDeepCloneable<BasicScaling>, IBufferMessage, IMessage

Reference documentation and code samples for the App Engine v1 API 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.

Inheritance

object > BasicScaling

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

BasicScaling()

public BasicScaling()

BasicScaling(BasicScaling)

public BasicScaling(BasicScaling other)
Parameter
Name Description
other BasicScaling

Properties

IdleTimeout

public Duration IdleTimeout { get; set; }

Duration of time after the last request that an instance must wait before the instance is shut down.

Property Value
Type Description
Duration

MaxInstances

public int MaxInstances { get; set; }

Maximum number of instances to create for this version.

Property Value
Type Description
int