class Google::Apis::PaymentsresellersubscriptionV1::GoogleTypeLocalizedText
Localized variant of a text in a particular language.
Attributes
language_code[RW]
The text's BCP-47 language code, such as “en-US” or “sr-Latn”. For more information, see www.unicode.org/reports/tr35/# Unicode_locale_identifier. Corresponds to the JSON property `languageCode` @return [String]
text[RW]
Localized string in the language corresponding to `language_code' below. Corresponds to the JSON property `text` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 608 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 613 def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) @text = args[:text] if args.key?(:text) end