Class: Google::Cloud::Shell::V1::CloudShellErrorDetails

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/shell/v1/cloudshell.rb

Overview

Cloud-shell specific information that will be included as details in failure responses.

Defined Under Namespace

Modules: CloudShellErrorCode

Instance Attribute Summary collapse

Instance Attribute Details

#code::Google::Cloud::Shell::V1::CloudShellErrorDetails::CloudShellErrorCode



298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
# File 'proto_docs/google/cloud/shell/v1/cloudshell.rb', line 298

class CloudShellErrorDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Set of possible errors returned from API calls.
  module CloudShellErrorCode
    # An unknown error occurred.
    CLOUD_SHELL_ERROR_CODE_UNSPECIFIED = 0

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

    # Cloud Shell has been disabled by an administrator for the user making the
    # request.
    CLOUD_SHELL_DISABLED = 2

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

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

    # The Cloud Shell environment is unavailable and cannot be connected to at
    # the moment.
    ENVIRONMENT_UNAVAILABLE = 6
  end
end