Compute Engine v1 API - Class TargetVpnGateways.TargetVpnGatewaysBase (2.16.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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

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
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
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
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
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
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
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
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
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
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
Name Description
request SetLabelsTargetVpnGatewayRequest

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).