Class Routes.RoutesBase (2.1.0)

[BindServiceMethod(typeof(Routes), "BindService")]
public abstract class RoutesBase

Base class for server-side implementations of Routes

Inheritance

Object > Routes.RoutesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Delete(DeleteRouteRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteRouteRequest request, ServerCallContext context)

Deletes the specified Route resource.

Parameters
NameDescription
requestDeleteRouteRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

Get(GetRouteRequest, ServerCallContext)

public virtual Task<Route> Get(GetRouteRequest request, ServerCallContext context)

Returns the specified Route resource. Gets a list of available routes by making a list() request.

Parameters
NameDescription
requestGetRouteRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Route>

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

Insert(InsertRouteRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertRouteRequest request, ServerCallContext context)

Creates a Route resource in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertRouteRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

List(ListRoutesRequest, ServerCallContext)

public virtual Task<RouteList> List(ListRoutesRequest request, ServerCallContext context)

Retrieves the list of Route resources available to the specified project.

Parameters
NameDescription
requestListRoutesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<RouteList>

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