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

Location

import type { Location } from "https://googleapis.deno.dev/v1/jobs:v4.ts";

A resource that represents a location with full geographic information.

interface Location {
latLng?: LatLng;
locationType?:
| "LOCATION_TYPE_UNSPECIFIED"
| "COUNTRY"
| "ADMINISTRATIVE_AREA"
| "SUB_ADMINISTRATIVE_AREA"
| "LOCALITY"
| "POSTAL_CODE"
| "SUB_LOCALITY"
| "SUB_LOCALITY_1"
| "SUB_LOCALITY_2"
| "NEIGHBORHOOD"
| "STREET_ADDRESS";
postalAddress?: PostalAddress;
radiusMiles?: number;
}

§Properties

§
latLng?: LatLng
[src]

An object representing a latitude/longitude pair.

§
locationType?: "LOCATION_TYPE_UNSPECIFIED" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "SUB_ADMINISTRATIVE_AREA" | "LOCALITY" | "POSTAL_CODE" | "SUB_LOCALITY" | "SUB_LOCALITY_1" | "SUB_LOCALITY_2" | "NEIGHBORHOOD" | "STREET_ADDRESS"
[src]

The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType.LOCALITY.

§
postalAddress?: PostalAddress
[src]

Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.

§
radiusMiles?: number
[src]

Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from google.type.LatLng covers the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 6.17 miles.