Class: Google::Apis::AdminDirectoryV1::BatchDeletePrintersRequest
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::BatchDeletePrintersRequest
- 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
-
#printer_ids ⇒ Array<String>
A list of Printer.id that should be deleted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchDeletePrintersRequest
constructor
A new instance of BatchDeletePrintersRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_ids ⇒ Array<String>
A list of Printer.id that should be deleted. Max 100 at a time.
Corresponds to the JSON property printerIds
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 |