Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::ManualScaling.
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instances
def instances() -> ::Integer
Returns
-
(::Integer) — Number of instances to assign to the service at the start. This number
can later be altered by using the
Modules API
set_num_instances()
function.
#instances=
def instances=(value) -> ::Integer
Parameter
-
value (::Integer) — Number of instances to assign to the service at the start. This number
can later be altered by using the
Modules API
set_num_instances()
function.
Returns
-
(::Integer) — Number of instances to assign to the service at the start. This number
can later be altered by using the
Modules API
set_num_instances()
function.