class Google::Apis::AndroidmanagementV1::UserFacingMessage

Provides a user-facing message with locale info. The maximum message length is 4096 characters.

Attributes

default_message[RW]

The default message displayed if no localized message is specified or the user' s locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. Corresponds to the JSON property `defaultMessage` @return [String]

localized_messages[RW]

A map containing pairs, where locale is a well-formed BCP 47 language (https:// www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. Corresponds to the JSON property `localizedMessages` @return [Hash<String,String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 3894
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 3899
def update!(**args)
  @default_message = args[:default_message] if args.key?(:default_message)
  @localized_messages = args[:localized_messages] if args.key?(:localized_messages)
end