App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::BasicScaling (v0.6.0)

Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#idle_timeout

def idle_timeout() -> ::Google::Protobuf::Duration
Returns

#idle_timeout=

def idle_timeout=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Duration of time after the last request that an instance must wait before the instance is shut down.
Returns

#max_instances

def max_instances() -> ::Integer
Returns
  • (::Integer) — Maximum number of instances to create for this version.

#max_instances=

def max_instances=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum number of instances to create for this version.
Returns
  • (::Integer) — Maximum number of instances to create for this version.