public class MapsPlaces.Places extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MapsPlaces.Places.Autocomplete |
class |
MapsPlaces.Places.Get |
class |
MapsPlaces.Places.Photos
The "photos" collection of methods.
|
class |
MapsPlaces.Places.SearchNearby |
class |
MapsPlaces.Places.SearchText |
| Constructor and Description |
|---|
Places() |
| Modifier and Type | Method and Description |
|---|---|
MapsPlaces.Places.Autocomplete |
autocomplete(GoogleMapsPlacesV1AutocompletePlacesRequest content)
Returns predictions for the given input.
|
MapsPlaces.Places.Get |
get(String name)
Get the details of a place based on its resource name, which is a string in the
`places/{place_id}` format.
|
MapsPlaces.Places.Photos |
photos()
An accessor for creating requests from the Photos collection.
|
MapsPlaces.Places.SearchNearby |
searchNearby(GoogleMapsPlacesV1SearchNearbyRequest content)
Search for places near locations.
|
MapsPlaces.Places.SearchText |
searchText(GoogleMapsPlacesV1SearchTextRequest content)
Text query based place search.
|
public MapsPlaces.Places.Autocomplete autocomplete(GoogleMapsPlacesV1AutocompletePlacesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the GoogleMapsPlacesV1AutocompletePlacesRequestIOExceptionpublic MapsPlaces.Places.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of a place, in the `places/{place_id}` format.IOExceptionpublic MapsPlaces.Places.SearchNearby searchNearby(GoogleMapsPlacesV1SearchNearbyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the GoogleMapsPlacesV1SearchNearbyRequestIOExceptionpublic MapsPlaces.Places.SearchText searchText(GoogleMapsPlacesV1SearchTextRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the GoogleMapsPlacesV1SearchTextRequestIOExceptionpublic MapsPlaces.Places.Photos photos()
The typical use is:
MapsPlaces places = new MapsPlaces(...);MapsPlaces.Photos.List request = places.photos().list(parameters ...)
Copyright © 2011–2026 Google. All rights reserved.