[BindServiceMethod(typeof(Routes), "BindService")]
public abstract class Routes.RoutesBaseReference documentation and code samples for the Compute Engine v1 API class Routes.RoutesBase.
Base class for server-side implementations of Routes
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Delete(DeleteRouteRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteRouteRequest request, ServerCallContext context)Deletes the specified Route resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRouteRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRouteRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRoute |
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 | |
|---|---|
| Name | Description |
request |
InsertRouteRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 | |
|---|---|
| Name | Description |
request |
ListRoutesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRouteList |
The response to send back to the client (wrapped by a task). |