[BindServiceMethod(typeof(Routers), "BindService")]
public abstract class RoutersBase
Base class for server-side implementations of Routers
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListRoutersRequest, ServerCallContext)
public virtual Task<RouterAggregatedList> AggregatedList(AggregatedListRoutersRequest request, ServerCallContext context)
Retrieves an aggregated list of routers.
Parameters | |
---|---|
Name | Description |
request | AggregatedListRoutersRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<RouterAggregatedList> | The response to send back to the client (wrapped by a task). |
Delete(DeleteRouterRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteRouterRequest request, ServerCallContext context)
Deletes the specified Router resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRouterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
Get(GetRouterRequest, ServerCallContext)
public virtual Task<Router> Get(GetRouterRequest request, ServerCallContext context)
Returns the specified Router resource. Gets a list of available routers by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetRouterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Router> | The response to send back to the client (wrapped by a task). |
GetNatMappingInfo(GetNatMappingInfoRoutersRequest, ServerCallContext)
public virtual Task<VmEndpointNatMappingsList> GetNatMappingInfo(GetNatMappingInfoRoutersRequest request, ServerCallContext context)
Retrieves runtime Nat mapping information of VM endpoints.
Parameters | |
---|---|
Name | Description |
request | GetNatMappingInfoRoutersRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<VmEndpointNatMappingsList> | The response to send back to the client (wrapped by a task). |
GetRouterStatus(GetRouterStatusRouterRequest, ServerCallContext)
public virtual Task<RouterStatusResponse> GetRouterStatus(GetRouterStatusRouterRequest request, ServerCallContext context)
Retrieves runtime information of the specified router.
Parameters | |
---|---|
Name | Description |
request | GetRouterStatusRouterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<RouterStatusResponse> | The response to send back to the client (wrapped by a task). |
Insert(InsertRouterRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertRouterRequest request, ServerCallContext context)
Creates a Router resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRouterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
List(ListRoutersRequest, ServerCallContext)
public virtual Task<RouterList> List(ListRoutersRequest request, ServerCallContext context)
Retrieves a list of Router resources available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListRoutersRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<RouterList> | The response to send back to the client (wrapped by a task). |
Patch(PatchRouterRequest, ServerCallContext)
public virtual Task<Operation> Patch(PatchRouterRequest request, ServerCallContext context)
Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRouterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
Preview(PreviewRouterRequest, ServerCallContext)
public virtual Task<RoutersPreviewResponse> Preview(PreviewRouterRequest request, ServerCallContext context)
Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.
Parameters | |
---|---|
Name | Description |
request | PreviewRouterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<RoutersPreviewResponse> | The response to send back to the client (wrapped by a task). |
Update(UpdateRouterRequest, ServerCallContext)
public virtual Task<Operation> Update(UpdateRouterRequest request, ServerCallContext context)
Updates the specified Router resource with the data included in the request. This method conforms to PUT semantics, which requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload.
Parameters | |
---|---|
Name | Description |
request | UpdateRouterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |