# Cloud Shell v1 API - Enum Environment.Types.State (2.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/latest/Google.Cloud.Shell.V1.Environment.Types.State)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.5.0/Google.Cloud.Shell.V1.Environment.Types.State)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.4.0/Google.Cloud.Shell.V1.Environment.Types.State)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.3.0/Google.Cloud.Shell.V1.Environment.Types.State)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.2.0/Google.Cloud.Shell.V1.Environment.Types.State)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.1.0/Google.Cloud.Shell.V1.Environment.Types.State)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.0.0/Google.Cloud.Shell.V1.Environment.Types.State)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/1.1.0/Google.Cloud.Shell.V1.Environment.Types.State)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/1.0.0/Google.Cloud.Shell.V1.Environment.Types.State)

    public enum Environment.Types.State

Reference documentation and code samples for the Cloud Shell v1 API enum Environment.Types.State.

Possible execution states for an environment.

## Namespace

[Google.Cloud.Shell.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/latest/Google.Cloud.Shell.V1)

## Assembly

Google.Cloud.Shell.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Deleting` | The environment is being deleted and can't be connected to. |
| `Pending` | The environment is being started but is not yet ready to accept connections. |
| `Running` | 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. |
| `Suspended` | The environment is not running and can't be connected to. Starting the environment will transition it to the PENDING state. |
| `Unspecified` | The environment's states is unknown. |