[BindServiceMethod(typeof(Locations), "BindService")]
public abstract class Locations.LocationsBaseReference documentation and code samples for the Google.Cloud.Location class Locations.LocationsBase.
Base class for server-side implementations of Locations
Namespace
Google.Cloud.LocationAssembly
Google.Cloud.Location.dll
Methods
GetLocation(GetLocationRequest, ServerCallContext)
public virtual Task<Location> GetLocation(GetLocationRequest request, ServerCallContext context)Gets information about a location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLocationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskLocation |
The response to send back to the client (wrapped by a task). |
ListLocations(ListLocationsRequest, ServerCallContext)
public virtual Task<ListLocationsResponse> ListLocations(ListLocationsRequest request, ServerCallContext context)Lists information about the supported locations for this service.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLocationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListLocationsResponse |
The response to send back to the client (wrapped by a task). |