[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
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 PolicyBasedRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreatePolicyBasedRouteRequest The request received from the client. |
context |
ServerCallContext The 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 PolicyBasedRoute.
Parameters | |
---|---|
Name | Description |
request |
DeletePolicyBasedRouteRequest The request received from the client. |
context |
ServerCallContext The 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 PolicyBasedRoute.
Parameters | |
---|---|
Name | Description |
request |
GetPolicyBasedRouteRequest The request received from the client. |
context |
ServerCallContext The 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 PolicyBasedRoutes in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListPolicyBasedRoutesRequest The request received from the client. |
context |
ServerCallContext The 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). |