Either a Google Place ID or the hash of an IP Address, both representing a unique identifier for the location
The highest level of sub-national division.
This differs based on the country. For a federation like the United States it would be a state (like "California"), in a union of countries, like the United Kingdom, it might be a country (like "England").
The second-highest level of sub-national division.
This differs based on the country. In the United States or United Kingdom, this would be a county (like "Richmond County" or "Hampshire", for the US and UK, respectively).
For small sovereign states, this might not exist (like "Singapore").
The two digit ISO 3166-1 alpha-2 country code matching the location
Either a Google Place ID or the hash of an IP Address, both representing a unique identifier for the location
Either the locality (like "New York City") or sublocality (like "Brooklyn") of the result, prefers the broadest option ("New York City" over "Brooklyn").
Generated using TypeDoc
Base object containing fields used in both the location queries and results.