# Google Cloud Shell V1 Client - Class State (2.2.0)

2.2.0 (latest) 2.1.2 2.0.5 1.3.5 1.2.2 1.1.1 1.0.4 Reference documentation and code samples for the Google Cloud Shell V1 Client class State.

Possible execution states for an environment.

Protobuf type `google.cloud.shell.v1.Environment.State`

## Namespace

Google \\ Cloud \\ Shell \\ V1 \\ Environment

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

The environment's states is unknown.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### SUSPENDED

    Value: 1

The environment is not running and can't be connected to. Starting the
environment will transition it to the PENDING state.

Generated from protobuf enum `SUSPENDED = 1;`

### PENDING

    Value: 2

The environment is being started but is not yet ready to accept
connections.

Generated from protobuf enum `PENDING = 2;`

### RUNNING

    Value: 3

The environment is running and ready to accept connections. It will
automatically transition back to DISABLED after a period of inactivity or
if another environment is started.

Generated from protobuf enum `RUNNING = 3;`

### DELETING

    Value: 4

The environment is being deleted and can't be connected to.

Generated from protobuf enum `DELETING = 4;`