Interface: AddressValidationResult
Properties
address?
optionaladdress?:object
administrativeArea?
optionaladministrativeArea?:string
The state/province etc.
formattedAddress?
optionalformattedAddress?:string
The full address, formatted in the standard format for the area.
locality?
optionallocality?:string
Suburb/city
postalCode?
optionalpostalCode?:string
regionCode?
optionalregionCode?:string
Country code; AU, US, UK, etc.
sublocality?
optionalsublocality?:string
addressComplete?
optionaladdressComplete?:boolean
Whether the resulting address is considered complete. An address is considered complete if no components were unexpected or missing.
components?
optionalcomponents?:AddressComponent[]
The individual components of the address, and their associated validation information.
missingComponentTypes
missingComponentTypes:
string[]
Component types that were expected to be on the address, but were not present and could not be inferred by the validator. See https://developers.google.com/maps/documentation/places/web-service/legacy/supported_types#table2 for a list of possible types.