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 |
---|---|---|
IClientService | service |
Properties
Photos
Gets the Photos resource.
Declaration
public virtual PlacesResource.PhotosResource Photos { get; }
Property Value
Type | Description |
---|---|
PlacesResource.PhotosResource |
Methods
Autocomplete(GoogleMapsPlacesV1AutocompletePlacesRequest)
Returns predictions for the given input.
Declaration
public virtual PlacesResource.AutocompleteRequest Autocomplete(GoogleMapsPlacesV1AutocompletePlacesRequest body)
Parameters
Type | Name | Description |
---|---|---|
GoogleMapsPlacesV1AutocompletePlacesRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
PlacesResource.AutocompleteRequest |
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 |
---|---|
PlacesResource.GetRequest |
SearchNearby(GoogleMapsPlacesV1SearchNearbyRequest)
Search for places near locations.
Declaration
public virtual PlacesResource.SearchNearbyRequest SearchNearby(GoogleMapsPlacesV1SearchNearbyRequest body)
Parameters
Type | Name | Description |
---|---|---|
GoogleMapsPlacesV1SearchNearbyRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
PlacesResource.SearchNearbyRequest |
SearchText(GoogleMapsPlacesV1SearchTextRequest)
Text query based place search.
Declaration
public virtual PlacesResource.SearchTextRequest SearchText(GoogleMapsPlacesV1SearchTextRequest body)
Parameters
Type | Name | Description |
---|---|---|
GoogleMapsPlacesV1SearchTextRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
PlacesResource.SearchTextRequest |