Enum CloudShellErrorDetails.CloudShellErrorCode (2.71.0)
Stay organized with collections
Save and categorize content based on your preferences.
public enum CloudShellErrorDetails.CloudShellErrorCode extends Enum<CloudShellErrorDetails.CloudShellErrorCode> implements ProtocolMessageEnum
Set of possible errors returned from API calls.
Protobuf enum google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode
Static Fields
|
Name |
Description |
CLOUD_SHELL_DISABLED |
Cloud Shell has been disabled by an administrator for the user making the
request.
CLOUD_SHELL_DISABLED = 2;
|
CLOUD_SHELL_DISABLED_VALUE |
Cloud Shell has been disabled by an administrator for the user making the
request.
CLOUD_SHELL_DISABLED = 2;
|
CLOUD_SHELL_ERROR_CODE_UNSPECIFIED |
An unknown error occurred.
CLOUD_SHELL_ERROR_CODE_UNSPECIFIED = 0;
|
CLOUD_SHELL_ERROR_CODE_UNSPECIFIED_VALUE |
An unknown error occurred.
CLOUD_SHELL_ERROR_CODE_UNSPECIFIED = 0;
|
ENVIRONMENT_UNAVAILABLE |
The Cloud Shell environment is unavailable and cannot be connected to at
the moment.
ENVIRONMENT_UNAVAILABLE = 6;
|
ENVIRONMENT_UNAVAILABLE_VALUE |
The Cloud Shell environment is unavailable and cannot be connected to at
the moment.
ENVIRONMENT_UNAVAILABLE = 6;
|
IMAGE_UNAVAILABLE |
The image used by the Cloud Shell environment either does not exist or
the user does not have access to it.
IMAGE_UNAVAILABLE = 1;
|
IMAGE_UNAVAILABLE_VALUE |
The image used by the Cloud Shell environment either does not exist or
the user does not have access to it.
IMAGE_UNAVAILABLE = 1;
|
QUOTA_EXCEEDED |
The user has exhausted their weekly Cloud Shell quota, and Cloud Shell
will be disabled until the quota resets.
QUOTA_EXCEEDED = 5;
|
QUOTA_EXCEEDED_VALUE |
The user has exhausted their weekly Cloud Shell quota, and Cloud Shell
will be disabled until the quota resets.
QUOTA_EXCEEDED = 5;
|
TOS_VIOLATION |
Cloud Shell has been permanently disabled due to a Terms of Service
violation by the user.
TOS_VIOLATION = 4;
|
TOS_VIOLATION_VALUE |
Cloud Shell has been permanently disabled due to a Terms of Service
violation by the user.
TOS_VIOLATION = 4;
|
UNRECOGNIZED |
|
Static Methods
|
Name |
Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead.
|
valueOf(String name) |
|
values() |
|
Methods
|
Name |
Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Enum CloudShellErrorDetails.CloudShellErrorCode (2.71.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.71.0 (latest)](/java/docs/reference/google-cloud-shell/latest/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.69.0](/java/docs/reference/google-cloud-shell/2.69.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.67.0](/java/docs/reference/google-cloud-shell/2.67.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.66.0](/java/docs/reference/google-cloud-shell/2.66.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.63.0](/java/docs/reference/google-cloud-shell/2.63.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.62.0](/java/docs/reference/google-cloud-shell/2.62.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.61.0](/java/docs/reference/google-cloud-shell/2.61.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.59.0](/java/docs/reference/google-cloud-shell/2.59.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.58.0](/java/docs/reference/google-cloud-shell/2.58.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.57.0](/java/docs/reference/google-cloud-shell/2.57.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.56.0](/java/docs/reference/google-cloud-shell/2.56.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.55.0](/java/docs/reference/google-cloud-shell/2.55.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.54.0](/java/docs/reference/google-cloud-shell/2.54.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.53.0](/java/docs/reference/google-cloud-shell/2.53.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.52.0](/java/docs/reference/google-cloud-shell/2.52.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.51.0](/java/docs/reference/google-cloud-shell/2.51.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.50.0](/java/docs/reference/google-cloud-shell/2.50.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.48.0](/java/docs/reference/google-cloud-shell/2.48.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.47.0](/java/docs/reference/google-cloud-shell/2.47.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.46.0](/java/docs/reference/google-cloud-shell/2.46.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.45.0](/java/docs/reference/google-cloud-shell/2.45.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.44.0](/java/docs/reference/google-cloud-shell/2.44.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.43.0](/java/docs/reference/google-cloud-shell/2.43.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.42.0](/java/docs/reference/google-cloud-shell/2.42.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.41.0](/java/docs/reference/google-cloud-shell/2.41.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.40.0](/java/docs/reference/google-cloud-shell/2.40.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.39.0](/java/docs/reference/google-cloud-shell/2.39.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.38.0](/java/docs/reference/google-cloud-shell/2.38.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.36.0](/java/docs/reference/google-cloud-shell/2.36.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.35.0](/java/docs/reference/google-cloud-shell/2.35.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.34.0](/java/docs/reference/google-cloud-shell/2.34.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.33.0](/java/docs/reference/google-cloud-shell/2.33.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.32.0](/java/docs/reference/google-cloud-shell/2.32.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.31.0](/java/docs/reference/google-cloud-shell/2.31.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.30.0](/java/docs/reference/google-cloud-shell/2.30.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.29.0](/java/docs/reference/google-cloud-shell/2.29.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.28.0](/java/docs/reference/google-cloud-shell/2.28.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.27.0](/java/docs/reference/google-cloud-shell/2.27.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.26.0](/java/docs/reference/google-cloud-shell/2.26.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.23.0](/java/docs/reference/google-cloud-shell/2.23.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.22.0](/java/docs/reference/google-cloud-shell/2.22.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.21.0](/java/docs/reference/google-cloud-shell/2.21.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.20.0](/java/docs/reference/google-cloud-shell/2.20.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.19.0](/java/docs/reference/google-cloud-shell/2.19.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.18.0](/java/docs/reference/google-cloud-shell/2.18.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.17.0](/java/docs/reference/google-cloud-shell/2.17.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.16.0](/java/docs/reference/google-cloud-shell/2.16.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.15.0](/java/docs/reference/google-cloud-shell/2.15.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.14.0](/java/docs/reference/google-cloud-shell/2.14.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.13.0](/java/docs/reference/google-cloud-shell/2.13.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.12.0](/java/docs/reference/google-cloud-shell/2.12.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.11.0](/java/docs/reference/google-cloud-shell/2.11.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.10.0](/java/docs/reference/google-cloud-shell/2.10.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.8.0](/java/docs/reference/google-cloud-shell/2.8.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.7.0](/java/docs/reference/google-cloud-shell/2.7.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.6.0](/java/docs/reference/google-cloud-shell/2.6.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.5.0](/java/docs/reference/google-cloud-shell/2.5.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.4.0](/java/docs/reference/google-cloud-shell/2.4.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.3.0](/java/docs/reference/google-cloud-shell/2.3.0/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode)\n- [2.1.11](/java/docs/reference/google-cloud-shell/2.1.11/com.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode) \n\n public enum CloudShellErrorDetails.CloudShellErrorCode extends Enum\u003cCloudShellErrorDetails.CloudShellErrorCode\u003e implements ProtocolMessageEnum\n\nSet of possible errors returned from API calls.\n\nProtobuf enum `google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode` \n\nImplements\n----------\n\n[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html) \n\nInherited Members\n-----------------\n\n[Enum.\\\u003cT\\\u003evalueOf(Class\\\u003cT\\\u003e,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) \n[Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) \n[Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) \n[Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) \n[Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) \n[Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) \n[Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) \n[Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) \n[Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) \n[Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)"]]