Compute Engine v1 API - Class ExternalVpnGateways.ExternalVpnGatewaysBase (2.10.0)

[BindServiceMethod(typeof(ExternalVpnGateways), "BindService")]
public abstract class ExternalVpnGateways.ExternalVpnGatewaysBase

Reference documentation and code samples for the Compute Engine v1 API class ExternalVpnGateways.ExternalVpnGatewaysBase.

Base class for server-side implementations of ExternalVpnGateways

Inheritance

object > ExternalVpnGateways.ExternalVpnGatewaysBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Delete(DeleteExternalVpnGatewayRequest, ServerCallContext)

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

Deletes the specified externalVpnGateway.

Parameters
NameDescription
requestDeleteExternalVpnGatewayRequest

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

public virtual Task<ExternalVpnGateway> Get(GetExternalVpnGatewayRequest request, ServerCallContext context)

Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request.

Parameters
NameDescription
requestGetExternalVpnGatewayRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskExternalVpnGateway

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

Insert(InsertExternalVpnGatewayRequest, ServerCallContext)

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

Creates a ExternalVpnGateway in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertExternalVpnGatewayRequest

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

public virtual Task<ExternalVpnGatewayList> List(ListExternalVpnGatewaysRequest request, ServerCallContext context)

Retrieves the list of ExternalVpnGateway available to the specified project.

Parameters
NameDescription
requestListExternalVpnGatewaysRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskExternalVpnGatewayList

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

SetLabels(SetLabelsExternalVpnGatewayRequest, ServerCallContext)

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

Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation.

Parameters
NameDescription
requestSetLabelsExternalVpnGatewayRequest

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

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

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsExternalVpnGatewayRequest

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