Google Cloud Shell V1 Client - Class CloudShellErrorCode (1.3.5)

Reference documentation and code samples for the Google Cloud Shell V1 Client class CloudShellErrorCode.

Set of possible errors returned from API calls.

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

Namespace

Google \ Cloud \ Shell \ V1 \ CloudShellErrorDetails

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

CLOUD_SHELL_ERROR_CODE_UNSPECIFIED

Value: 0

An unknown error occurred.

Generated from protobuf enum CLOUD_SHELL_ERROR_CODE_UNSPECIFIED = 0;

IMAGE_UNAVAILABLE

Value: 1

The image used by the Cloud Shell environment either does not exist or the user does not have access to it.

Generated from protobuf enum IMAGE_UNAVAILABLE = 1;

CLOUD_SHELL_DISABLED

Value: 2

Cloud Shell has been disabled by an administrator for the user making the request.

Generated from protobuf enum CLOUD_SHELL_DISABLED = 2;

TOS_VIOLATION

Value: 4

Cloud Shell has been permanently disabled due to a Terms of Service violation by the user.

Generated from protobuf enum TOS_VIOLATION = 4;

QUOTA_EXCEEDED

Value: 5

The user has exhausted their weekly Cloud Shell quota, and Cloud Shell will be disabled until the quota resets.

Generated from protobuf enum QUOTA_EXCEEDED = 5;

ENVIRONMENT_UNAVAILABLE

Value: 6

The Cloud Shell environment is unavailable and cannot be connected to at the moment.

Generated from protobuf enum ENVIRONMENT_UNAVAILABLE = 6;