Enum CloudShellErrorDetails.CloudShellErrorCode (2.44.0)

publicenumCloudShellErrorDetails.CloudShellErrorCodeextendsEnum<CloudShellErrorDetails.CloudShellErrorCode>implementsProtocolMessageEnum

Set of possible errors returned from API calls.

Protobuf enum google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode

Implements

ProtocolMessageEnum

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年11月19日 UTC.