Class VpnGateways.VpnGatewaysBase (2.1.0)

[BindServiceMethod(typeof(VpnGateways), "BindService")]
public abstract class 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.

Parameters
NameDescription
requestAggregatedListVpnGatewaysRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<VpnGatewayAggregatedList>

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
Task<Operation>

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. Gets a list of available VPN gateways by making a list() request.

Parameters
NameDescription
requestGetVpnGatewayRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<VpnGateway>

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
Task<VpnGatewaysGetStatusResponse>

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
Task<Operation>

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
Task<VpnGatewayList>

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
Task<Operation>

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
Task<TestPermissionsResponse>

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