Class: Google::Apis::AdminDirectoryV1::PrintServerFailureInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb

Overview

Info about failures

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrintServerFailureInfo

Returns a new instance of PrintServerFailureInfo.



3351
3352
3353
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3351

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#error_codeString

Canonical code for why the update failed to apply. Corresponds to the JSON property errorCode

Returns:

  • (String)


3334
3335
3336
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3334

def error_code
  @error_code
end

#error_messageString

Failure reason message. Corresponds to the JSON property errorMessage

Returns:

  • (String)


3339
3340
3341
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3339

def error_message
  @error_message
end

Configuration for a print server. Corresponds to the JSON property printServer



3344
3345
3346
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3344

def print_server
  @print_server
end

ID of a failed print server. Corresponds to the JSON property printServerId

Returns:

  • (String)


3349
3350
3351
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3349

def print_server_id
  @print_server_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3356
3357
3358
3359
3360
3361
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3356

def update!(**args)
  @error_code = args[:error_code] if args.key?(:error_code)
  @error_message = args[:error_message] if args.key?(:error_message)
  @print_server = args[:print_server] if args.key?(:print_server)
  @print_server_id = args[:print_server_id] if args.key?(:print_server_id)
end