Compute Engine v1 API - Class ExternalVpnGateways.ExternalVpnGatewaysBase (3.0.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
Name Description
request DeleteExternalVpnGatewayRequest

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(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
Name Description
request GetExternalVpnGatewayRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request InsertExternalVpnGatewayRequest

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

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

Retrieves the list of ExternalVpnGateway available to the specified project.

Parameters
Name Description
request ListExternalVpnGatewaysRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request SetLabelsExternalVpnGatewayRequest

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

TestIamPermissions(TestIamPermissionsExternalVpnGatewayRequest, ServerCallContext)

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

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsExternalVpnGatewayRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskTestPermissionsResponse

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