Show / Hide Table of Contents

Class Places.PlacesBase

Base class for server-side implementations of Places

Inheritance
object
Places.PlacesBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
[BindServiceMethod(typeof(Places), "BindService")]
public abstract class Places.PlacesBase

Methods

AutocompletePlaces(AutocompletePlacesRequest, ServerCallContext)

Returns predictions for the given input.

Declaration
public virtual Task<AutocompletePlacesResponse> AutocompletePlaces(AutocompletePlacesRequest request, ServerCallContext context)
Parameters
Type Name Description
AutocompletePlacesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<AutocompletePlacesResponse>

The response to send back to the client (wrapped by a task).

GetPhotoMedia(GetPhotoMediaRequest, ServerCallContext)

Get a photo media with a photo reference string.

Declaration
public virtual Task<PhotoMedia> GetPhotoMedia(GetPhotoMediaRequest request, ServerCallContext context)
Parameters
Type Name Description
GetPhotoMediaRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<PhotoMedia>

The response to send back to the client (wrapped by a task).

GetPlace(GetPlaceRequest, ServerCallContext)

Get the details of a place based on its resource name, which is a string in the places/{place_id} format.

Declaration
public virtual Task<Place> GetPlace(GetPlaceRequest request, ServerCallContext context)
Parameters
Type Name Description
GetPlaceRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<Place>

The response to send back to the client (wrapped by a task).

SearchNearby(SearchNearbyRequest, ServerCallContext)

Search for places near locations.

Declaration
public virtual Task<SearchNearbyResponse> SearchNearby(SearchNearbyRequest request, ServerCallContext context)
Parameters
Type Name Description
SearchNearbyRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<SearchNearbyResponse>

The response to send back to the client (wrapped by a task).

SearchText(SearchTextRequest, ServerCallContext)

Text query based place search.

Declaration
public virtual Task<SearchTextResponse> SearchText(SearchTextRequest request, ServerCallContext context)
Parameters
Type Name Description
SearchTextRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<SearchTextResponse>

The response to send back to the client (wrapped by a task).

In this article
Back to top Generated by DocFX