Compute Engine v1 API - Class VpnGateways.VpnGatewaysBase (2.14.0)

[BindServiceMethod(typeof(VpnGateways), "BindService")]
public abstract class VpnGateways.VpnGatewaysBase

Reference documentation and code samples for the Compute Engine v1 API class VpnGateways.VpnGatewaysBase.

Base class for server-side implementations of VpnGateways

Inheritance

object > VpnGateways.VpnGatewaysBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListVpnGatewaysRequest, ServerCallContext)

public virtual Task<VpnGatewayAggregatedList> AggregatedList(AggregatedListVpnGatewaysRequest request, ServerCallContext context)

Retrieves an aggregated list of VPN gateways. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
NameDescription
requestAggregatedListVpnGatewaysRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskVpnGatewayAggregatedList

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

Delete(DeleteVpnGatewayRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteVpnGatewayRequest request, ServerCallContext context)

Deletes the specified VPN gateway.

Parameters
NameDescription
requestDeleteVpnGatewayRequest

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(GetVpnGatewayRequest, ServerCallContext)

public virtual Task<VpnGateway> Get(GetVpnGatewayRequest request, ServerCallContext context)

Returns the specified VPN gateway.

Parameters
NameDescription
requestGetVpnGatewayRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskVpnGateway

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

GetStatus(GetStatusVpnGatewayRequest, ServerCallContext)

public virtual Task<VpnGatewaysGetStatusResponse> GetStatus(GetStatusVpnGatewayRequest request, ServerCallContext context)

Returns the status for the specified VPN gateway.

Parameters
NameDescription
requestGetStatusVpnGatewayRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskVpnGatewaysGetStatusResponse

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

Insert(InsertVpnGatewayRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertVpnGatewayRequest request, ServerCallContext context)

Creates a VPN gateway in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertVpnGatewayRequest

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(ListVpnGatewaysRequest, ServerCallContext)

public virtual Task<VpnGatewayList> List(ListVpnGatewaysRequest request, ServerCallContext context)

Retrieves a list of VPN gateways available to the specified project and region.

Parameters
NameDescription
requestListVpnGatewaysRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskVpnGatewayList

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

SetLabels(SetLabelsVpnGatewayRequest, ServerCallContext)

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

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

Parameters
NameDescription
requestSetLabelsVpnGatewayRequest

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

TestIamPermissions(TestIamPermissionsVpnGatewayRequest, ServerCallContext)

public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsVpnGatewayRequest request, ServerCallContext context)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsVpnGatewayRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskTestPermissionsResponse

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