# Cloud Shell v1 API - Enum CloudShellErrorDetails.Types.CloudShellErrorCode (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.CloudShellErrorDetails.Types.CloudShellErrorCode)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.5.0/Google.Cloud.Shell.V1.CloudShellErrorDetails.Types.CloudShellErrorCode)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.4.0/Google.Cloud.Shell.V1.CloudShellErrorDetails.Types.CloudShellErrorCode)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.3.0/Google.Cloud.Shell.V1.CloudShellErrorDetails.Types.CloudShellErrorCode)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.2.0/Google.Cloud.Shell.V1.CloudShellErrorDetails.Types.CloudShellErrorCode)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.1.0/Google.Cloud.Shell.V1.CloudShellErrorDetails.Types.CloudShellErrorCode)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/2.0.0/Google.Cloud.Shell.V1.CloudShellErrorDetails.Types.CloudShellErrorCode)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/1.1.0/Google.Cloud.Shell.V1.CloudShellErrorDetails.Types.CloudShellErrorCode)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/1.0.0/Google.Cloud.Shell.V1.CloudShellErrorDetails.Types.CloudShellErrorCode)

    public enum CloudShellErrorDetails.Types.CloudShellErrorCode

Reference documentation and code samples for the Cloud Shell v1 API enum CloudShellErrorDetails.Types.CloudShellErrorCode.

Set of possible errors returned from API calls.

## 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** |
| `CloudShellDisabled` | Cloud Shell has been disabled by an administrator for the user making the request. |
| `EnvironmentUnavailable` | The Cloud Shell environment is unavailable and cannot be connected to at the moment. |
| `ImageUnavailable` | The image used by the Cloud Shell environment either does not exist or the user does not have access to it. |
| `QuotaExceeded` | The user has exhausted their weekly Cloud Shell quota, and Cloud Shell will be disabled until the quota resets. |
| `TosViolation` | Cloud Shell has been permanently disabled due to a Terms of Service violation by the user. |
| `Unspecified` | An unknown error occurred. |