Class: Google::Cloud::AppEngine::V1::BasicScaling

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/appengine/v1/version.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#idle_timeout::Google::Protobuf::Duration

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

Returns:



373
374
375
376
# File 'proto_docs/google/appengine/v1/version.rb', line 373

class BasicScaling
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_instances::Integer

Returns Maximum number of instances to create for this version.

Returns:

  • (::Integer)

    Maximum number of instances to create for this version.



373
374
375
376
# File 'proto_docs/google/appengine/v1/version.rb', line 373

class BasicScaling
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end