# BigQuery Migration v2 API - Enum MigrationSubtask.Types.State (1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public enum MigrationSubtask.Types.State

Reference documentation and code samples for the BigQuery Migration v2 API enum MigrationSubtask.Types.State.

Possible states of a migration subtask.

## Namespace

[Google.Cloud.BigQuery.Migration.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2)

## Assembly

Google.Cloud.BigQuery.Migration.V2.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Active` | The subtask is ready, i.e. it is ready for execution. |
| `Failed` | The subtask finished unsuccessfully. |
| `Paused` | The subtask is paused, i.e., it will not be scheduled. If it was already assigned,it might still finish but no new lease renewals will be granted. |
| `PendingDependency` | The subtask is pending a dependency. It will be scheduled once its dependencies are done. |
| `Running` | The subtask is running, i.e. it is assigned to a worker for execution. |
| `Succeeded` | The subtask finished successfully. |
| `Unspecified` | The state is unspecified. |