# BigQuery Migration V2 API - Module Google::Cloud::Bigquery::Migration::V2::MigrationSubtask::State (v0.21.0)

0.21.0 (latest) 0.20.0 0.19.0 0.18.0 0.17.1 0.16.0 0.15.1 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the BigQuery Migration V2 API module Google::Cloud::Bigquery::Migration::V2::MigrationSubtask::State.

Possible states of a migration subtask.

## Constants

### STATE_UNSPECIFIED

**value:** 0  
The state is unspecified.

### ACTIVE

**value:** 1  
The subtask is ready, i.e. it is ready for execution.

### RUNNING

**value:** 2  
The subtask is running, i.e. it is assigned to a worker for execution.

### SUCCEEDED

**value:** 3  
The subtask finished successfully.

### FAILED

**value:** 4  
The subtask finished unsuccessfully.

### PAUSED

**value:** 5  
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.

### PENDING_DEPENDENCY

**value:** 6  
The subtask is pending a dependency. It will be scheduled once its
dependencies are done.