Google Cloud Batch V1 Client - Class SchedulingPolicy (0.15.0)

Reference documentation and code samples for the Google Cloud Batch V1 Client class SchedulingPolicy.

How Tasks in the TaskGroup should be scheduled relative to each other.

Protobuf type google.cloud.batch.v1.TaskGroup.SchedulingPolicy

Namespace

Google \ Cloud \ Batch \ V1 \ TaskGroup

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

SCHEDULING_POLICY_UNSPECIFIED

Value: 0

Unspecified.

Generated from protobuf enum SCHEDULING_POLICY_UNSPECIFIED = 0;

AS_SOON_AS_POSSIBLE

Value: 1

Run Tasks as soon as resources are available.

Tasks might be executed in parallel depending on parallelism and task_count values.

Generated from protobuf enum AS_SOON_AS_POSSIBLE = 1;

IN_ORDER

Value: 2

Run Tasks sequentially with increased task index.

Generated from protobuf enum IN_ORDER = 2;