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

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
Name Description
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
Type Description
float

setTargetCpuUtilization

Target CPU utilization ratio to maintain when scaling.

Parameter
Name Description
var float
Returns
Type Description
$this

getTargetThroughputUtilization

Target throughput utilization ratio to maintain when scaling

Returns
Type Description
float

setTargetThroughputUtilization

Target throughput utilization ratio to maintain when scaling

Parameter
Name Description
var float
Returns
Type Description
$this

getMinInstances

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

Returns
Type Description
int

setMinInstances

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

Parameter
Name Description
var int
Returns
Type Description
$this

getMaxInstances

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

Returns
Type Description
int

setMaxInstances

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

Parameter
Name Description
var int
Returns
Type Description
$this