class Google::Apis::AppengineV1beta5::ManualScaling

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.

Attributes

instances[RW]

The number of instances to assign to the service at the start. This number can later be altered by using the [Modules API](cloud.google.com/appengine/ docs/python/modules/functions) `set_num_instances()` function. Corresponds to the JSON property `instances` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/appengine_v1beta5/classes.rb, line 789
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/appengine_v1beta5/classes.rb, line 794
def update!(**args)
  @instances = args[:instances] if args.key?(:instances)
end