Class: Google::Apis::AdminDirectoryV1::BatchDeletePrintServersResponse

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) ⇒ BatchDeletePrintServersResponse

Returns a new instance of BatchDeletePrintServersResponse.



435
436
437
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 435

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

Instance Attribute Details

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

A list of update failures. Corresponds to the JSON property failedPrintServers



428
429
430
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 428

def failed_print_servers
  @failed_print_servers
end

A list of print server IDs that were successfully deleted. Corresponds to the JSON property printServerIds

Returns:

  • (Array<String>)


433
434
435
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 433

def print_server_ids
  @print_server_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



440
441
442
443
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 440

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