View Source GoogleApi.AppEngine.V1.Model.BasicScaling (google_api_app_engine v0.42.0)

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

  • idleTimeout (type: String.t, default: nil) - Duration of time after the last request that an instance must wait before the instance is shut down.
  • maxInstances (type: integer(), default: nil) - Maximum number of instances to create for this version.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AppEngine.V1.Model.BasicScaling{
  idleTimeout: String.t() | nil,
  maxInstances: integer() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.