locationType property
The type of a location, which corresponds to the address lines field of PostalAddress.
For example, "Downtown, Atlanta, GA, USA" has a type of LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType#LOCALITY. Possible string values are:
- "LOCATION_TYPE_UNSPECIFIED" : Default value if the type is not specified.
- "COUNTRY" : A country level location.
- "ADMINISTRATIVE_AREA" : A state or equivalent level location.
- "SUB_ADMINISTRATIVE_AREA" : A county or equivalent level location.
- "LOCALITY" : A city or equivalent level location.
- "POSTAL_CODE" : A postal code level location.
- "SUB_LOCALITY" : A sublocality is a subdivision of a locality, for example a city borough, ward, or arrondissement. Sublocalities are usually recognized by a local political authority. For example, Manhattan and Brooklyn are recognized as boroughs by the City of New York, and are therefore modeled as sublocalities.
- "SUB_LOCALITY_1" : A district or equivalent level location.
- "SUB_LOCALITY_2" : A smaller district or equivalent level display.
- "NEIGHBORHOOD" : A neighborhood level location.
- "STREET_ADDRESS" : A street address level location.
Implementation
core.String? locationType;