[BindServiceMethod(typeof(ExternalVpnGateways), "BindService")]
public abstract class ExternalVpnGateways.ExternalVpnGatewaysBaseReference documentation and code samples for the Compute Engine v1 API class ExternalVpnGateways.ExternalVpnGatewaysBase.
Base class for server-side implementations of ExternalVpnGateways
Namespace
Google.Cloud.Compute.V1Assembly
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 |
DeleteExternalVpnGatewayRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetExternalVpnGatewayRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
InsertExternalVpnGatewayRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListExternalVpnGatewaysRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
SetLabelsExternalVpnGatewayRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
TestIamPermissionsExternalVpnGatewayRequestThe request received from the client. |
context |
ServerCallContextThe 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). |