Class: Google::Apis::AdminDirectoryV1::AuxiliaryMessage

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

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

Instance Method Summary collapse

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_messageString

Human readable message in English. Example: "Given printer is invalid or no longer supported." Corresponds to the JSON property auxiliaryMessage

Returns:

  • (String)


203
204
205
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 203

def auxiliary_message
  @auxiliary_message
end

#field_maskString

Field that this message concerns. Corresponds to the JSON property fieldMask

Returns:

  • (String)


208
209
210
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 208

def field_mask
  @field_mask
end

#severityString

Message severity Corresponds to the JSON property severity

Returns:

  • (String)


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