Class BasicScaling (1.4.0)

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

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
NameDescription
otherBasicScaling

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
TypeDescription
Duration

MaxInstances

public int MaxInstances { get; set; }

Maximum number of instances to create for this version.

Property Value
TypeDescription
Int32