# Compute Engine v1 API - Class ExternalVpnGatewaysClientImpl (3.28.0)

3.28.0 (latest) 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ExternalVpnGatewaysClientImpl : ExternalVpnGatewaysClient

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

ExternalVpnGateways client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ExternalVpnGatewaysClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient) \> ExternalVpnGatewaysClientImpl

## Inherited Members

[ExternalVpnGatewaysClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_DefaultEndpoint) [ExternalVpnGatewaysClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_DefaultScopes) [ExternalVpnGatewaysClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_ServiceMetadata) [ExternalVpnGatewaysClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_CreateAsync_System_Threading_CancellationToken_) [ExternalVpnGatewaysClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_Create) [ExternalVpnGatewaysClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_ShutdownDefaultChannelsAsync) [ExternalVpnGatewaysClient.DeleteAsync(DeleteExternalVpnGatewayRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteExternalVpnGatewayRequest_System_Threading_CancellationToken_) [ExternalVpnGatewaysClient.PollOnceDelete(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_PollOnceDelete_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.PollOnceDeleteAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_PollOnceDeleteAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.Delete(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_Delete_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.DeleteAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_DeleteAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.DeleteAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_DeleteAsync_System_String_System_String_System_Threading_CancellationToken_) [ExternalVpnGatewaysClient.GetAsync(GetExternalVpnGatewayRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_GetAsync_Google_Cloud_Compute_V1_GetExternalVpnGatewayRequest_System_Threading_CancellationToken_) [ExternalVpnGatewaysClient.Get(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_Get_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.GetAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_GetAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.GetAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_GetAsync_System_String_System_String_System_Threading_CancellationToken_) [ExternalVpnGatewaysClient.InsertAsync(InsertExternalVpnGatewayRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_InsertAsync_Google_Cloud_Compute_V1_InsertExternalVpnGatewayRequest_System_Threading_CancellationToken_) [ExternalVpnGatewaysClient.PollOnceInsert(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_PollOnceInsert_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.PollOnceInsertAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_PollOnceInsertAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.Insert(string, ExternalVpnGateway, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_Insert_System_String_Google_Cloud_Compute_V1_ExternalVpnGateway_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.InsertAsync(string, ExternalVpnGateway, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_InsertAsync_System_String_Google_Cloud_Compute_V1_ExternalVpnGateway_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.InsertAsync(string, ExternalVpnGateway, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_InsertAsync_System_String_Google_Cloud_Compute_V1_ExternalVpnGateway_System_Threading_CancellationToken_) [ExternalVpnGatewaysClient.List(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_List_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.ListAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_ListAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.SetLabelsAsync(SetLabelsExternalVpnGatewayRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_SetLabelsAsync_Google_Cloud_Compute_V1_SetLabelsExternalVpnGatewayRequest_System_Threading_CancellationToken_) [ExternalVpnGatewaysClient.PollOnceSetLabels(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_PollOnceSetLabels_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.PollOnceSetLabelsAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_PollOnceSetLabelsAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.SetLabels(string, string, GlobalSetLabelsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_SetLabels_System_String_System_String_Google_Cloud_Compute_V1_GlobalSetLabelsRequest_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.SetLabelsAsync(string, string, GlobalSetLabelsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_SetLabelsAsync_System_String_System_String_Google_Cloud_Compute_V1_GlobalSetLabelsRequest_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.SetLabelsAsync(string, string, GlobalSetLabelsRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_SetLabelsAsync_System_String_System_String_Google_Cloud_Compute_V1_GlobalSetLabelsRequest_System_Threading_CancellationToken_) [ExternalVpnGatewaysClient.TestIamPermissionsAsync(TestIamPermissionsExternalVpnGatewayRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsExternalVpnGatewayRequest_System_Threading_CancellationToken_) [ExternalVpnGatewaysClient.TestIamPermissions(string, string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_TestIamPermissions_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.TestIamPermissionsAsync(string, string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_TestIamPermissionsAsync_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [ExternalVpnGatewaysClient.TestIamPermissionsAsync(string, string, TestPermissionsRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_TestIamPermissionsAsync_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Compute.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)

## Assembly

Google.Cloud.Compute.V1.dll

## Remarks

The ExternalVpnGateways API.

## Constructors

### ExternalVpnGatewaysClientImpl(ExternalVpnGatewaysClient, ExternalVpnGatewaysSettings, ILogger)

    public ExternalVpnGatewaysClientImpl(ExternalVpnGateways.ExternalVpnGatewaysClient grpcClient, ExternalVpnGatewaysSettings settings, ILogger logger)

Constructs a client wrapper for the ExternalVpnGateways service, with the specified gRPC client and
settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewayshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGateways.ExternalVpnGatewaysClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysSettings` The base [ExternalVpnGatewaysSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### DeleteOperationsClient

    public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for `Delete`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [ExternalVpnGatewaysClient.DeleteOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_DeleteOperationsClient)

### GrpcClient

    public override ExternalVpnGateways.ExternalVpnGatewaysClient GrpcClient { get; }

The underlying gRPC ExternalVpnGateways client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewayshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGateways.ExternalVpnGatewaysClient` |   |

**Overrides** [ExternalVpnGatewaysClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_GrpcClient)

### InsertOperationsClient

    public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for `Insert`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [ExternalVpnGatewaysClient.InsertOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_InsertOperationsClient)

### SetLabelsOperationsClient

    public override OperationsClient SetLabelsOperationsClient { get; }

The long-running operations client for `SetLabels`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [ExternalVpnGatewaysClient.SetLabelsOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_SetLabelsOperationsClient)

## Methods

### Delete(DeleteExternalVpnGatewayRequest, CallSettings)

    public override Operation<Operation, Operation> Delete(DeleteExternalVpnGatewayRequest request, CallSettings callSettings = null)

Deletes the specified externalVpnGateway.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.DeleteExternalVpnGatewayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [ExternalVpnGatewaysClient.Delete(DeleteExternalVpnGatewayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_Delete_Google_Cloud_Compute_V1_DeleteExternalVpnGatewayRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteAsync(DeleteExternalVpnGatewayRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteExternalVpnGatewayRequest request, CallSettings callSettings = null)

Deletes the specified externalVpnGateway.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.DeleteExternalVpnGatewayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [ExternalVpnGatewaysClient.DeleteAsync(DeleteExternalVpnGatewayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteExternalVpnGatewayRequest_Google_Api_Gax_Grpc_CallSettings_)

### Get(GetExternalVpnGatewayRequest, CallSettings)

    public override ExternalVpnGateway Get(GetExternalVpnGatewayRequest request, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetExternalVpnGatewayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGateway` | The RPC response. |

**Overrides** [ExternalVpnGatewaysClient.Get(GetExternalVpnGatewayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_Get_Google_Cloud_Compute_V1_GetExternalVpnGatewayRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetAsync(GetExternalVpnGatewayRequest, CallSettings)

    public override Task<ExternalVpnGateway> GetAsync(GetExternalVpnGatewayRequest request, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetExternalVpnGatewayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGateway` | A Task containing the RPC response. |

**Overrides** [ExternalVpnGatewaysClient.GetAsync(GetExternalVpnGatewayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_GetAsync_Google_Cloud_Compute_V1_GetExternalVpnGatewayRequest_Google_Api_Gax_Grpc_CallSettings_)

### Insert(InsertExternalVpnGatewayRequest, CallSettings)

    public override Operation<Operation, Operation> Insert(InsertExternalVpnGatewayRequest request, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InsertExternalVpnGatewayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [ExternalVpnGatewaysClient.Insert(InsertExternalVpnGatewayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_Insert_Google_Cloud_Compute_V1_InsertExternalVpnGatewayRequest_Google_Api_Gax_Grpc_CallSettings_)

### InsertAsync(InsertExternalVpnGatewayRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> InsertAsync(InsertExternalVpnGatewayRequest request, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InsertExternalVpnGatewayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [ExternalVpnGatewaysClient.InsertAsync(InsertExternalVpnGatewayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_InsertAsync_Google_Cloud_Compute_V1_InsertExternalVpnGatewayRequest_Google_Api_Gax_Grpc_CallSettings_)

### List(ListExternalVpnGatewaysRequest, CallSettings)

    public override PagedEnumerable<ExternalVpnGatewayList, ExternalVpnGateway> List(ListExternalVpnGatewaysRequest request, CallSettings callSettings = null)

Retrieves the list of ExternalVpnGateway available to the specified
project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ListExternalVpnGatewaysRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewayListhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGateway` | A pageable sequence of [ExternalVpnGateway](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGateway) resources. |

**Overrides** [ExternalVpnGatewaysClient.List(ListExternalVpnGatewaysRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_List_Google_Cloud_Compute_V1_ListExternalVpnGatewaysRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListAsync(ListExternalVpnGatewaysRequest, CallSettings)

    public override PagedAsyncEnumerable<ExternalVpnGatewayList, ExternalVpnGateway> ListAsync(ListExternalVpnGatewaysRequest request, CallSettings callSettings = null)

Retrieves the list of ExternalVpnGateway available to the specified
project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ListExternalVpnGatewaysRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewayListhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGateway` | A pageable asynchronous sequence of [ExternalVpnGateway](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGateway) resources. |

**Overrides** [ExternalVpnGatewaysClient.ListAsync(ListExternalVpnGatewaysRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_ListAsync_Google_Cloud_Compute_V1_ListExternalVpnGatewaysRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetLabels(SetLabelsExternalVpnGatewayRequest, CallSettings)

    public override Operation<Operation, Operation> SetLabels(SetLabelsExternalVpnGatewayRequest request, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SetLabelsExternalVpnGatewayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [ExternalVpnGatewaysClient.SetLabels(SetLabelsExternalVpnGatewayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_SetLabels_Google_Cloud_Compute_V1_SetLabelsExternalVpnGatewayRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetLabelsAsync(SetLabelsExternalVpnGatewayRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> SetLabelsAsync(SetLabelsExternalVpnGatewayRequest request, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SetLabelsExternalVpnGatewayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [ExternalVpnGatewaysClient.SetLabelsAsync(SetLabelsExternalVpnGatewayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_SetLabelsAsync_Google_Cloud_Compute_V1_SetLabelsExternalVpnGatewayRequest_Google_Api_Gax_Grpc_CallSettings_)

### TestIamPermissions(TestIamPermissionsExternalVpnGatewayRequest, CallSettings)

    public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsExternalVpnGatewayRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestIamPermissionsExternalVpnGatewayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestPermissionsResponse` | The RPC response. |

**Overrides** [ExternalVpnGatewaysClient.TestIamPermissions(TestIamPermissionsExternalVpnGatewayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_TestIamPermissions_Google_Cloud_Compute_V1_TestIamPermissionsExternalVpnGatewayRequest_Google_Api_Gax_Grpc_CallSettings_)

### TestIamPermissionsAsync(TestIamPermissionsExternalVpnGatewayRequest, CallSettings)

    public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsExternalVpnGatewayRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestIamPermissionsExternalVpnGatewayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestPermissionsResponse` | A Task containing the RPC response. |

**Overrides** [ExternalVpnGatewaysClient.TestIamPermissionsAsync(TestIamPermissionsExternalVpnGatewayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ExternalVpnGatewaysClient#Google_Cloud_Compute_V1_ExternalVpnGatewaysClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsExternalVpnGatewayRequest_Google_Api_Gax_Grpc_CallSettings_)