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.
281 282 283 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 281 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
279 280 281 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 279 def printer_ids @printer_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
286 287 288 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 286 def update!(**args) @printer_ids = args[:printer_ids] if args.key?(:printer_ids) end |