# Google Cloud Dms V1 Client - Class State (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class State.

The current migration job states.

Protobuf type `google.cloud.clouddms.v1.MigrationJob.State`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1 \\ MigrationJob

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

The state of the migration job is unknown.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### MAINTENANCE

    Value: 1

The migration job is down for maintenance.

Generated from protobuf enum `MAINTENANCE = 1;`

### DRAFT

    Value: 2

The migration job is in draft mode and no resources are created.

Generated from protobuf enum `DRAFT = 2;`

### CREATING

    Value: 3

The migration job is being created.

Generated from protobuf enum `CREATING = 3;`

### NOT_STARTED

    Value: 4

The migration job is created and not started.

Generated from protobuf enum `NOT_STARTED = 4;`

### RUNNING

    Value: 5

The migration job is running.

Generated from protobuf enum `RUNNING = 5;`

### FAILED

    Value: 6

The migration job failed.

Generated from protobuf enum `FAILED = 6;`

### COMPLETED

    Value: 7

The migration job has been completed.

Generated from protobuf enum `COMPLETED = 7;`

### DELETING

    Value: 8

The migration job is being deleted.

Generated from protobuf enum `DELETING = 8;`

### STOPPING

    Value: 9

The migration job is being stopped.

Generated from protobuf enum `STOPPING = 9;`

### STOPPED

    Value: 10

The migration job is currently stopped.

Generated from protobuf enum `STOPPED = 10;`

### DELETED

    Value: 11

The migration job has been deleted.

Generated from protobuf enum `DELETED = 11;`

### UPDATING

    Value: 12

The migration job is being updated.

Generated from protobuf enum `UPDATING = 12;`

### STARTING

    Value: 13

The migration job is starting.

Generated from protobuf enum `STARTING = 13;`

### RESTARTING

    Value: 14

The migration job is restarting.

Generated from protobuf enum `RESTARTING = 14;`

### RESUMING

    Value: 15

The migration job is resuming.

Generated from protobuf enum `RESUMING = 15;`