Skip to main content

Interface: AddressComponent

Properties​

confirmationLevel?​

optional confirmationLevel?: AddressValidationResultConfirmationLevel

How strongly the validator believes the result to be correct.


inferred?​

optional inferred?: boolean

Whether this component was inferred by the validator, i.e. it was not present on the original input.


name​

name: string

The text value of the component.


replaced?​

optional replaced?: boolean

Whether this component had its original value completely replaced by the validator.


spellCorrected?​

optional spellCorrected?: boolean

Whether this component had spelling corrected by the validator.


type​

type: string

The type of component it is. See https://developers.google.com/maps/documentation/places/web-service/legacy/supported_types#table2 for a list of possible types.


unexpected?​

optional unexpected?: boolean

Whether the validator believes this component to be unexpected for the supplied address.