Class: Google::Apis::AdminDirectoryV1::BatchCreatePrintServersRequest
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::BatchCreatePrintServersRequest
- 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 to add multiple new print servers in a batch.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchCreatePrintServersRequest
constructor
A new instance of BatchCreatePrintServersRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchCreatePrintServersRequest
Returns a new instance of BatchCreatePrintServersRequest.
321 322 323 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 321 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::AdminDirectoryV1::CreatePrintServerRequest>
Required. A list of PrintServer
resources to be created (max 50
per batch).
Corresponds to the JSON property requests
319 320 321 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 319 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
326 327 328 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 326 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |