Class TargetVpnGateways.TargetVpnGatewaysBase (1.1.0)

[BindServiceMethod(typeof(TargetVpnGateways), "BindService")]
public abstract class TargetVpnGatewaysBase

Base class for server-side implementations of TargetVpnGateways

Inheritance

Object > TargetVpnGateways.TargetVpnGatewaysBase

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
requestAggregatedListTargetVpnGatewaysRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestDeleteTargetVpnGatewayRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetTargetVpnGatewayRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestInsertTargetVpnGatewayRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListTargetVpnGatewaysRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<TargetVpnGatewayList>

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