Class: Google::Apis::AdminDirectoryV1::BatchDeletePrintersResponse

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

Response for deleting existing printers in batch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchDeletePrintersResponse

Returns a new instance of BatchDeletePrintersResponse.



479
480
481
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 479

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

Instance Attribute Details

#failed_printersArray<Google::Apis::AdminDirectoryV1::FailureInfo>

A list of update failures. Corresponds to the JSON property failedPrinters



472
473
474
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 472

def failed_printers
  @failed_printers
end

#printer_idsArray<String>

A list of Printer.id that were successfully deleted. Corresponds to the JSON property printerIds

Returns:

  • (Array<String>)


477
478
479
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 477

def printer_ids
  @printer_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



484
485
486
487
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 484

def update!(**args)
  @failed_printers = args[:failed_printers] if args.key?(:failed_printers)
  @printer_ids = args[:printer_ids] if args.key?(:printer_ids)
end