[BindServiceMethod(typeof(VpnGateways), "BindService")]
public abstract class VpnGatewaysBase
Base class for server-side implementations of VpnGateways
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
---|---|
Name | Description |
request | AggregatedListVpnGatewaysRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteVpnGatewayRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetVpnGatewayRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetStatusVpnGatewayRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | InsertVpnGatewayRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListVpnGatewaysRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SetLabelsVpnGatewayRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | TestIamPermissionsVpnGatewayRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<TestPermissionsResponse> | The response to send back to the client (wrapped by a task). |