Reference documentation and code samples for the Google API Common Protos Client class LocalizedText.
Localized variant of a text in a particular language.
Generated from protobuf message google.type.LocalizedText
Namespace
Google \ TypeMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ text
string
Localized string in the language corresponding to `language_code' below.
↳ language_code
string
The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier .
getText
Localized string in the language corresponding to `language_code' below.
string
setText
Localized string in the language corresponding to `language_code' below.
var
string
$this
getLanguageCode
The text's BCP-47 language code, such as "en-US" or "sr-Latn".
For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier .
string
setLanguageCode
The text's BCP-47 language code, such as "en-US" or "sr-Latn".
For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier .
var
string
$this