Class: Google::Apis::AdminDirectoryV1::BatchCreatePrintersRequest
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::BatchCreatePrintersRequest
- 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 adding new printers in batch.
Instance Attribute Summary collapse
-
#requests ⇒ Array<Google::Apis::AdminDirectoryV1::CreatePrinterRequest>
A list of Printers to be created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchCreatePrintersRequest
constructor
A new instance of BatchCreatePrintersRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchCreatePrintersRequest
Returns a new instance of BatchCreatePrintersRequest.
236 237 238 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 236 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::AdminDirectoryV1::CreatePrinterRequest>
A list of Printers to be created. Max 50 at a time.
Corresponds to the JSON property requests
234 235 236 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 234 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
241 242 243 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 241 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |