class Google::Apis::AndroidenterpriseV1::LocalizedText
A localized string with its locale.
Attributes
locale[RW]
The BCP47 tag for a locale. (e.g. “en-US”, “de”). Corresponds to the JSON property `locale` @return [String]
text[RW]
The text localized in the associated locale. Corresponds to the JSON property `text` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/androidenterprise_v1/classes.rb, line 1285 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/androidenterprise_v1/classes.rb, line 1290 def update!(**args) @locale = args[:locale] if args.key?(:locale) @text = args[:text] if args.key?(:text) end