Class Locations.LocationsBase (1.0.0)

public abstract class LocationsBase : object

Base class for server-side implementations of Locations

Inheritance

Object > Locations.LocationsBase

Namespace

Google.Cloud.Location

Assembly

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
NameDescription
requestGetLocationRequest

The request received from the client.

contextGrpc.Core.ServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListLocationsRequest

The request received from the client.

contextGrpc.Core.ServerCallContext

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

Returns
TypeDescription
System.Threading.Tasks.Task<ListLocationsResponse>

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