Network Connectivity v1 API - Class PolicyBasedRoutingService.PolicyBasedRoutingServiceBase (2.1.0)

[BindServiceMethod(typeof(PolicyBasedRoutingService), "BindService")]
public abstract class PolicyBasedRoutingServiceBase

Reference documentation and code samples for the Network Connectivity v1 API class PolicyBasedRoutingService.PolicyBasedRoutingServiceBase.

Base class for server-side implementations of PolicyBasedRoutingService

Inheritance

Object > PolicyBasedRoutingService.PolicyBasedRoutingServiceBase

Namespace

Google.Cloud.NetworkConnectivity.V1

Assembly

Google.Cloud.NetworkConnectivity.V1.dll

Methods

CreatePolicyBasedRoute(CreatePolicyBasedRouteRequest, ServerCallContext)

public virtual Task<Operation> CreatePolicyBasedRoute(CreatePolicyBasedRouteRequest request, ServerCallContext context)

Creates a new PolicyBasedRoute in a given project and location.

Parameters
NameDescription
requestCreatePolicyBasedRouteRequest

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).

DeletePolicyBasedRoute(DeletePolicyBasedRouteRequest, ServerCallContext)

public virtual Task<Operation> DeletePolicyBasedRoute(DeletePolicyBasedRouteRequest request, ServerCallContext context)

Deletes a single PolicyBasedRoute.

Parameters
NameDescription
requestDeletePolicyBasedRouteRequest

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).

GetPolicyBasedRoute(GetPolicyBasedRouteRequest, ServerCallContext)

public virtual Task<PolicyBasedRoute> GetPolicyBasedRoute(GetPolicyBasedRouteRequest request, ServerCallContext context)

Gets details of a single PolicyBasedRoute.

Parameters
NameDescription
requestGetPolicyBasedRouteRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<PolicyBasedRoute>

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

ListPolicyBasedRoutes(ListPolicyBasedRoutesRequest, ServerCallContext)

public virtual Task<ListPolicyBasedRoutesResponse> ListPolicyBasedRoutes(ListPolicyBasedRoutesRequest request, ServerCallContext context)

Lists PolicyBasedRoutes in a given project and location.

Parameters
NameDescription
requestListPolicyBasedRoutesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ListPolicyBasedRoutesResponse>

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