Google Cloud Appengine Admin V1 Client - Class ManualScaling (1.1.1)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class ManualScaling.

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

Generated from protobuf message google.appengine.v1.ManualScaling

Namespace

Google \ Cloud \ AppEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instances int

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.

getInstances

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
TypeDescription
int

setInstances

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this