Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleMapsPlacesV1PlaceAddressComponent

import type { GoogleMapsPlacesV1PlaceAddressComponent } from "https://googleapis.deno.dev/v1/places:v1.ts";

The structured components that form the formatted address, if this information is available.

interface GoogleMapsPlacesV1PlaceAddressComponent {
languageCode?: string;
longText?: string;
shortText?: string;
types?: string[];
}

§Properties

§
languageCode?: string
[src]

The language used to format this components, in CLDR notation.

§
longText?: string
[src]

The full text description or name of the address component. For example, an address component for the country Australia may have a long_name of "Australia".

§
shortText?: string
[src]

An abbreviated textual name for the address component, if available. For example, an address component for the country of Australia may have a short_name of "AU".

§
types?: string[]
[src]

An array indicating the type(s) of the address component.