GoogleMapsPlacesV1Place
import type { GoogleMapsPlacesV1Place } from "https://googleapis.deno.dev/v1/places:v1.ts";
All the information representing a Place.
§Properties
Information about the accessibility options a place offers.
Repeated components for each locality level. Note the following facts about the address_components[] array: - The array of address components may contain more components than the formatted_address. - The array does not necessarily include all the political entities that contain an address, apart from those included in the formatted_address. To retrieve all the political entities that contain a specific address, you should use reverse geocoding, passing the latitude/longitude of the address as a parameter to the request. - The format of the response is not guaranteed to remain the same between requests. In particular, the number of address_components varies based on the address requested and can change over time for the same address. A component can change position in the array. The type of the component can change. A particular component may be missing in a later response.
The address descriptor of the place. Address descriptors include additional information that help describe a location using landmarks and areas. See address descriptor regional coverage in https://developers.google.com/maps/documentation/geocoding/address-descriptors/coverage.
The place's address in adr microformat: http://microformats.org/wiki/adr.
A set of data provider that must be shown with this result.
The business status for the place.
List of places in which the current place is located.
The hours of operation for the next seven days (including today). The time period starts at midnight on the date of the request and ends at 11:59 pm six days later. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
Contains an array of entries for the next seven days including information about secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
The localized name of the place, suitable as a short human-readable description. For example, "Google Sydney", "Starbucks", "Pyrmont", etc.
Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code for these if applicable. Summary text must be presented as-is and can not be modified or altered.
The summary of amenities near the EV charging station.
Information of ev charging options.
The most recent information about fuel options in a gas station. This information is updated regularly.
AI-generated summary of the place.
Links to trigger different Google Maps actions.
A truncated URL to an icon mask. User can access different icon type by appending type suffix to the end (eg, ".svg" or ".png").
A human-readable phone number for the place, in international format.
The position of this place.
This Place's resource name, in places/{place_id}
format. Can be used to
look up the Place.
A summary of points of interest near the place.
Options of parking provided by the place.
Payment options the place accepts. If a payment option data is not available, the payment option field will be unset.
Information (including references) about photos of this place. A maximum of 10 photos can be returned.
Plus code of the place location lat/long.
The address in postal address format.
Price level of the place.
The price range associated with a Place.
The primary type of the given result. This type must be one of the Places
API supported types. For example, "restaurant", "cafe", "airport", etc. A
place can only have a single primary type. For the complete list of
possible values, see Table A and Table B at
https://developers.google.com/maps/documentation/places/web-service/place-types.
The primary type may be missing if the place's primary type is not a
supported type. When a primary type is present, it is always one of the
types in the types
field.
The display name of the primary type, localized to the request language if applicable. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types. The primary type may be missing if the place's primary type is not a supported type.
Indicates whether the place is a pure service area business. Pure service area business is a business that visits or delivers to customers directly but does not serve customers at their business address. For example, businesses like cleaning services or plumbers. Those businesses may not have a physical address or location on Google Maps.
Contains an array of entries for information about regular secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place.
List of reviews about this place, sorted by relevance. A maximum of 5 reviews can be returned.
AI-generated summary of the place using user reviews.
A list of sub-destinations related to the place.
IANA Time Zone Database time zone. For example "America/New_York".
A set of type tags for this result. For example, "political" and "locality". For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
Number of minutes this place's timezone is currently offset from UTC. This is expressed in minutes to support timezones that are offset by fractions of an hour, e.g. X hours and 15 minutes.
A viewport suitable for displaying the place on an average-sized map. This viewport should not be used as the physical boundary or the service area of the business.