# Google Cloud Bare Metal Solution V2 Client - Class State (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.6.5 0.5.2 0.4.0 0.3.2 0.2.8 Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class State.

The possible states for this server.

Protobuf type `google.cloud.baremetalsolution.v2.Instance.State`

## Namespace

Google \\ Cloud \\ BareMetalSolution \\ V2 \\ Instance

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

The server is in an unknown state.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### PROVISIONING

    Value: 1

The server is being provisioned.

Generated from protobuf enum `PROVISIONING = 1;`

### RUNNING

    Value: 2

The server is running.

Generated from protobuf enum `RUNNING = 2;`

### DELETED

    Value: 3

The server has been deleted.

Generated from protobuf enum `DELETED = 3;`

### UPDATING

    Value: 4

The server is being updated.

Generated from protobuf enum `UPDATING = 4;`

### STARTING

    Value: 5

The server is starting.

Generated from protobuf enum `STARTING = 5;`

### STOPPING

    Value: 6

The server is stopping.

Generated from protobuf enum `STOPPING = 6;`

### SHUTDOWN

    Value: 7

The server is shutdown.

Generated from protobuf enum `SHUTDOWN = 7;`