Class: Google::Cloud::AppEngine::V1::BasicScaling
- Inherits:
-
Object
- Object
- Google::Cloud::AppEngine::V1::BasicScaling
- 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
-
#idle_timeout ⇒ ::Google::Protobuf::Duration
Duration of time after the last request that an instance must wait before the instance is shut down.
-
#max_instances ⇒ ::Integer
Maximum number of instances to create for this version.
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.
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.
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 |