Address

Encapsulates the address of a playable location.

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

string

The language code, in BCP-47 format. It indicates the language that the address is written in.

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

For more information, see Unicode Locale Identifier.

flags[]

enum(LanguageFlag)

A collection of flags that specifies additional details about the language of the address, such as whether it's in a language local to the region.

formatted[]

object(FormattedAddress)

The formatted addresses defined for this language code.

FormattedAddress

Encapsulates the address of a playable location, in a particular format.

JSON representation
{
  "format": enum(FormatType),
  "lines": [
    string
  ]
}
Fields
format

enum(FormatType)

The format of the address, specified as one of the FormatType enumeration values.

lines[]

string

The address text, on multiple lines.

Send feedback about...

Google Maps Platform gaming solution
Google Maps Platform gaming solution