# Google Cloud BigQuery Migration V2 Client - Class State (1.3.0)

1.3.0 (latest) 1.2.3 1.1.5 1.0.0 0.4.5 0.3.3 0.2.2 0.1.4 Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class State.

Possible states of a migration task.

Protobuf type `google.cloud.bigquery.migration.v2.MigrationTask.State`

## Namespace

Google \\ Cloud \\ BigQuery \\ Migration \\ V2 \\ MigrationTask

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### STATE_UNSPECIFIED

    Value: 0

The state is unspecified.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### PENDING

    Value: 1

The task is waiting for orchestration.

Generated from protobuf enum `PENDING = 1;`

### ORCHESTRATING

    Value: 2

The task is assigned to an orchestrator.

Generated from protobuf enum `ORCHESTRATING = 2;`

### RUNNING

    Value: 3

The task is running, i.e. its subtasks are ready for execution.

Generated from protobuf enum `RUNNING = 3;`

### PAUSED

    Value: 4

The task is paused. Assigned subtasks can continue, but no new subtasks
will be scheduled.

Generated from protobuf enum `PAUSED = 4;`

### SUCCEEDED

    Value: 5

The task finished successfully.

Generated from protobuf enum `SUCCEEDED = 5;`

### FAILED

    Value: 6

The task finished unsuccessfully.

Generated from protobuf enum `FAILED = 6;`