# Google Cloud Vm Migration V1 Client - Class State (1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.5 0.6.5 0.5.2 0.4.2 0.3.2 0.2.3 Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class State.

The possible values of the state/health of DiskMigrationJob.

Protobuf type `google.cloud.vmmigration.v1.DiskMigrationJob.State`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1 \\ DiskMigrationJob

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

The state is unspecified. This is not in use.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### READY

    Value: 1

The initial state of the disk migration.

In this state the customers can update the target details.

Generated from protobuf enum `READY = 1;`

### RUNNING

    Value: 3

The migration is active, and it's running or scheduled to run.

Generated from protobuf enum `RUNNING = 3;`

### SUCCEEDED

    Value: 4

The migration completed successfully.

Generated from protobuf enum `SUCCEEDED = 4;`

### CANCELLING

    Value: 5

Migration cancellation was initiated.

Generated from protobuf enum `CANCELLING = 5;`

### CANCELLED

    Value: 6

The migration was cancelled.

Generated from protobuf enum `CANCELLED = 6;`

### FAILED

    Value: 7

The migration process encountered an unrecoverable error and was aborted.

Generated from protobuf enum `FAILED = 7;`