[BindServiceMethod(typeof(TargetVpnGateways), "BindService")]
public abstract class TargetVpnGatewaysBase
Base class for server-side implementations of TargetVpnGateways
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListTargetVpnGatewaysRequest, ServerCallContext)
public virtual Task<TargetVpnGatewayAggregatedList> AggregatedList(AggregatedListTargetVpnGatewaysRequest request, ServerCallContext context)
Retrieves an aggregated list of target VPN gateways.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetVpnGatewaysRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<TargetVpnGatewayAggregatedList> | The response to send back to the client (wrapped by a task). |
Delete(DeleteTargetVpnGatewayRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteTargetVpnGatewayRequest request, ServerCallContext context)
Deletes the specified target VPN gateway.
Parameters | |
---|---|
Name | Description |
request | DeleteTargetVpnGatewayRequest 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(GetTargetVpnGatewayRequest, ServerCallContext)
public virtual Task<TargetVpnGateway> Get(GetTargetVpnGatewayRequest request, ServerCallContext context)
Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetTargetVpnGatewayRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<TargetVpnGateway> | The response to send back to the client (wrapped by a task). |
Insert(InsertTargetVpnGatewayRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertTargetVpnGatewayRequest request, ServerCallContext context)
Creates a target VPN gateway in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertTargetVpnGatewayRequest 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(ListTargetVpnGatewaysRequest, ServerCallContext)
public virtual Task<TargetVpnGatewayList> List(ListTargetVpnGatewaysRequest request, ServerCallContext context)
Retrieves a list of target VPN gateways available to the specified project and region.
Parameters | |
---|---|
Name | Description |
request | ListTargetVpnGatewaysRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<TargetVpnGatewayList> | The response to send back to the client (wrapped by a task). |