Class: Google::Apis::AdminDirectoryV1::BatchDeletePrintersRequest

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

Request for deleting existing printers in batch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchDeletePrintersRequest

Returns a new instance of BatchDeletePrintersRequest.



455
456
457
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 455

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

Instance Attribute Details

#printer_idsArray<String>

A list of Printer.id that should be deleted. Max 100 at a time. Corresponds to the JSON property printerIds

Returns:

  • (Array<String>)


453
454
455
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 453

def printer_ids
  @printer_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



460
461
462
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 460

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