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

[BindServiceMethod(typeof(PolicyBasedRoutingService), "BindService")]
public abstract class PolicyBasedRoutingService.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
TaskOperation

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
TaskOperation

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
TaskPolicyBasedRoute

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
TaskListPolicyBasedRoutesResponse

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