Class: Google::Apis::AdminDirectoryV1::BatchCreatePrintServersResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::BatchCreatePrintServersResponse
- 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
-
#failures ⇒ Array<Google::Apis::AdminDirectoryV1::PrintServerFailureInfo>
A list of create failures.
-
#print_servers ⇒ Array<Google::Apis::AdminDirectoryV1::PrintServer>
A list of successfully created print servers with their IDs populated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchCreatePrintServersResponse
constructor
A new instance of BatchCreatePrintServersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#failures ⇒ Array<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 |
#print_servers ⇒ Array<Google::Apis::AdminDirectoryV1::PrintServer>
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 |