Class: Google::Apis::AdminDirectoryV1::PrintServerFailureInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::PrintServerFailureInfo
- 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
Info about failures
Instance Attribute Summary collapse
-
#error_code ⇒ String
Canonical code for why the update failed to apply.
-
#error_message ⇒ String
Failure reason message.
-
#print_server ⇒ Google::Apis::AdminDirectoryV1::PrintServer
Configuration for a print server.
-
#print_server_id ⇒ String
ID of a failed print server.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrintServerFailureInfo
constructor
A new instance of PrintServerFailureInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrintServerFailureInfo
Returns a new instance of PrintServerFailureInfo.
3603 3604 3605 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3603 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_code ⇒ String
Canonical code for why the update failed to apply.
Corresponds to the JSON property errorCode
3586 3587 3588 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3586 def error_code @error_code end |
#error_message ⇒ String
Failure reason message.
Corresponds to the JSON property errorMessage
3591 3592 3593 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3591 def @error_message end |
#print_server ⇒ Google::Apis::AdminDirectoryV1::PrintServer
Configuration for a print server.
Corresponds to the JSON property printServer
3596 3597 3598 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3596 def print_server @print_server end |
#print_server_id ⇒ String
ID of a failed print server.
Corresponds to the JSON property printServerId
3601 3602 3603 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3601 def print_server_id @print_server_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3608 3609 3610 3611 3612 3613 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3608 def update!(**args) @error_code = args[:error_code] if args.key?(:error_code) @error_message = args[:error_message] if args.key?(:error_message) @print_server = args[:print_server] if args.key?(:print_server) @print_server_id = args[:print_server_id] if args.key?(:print_server_id) end |