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

GoogleMapsPlacesV1PlaceSubDestination

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

Sub-destinations are specific places associated with a main place. These provide more specific destinations for users who are searching within a large or complex place, like an airport, national park, university, or stadium. For example, sub-destinations at an airport might include associated terminals and parking lots. Sub-destinations return the place ID and place resource name, which can be used in subsequent Place Details (New) requests to fetch richer details, including the sub-destination's display name and location.

interface GoogleMapsPlacesV1PlaceSubDestination {
id?: string;
name?: string;
}

§Properties

§
id?: string
[src]

The place id of the sub-destination.

§
name?: string
[src]

The resource name of the sub-destination.