Class: Google::Apis::AdminDirectoryV1::FailureInfo

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) ⇒ FailureInfo

Returns a new instance of FailureInfo.



2550
2551
2552
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2550

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)


2533
2534
2535
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2533

def error_code
  @error_code
end

#error_messageString

Failure reason message. Corresponds to the JSON property errorMessage

Returns:

  • (String)


2538
2539
2540
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2538

def error_message
  @error_message
end

#printerGoogle::Apis::AdminDirectoryV1::Printer

Printer configuration. Corresponds to the JSON property printer



2543
2544
2545
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2543

def printer
  @printer
end

#printer_idString

Id of a failed printer. Corresponds to the JSON property printerId

Returns:

  • (String)


2548
2549
2550
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2548

def printer_id
  @printer_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2555
2556
2557
2558
2559
2560
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2555

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