class Google::Apis::AppengineV1beta4::ManualScaling

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

Attributes

instances[RW]

Number of instances to assign to the module 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 lib/google/apis/appengine_v1beta4/classes.rb, line 1076
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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