DisplayName

Encapsulates the name of a playable location.

JSON representation
{
  "languageCode": string,
  "flags": [
    enum(LanguageFlag)
  ],
  "text": string
}
Fields
languageCode

string

The language code, in BCP-47 format. It indicates the language of the free-form name provided in text.

For example, "en", "en-US", and "ja-Latn".

For more information, see Unicode Locale Identifier.

flags[]

enum(LanguageFlag)

A collection of flags that indicate additional details about the language of the playable location name, such as whether it's in a language local to the region.

text

string

The display name.

Send feedback about...

Google Maps Platform gaming solution
Google Maps Platform gaming solution