Class: Google::Apis::AdminDirectoryV1::FailureInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::FailureInfo
- 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.
-
#printer ⇒ Google::Apis::AdminDirectoryV1::Printer
Printer configuration.
-
#printer_id ⇒ String
Id of a failed printer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FailureInfo
constructor
A new instance of FailureInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FailureInfo
Returns a new instance of FailureInfo.
2190 2191 2192 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2190 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
2173 2174 2175 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2173 def error_code @error_code end |
#error_message ⇒ String
Failure reason message.
Corresponds to the JSON property errorMessage
2178 2179 2180 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2178 def @error_message end |
#printer ⇒ Google::Apis::AdminDirectoryV1::Printer
Printer configuration.
Corresponds to the JSON property printer
2183 2184 2185 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2183 def printer @printer end |
#printer_id ⇒ String
Id of a failed printer.
Corresponds to the JSON property printerId
2188 2189 2190 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2188 def printer_id @printer_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2195 2196 2197 2198 2199 2200 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2195 def update!(**args) @error_code = args[:error_code] if args.key?(:error_code) @error_message = args[:error_message] if args.key?(:error_message) @printer = args[:printer] if args.key?(:printer) @printer_id = args[:printer_id] if args.key?(:printer_id) end |