Class: Google::Apis::AdminDirectoryV1::BatchDeletePrintersResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::BatchDeletePrintersResponse
- 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
-
#failed_printers ⇒ Array<Google::Apis::AdminDirectoryV1::FailureInfo>
A list of update failures.
-
#printer_ids ⇒ Array<String>
A list of Printer.id that were successfully deleted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchDeletePrintersResponse
constructor
A new instance of BatchDeletePrintersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_printers ⇒ Array<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_ids ⇒ Array<String>
A list of Printer.id that were successfully deleted.
Corresponds to the JSON property printerIds
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 |