[BindServiceMethod(typeof(PolicyBasedRoutingService), "BindService")]
public abstract class PolicyBasedRoutingService.PolicyBasedRoutingServiceBaseReference documentation and code samples for the Network Connectivity v1 API class PolicyBasedRoutingService.PolicyBasedRoutingServiceBase.
Base class for server-side implementations of PolicyBasedRoutingService
Namespace
Google.Cloud.NetworkConnectivity.V1Assembly
Google.Cloud.NetworkConnectivity.V1.dll
Methods
CreatePolicyBasedRoute(CreatePolicyBasedRouteRequest, ServerCallContext)
public virtual Task<Operation> CreatePolicyBasedRoute(CreatePolicyBasedRouteRequest request, ServerCallContext context)Creates a new policy-based route in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePolicyBasedRouteRequestThe 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). |
DeletePolicyBasedRoute(DeletePolicyBasedRouteRequest, ServerCallContext)
public virtual Task<Operation> DeletePolicyBasedRoute(DeletePolicyBasedRouteRequest request, ServerCallContext context)Deletes a single policy-based route.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePolicyBasedRouteRequestThe 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). |
GetPolicyBasedRoute(GetPolicyBasedRouteRequest, ServerCallContext)
public virtual Task<PolicyBasedRoute> GetPolicyBasedRoute(GetPolicyBasedRouteRequest request, ServerCallContext context)Gets details of a single policy-based route.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPolicyBasedRouteRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 policy-based routes in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPolicyBasedRoutesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListPolicyBasedRoutesResponse |
The response to send back to the client (wrapped by a task). |