public abstract class LocationsBase : objectBase class for server-side implementations of Locations
Namespace
Google.Cloud.LocationAssembly
Google.Cloud.Location.dll
Methods
GetLocation(GetLocationRequest, Grpc.Core.ServerCallContext)
public virtual System.Threading.Tasks.Task<Location> GetLocation(GetLocationRequest request, Grpc.Core.ServerCallContext context)Gets information about a location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLocationRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Location> |
The response to send back to the client (wrapped by a task). |
ListLocations(ListLocationsRequest, Grpc.Core.ServerCallContext)
public virtual System.Threading.Tasks.Task<ListLocationsResponse> ListLocations(ListLocationsRequest request, Grpc.Core.ServerCallContext context)Lists information about the supported locations for this service.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLocationsRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<ListLocationsResponse> |
The response to send back to the client (wrapped by a task). |