Class: Google::Apis::AdminDirectoryV1::BatchCreatePrintServersRequest

Inherits:
Object
  • Object
show all
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

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

#requestsArray<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