GoogleMapsAddressvalidationV1AddressComponent
import type { GoogleMapsAddressvalidationV1AddressComponent } from "https://googleapis.deno.dev/v1/addressvalidation:v1.ts";
Represents an address component, such as a street, city, or state.
§Properties
The name for this component.
The type of the address component. See Table 2: Additional types returned by the Places service for a list of possible types.
Indicates the level of certainty that we have that the component is correct.
Indicates that the component was not part of the input, but we inferred it for the address location and believe it should be provided for a complete address.
Indicates the name of the component was replaced with a completely different one, for example a wrong postal code being replaced with one that is correct for the address. This is not a cosmetic change, the input component has been changed to a different one.
Indicates a correction to a misspelling in the component name. The API does not always flag changes from one spelling variant to another, such as when changing "centre" to "center". It also does not always flag common misspellings, such as when changing "Amphitheater Pkwy" to "Amphitheatre Pkwy".