Class Places
Service definition for the Places API.
Note: every request (except for Autocomplete and GetPhotoMedia requests)
requires a field mask set outside of the request proto (all/*, is not
assumed). The field mask can be set via the HTTP header X-Goog-FieldMask.
See:
https://developers.google.com/maps/documentation/places/web-service/choose-fields
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public static class Places
Methods
BindService(PlacesBase)
Creates service definition that can be registered with a server
Declaration
public static ServerServiceDefinition BindService(Places.PlacesBase serviceImpl)
Parameters
| Type | Name | Description |
|---|---|---|
| Places.PlacesBase | serviceImpl | An object implementing the server-side handling logic. |
Returns
| Type | Description |
|---|---|
| ServerServiceDefinition |
BindService(ServiceBinderBase, PlacesBase)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Declaration
public static void BindService(ServiceBinderBase serviceBinder, Places.PlacesBase serviceImpl)
Parameters
| Type | Name | Description |
|---|---|---|
| ServiceBinderBase | serviceBinder | Service methods will be bound by calling |
| Places.PlacesBase | serviceImpl | An object implementing the server-side handling logic. |