# Google Cloud Migration Center V1 Client - Class PowerState (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class PowerState.

Machine power state.

Protobuf type `google.cloud.migrationcenter.v1.MachineDetails.PowerState`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1 \\ MachineDetails

## Methods

### static::name

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

### static::value

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

## Constants

### POWER_STATE_UNSPECIFIED

    Value: 0

Power state is unknown.

Generated from protobuf enum `POWER_STATE_UNSPECIFIED = 0;`

### PENDING

    Value: 1

The machine is preparing to enter the ACTIVE state. An instance may enter
the PENDING state when it launches for the first time, or when it is
started after being in the SUSPENDED state.

Generated from protobuf enum `PENDING = 1;`

### ACTIVE

    Value: 2

The machine is active.

Generated from protobuf enum `ACTIVE = 2;`

### SUSPENDING

    Value: 3

The machine is being turned off.

Generated from protobuf enum `SUSPENDING = 3;`

### SUSPENDED

    Value: 4

The machine is off.

Generated from protobuf enum `SUSPENDED = 4;`

### DELETING

    Value: 5

The machine is being deleted from the hosting platform.

Generated from protobuf enum `DELETING = 5;`

### DELETED

    Value: 6

The machine is deleted from the hosting platform.

Generated from protobuf enum `DELETED = 6;`