# Google Cloud Batch V1 Client - Class SchedulingPolicy (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.7 1.0.3 0.17.0 0.16.10 0.15.0 0.14.0 0.13.1 0.12.1 0.11.3 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.2 0.4.0 0.3.0 0.2.2 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;`