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

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
Name Description
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
Type Description
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
Name Description
var int
Returns
Type Description
$this