Class: Google::Apis::AdminDirectoryV1::AuxiliaryMessage
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::AuxiliaryMessage
- 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
Auxiliary message about issues with printers or settings. Example:
message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:"
Given printer is invalid or no longer supported."
Instance Attribute Summary collapse
-
#auxiliary_message ⇒ String
Human readable message in English.
-
#field_mask ⇒ String
Field that this message concerns.
-
#severity ⇒ String
Message severity Corresponds to the JSON property
severity
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuxiliaryMessage
constructor
A new instance of AuxiliaryMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuxiliaryMessage
Returns a new instance of AuxiliaryMessage.
215 216 217 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auxiliary_message ⇒ String
Human readable message in English. Example: "Given printer is invalid or no
longer supported."
Corresponds to the JSON property auxiliaryMessage
203 204 205 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 203 def @auxiliary_message end |
#field_mask ⇒ String
Field that this message concerns.
Corresponds to the JSON property fieldMask
208 209 210 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 208 def field_mask @field_mask end |
#severity ⇒ String
Message severity
Corresponds to the JSON property severity
213 214 215 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 213 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
220 221 222 223 224 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 220 def update!(**args) @auxiliary_message = args[:auxiliary_message] if args.key?(:auxiliary_message) @field_mask = args[:field_mask] if args.key?(:field_mask) @severity = args[:severity] if args.key?(:severity) end |