google-maps-documentation

PlaceDetailsRequest interface

google.maps.places.PlaceDetailsRequest interface

A Place details query to be sent to the PlacesService.

Library

places

Properties
fields
Type:  Array<string> optional
Fields to be included in the details response, which will be billed for. If no fields are specified or ['ALL'] is passed in, all available fields will be returned and billed for (this is not recommended for production deployments). For a list of fields see PlaceResult. Nested fields can be specified with dot-paths (for example, "geometry.location").
placeId
Type:  string
The Place ID of the Place for which details are being requested.
sessionToken
Type:  AutocompleteSessionToken optional
Unique reference used to bundle the details request with an autocomplete session.