Class: Google::Apis::AdminDirectoryV1::BatchCreatePrintServersResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchCreatePrintServersResponse

Returns a new instance of BatchCreatePrintServersResponse.



346
347
348
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 346

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#failuresArray<Google::Apis::AdminDirectoryV1::PrintServerFailureInfo>

A list of create failures. PrintServer IDs are not populated, as print servers were not created. Corresponds to the JSON property failures



339
340
341
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 339

def failures
  @failures
end

A list of successfully created print servers with their IDs populated. Corresponds to the JSON property printServers



344
345
346
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 344

def print_servers
  @print_servers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



351
352
353
354
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 351

def update!(**args)
  @failures = args[:failures] if args.key?(:failures)
  @print_servers = args[:print_servers] if args.key?(:print_servers)
end