Google Cloud Appengine Admin V1 Client - Class StandardSchedulerSettings (1.2.2)

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

Scheduler settings for standard environment.

Generated from protobuf message google.appengine.v1.StandardSchedulerSettings

Namespace

Google \ Cloud \ AppEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ target_cpu_utilization float

Target CPU utilization ratio to maintain when scaling.

↳ target_throughput_utilization float

Target throughput utilization ratio to maintain when scaling

↳ min_instances int

Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.

↳ max_instances int

Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.

getTargetCpuUtilization

Target CPU utilization ratio to maintain when scaling.

Returns
TypeDescription
float

setTargetCpuUtilization

Target CPU utilization ratio to maintain when scaling.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getTargetThroughputUtilization

Target throughput utilization ratio to maintain when scaling

Returns
TypeDescription
float

setTargetThroughputUtilization

Target throughput utilization ratio to maintain when scaling

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMinInstances

Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.

Returns
TypeDescription
int

setMinInstances

Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMaxInstances

Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.

Returns
TypeDescription
int

setMaxInstances

Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.

Parameter
NameDescription
var int
Returns
TypeDescription
$this