Class PlacesResource
The "places" collection of methods.
Inherited Members
Namespace: Google.Apis.MapsPlaces .v1
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class PlacesResource
Constructors
PlacesResource(IClientService)
Constructs a new resource.
Declaration
public PlacesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service |
Properties
Photos
Gets the Photos resource.
Declaration
public virtual PlacesResource.PhotosResource Photos { get; }
Property Value
Type | Description |
---|---|
Places |
Methods
Autocomplete(GoogleMapsPlacesV1AutocompletePlacesRequest)
Returns predictions for the given input.
Declaration
public virtual PlacesResource.AutocompleteRequest Autocomplete(GoogleMapsPlacesV1AutocompletePlacesRequest body)
Parameters
Type | Name | Description |
---|---|---|
Google |
body | The body of the request. |
Returns
Type | Description |
---|---|
Places |
Get(string)
Get the details of a place based on its resource name, which is a string in the places/{place_id}
format.
Declaration
public virtual PlacesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of a place, in the |
Returns
Type | Description |
---|---|
Places |
SearchNearby(GoogleMapsPlacesV1SearchNearbyRequest)
Search for places near locations.
Declaration
public virtual PlacesResource.SearchNearbyRequest SearchNearby(GoogleMapsPlacesV1SearchNearbyRequest body)
Parameters
Type | Name | Description |
---|---|---|
Google |
body | The body of the request. |
Returns
Type | Description |
---|---|
Places |
SearchText(GoogleMapsPlacesV1SearchTextRequest)
Text query based place search.
Declaration
public virtual PlacesResource.SearchTextRequest SearchText(GoogleMapsPlacesV1SearchTextRequest body)
Parameters
Type | Name | Description |
---|---|---|
Google |
body | The body of the request. |
Returns
Type | Description |
---|---|
Places |