Google Cloud Batch V1 Client - Class SchedulingPolicy (1.0.3)

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
Name Description
value mixed

static::value

Parameter
Name Description
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;