Compute Engine v1 API - Class TargetVpnGateways.TargetVpnGatewaysBase (2.12.0)

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

Reference documentation and code samples for the Compute Engine v1 API class TargetVpnGateways.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
TaskTargetVpnGatewayAggregatedList

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
TaskOperation

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.

Parameters
NameDescription
requestGetTargetVpnGatewayRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskTargetVpnGateway

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
TaskOperation

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
TaskTargetVpnGatewayList

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

SetLabels(SetLabelsTargetVpnGatewayRequest, ServerCallContext)

public virtual Task<Operation> SetLabels(SetLabelsTargetVpnGatewayRequest request, ServerCallContext context)

Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation.

Parameters
NameDescription
requestSetLabelsTargetVpnGatewayRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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