# Compute Engine v1 API - Class RoutesClientImpl (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 RoutesClientImpl : RoutesClient

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

Routes client wrapper implementation, for convenient use.

## Inheritance

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

## Inherited Members

[RoutesClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_DefaultEndpoint) [RoutesClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_DefaultScopes) [RoutesClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_ServiceMetadata) [RoutesClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_CreateAsync_System_Threading_CancellationToken_) [RoutesClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_Create) [RoutesClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_ShutdownDefaultChannelsAsync) [RoutesClient.DeleteAsync(DeleteRouteRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteRouteRequest_System_Threading_CancellationToken_) [RoutesClient.PollOnceDelete(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_PollOnceDelete_System_String_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.PollOnceDeleteAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_PollOnceDeleteAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.Delete(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_Delete_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.DeleteAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_DeleteAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.DeleteAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_DeleteAsync_System_String_System_String_System_Threading_CancellationToken_) [RoutesClient.GetAsync(GetRouteRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_GetAsync_Google_Cloud_Compute_V1_GetRouteRequest_System_Threading_CancellationToken_) [RoutesClient.Get(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_Get_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.GetAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_GetAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.GetAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_GetAsync_System_String_System_String_System_Threading_CancellationToken_) [RoutesClient.InsertAsync(InsertRouteRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_InsertAsync_Google_Cloud_Compute_V1_InsertRouteRequest_System_Threading_CancellationToken_) [RoutesClient.PollOnceInsert(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_PollOnceInsert_System_String_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.PollOnceInsertAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_PollOnceInsertAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.Insert(string, Route, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_Insert_System_String_Google_Cloud_Compute_V1_Route_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.InsertAsync(string, Route, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_InsertAsync_System_String_Google_Cloud_Compute_V1_Route_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.InsertAsync(string, Route, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_InsertAsync_System_String_Google_Cloud_Compute_V1_Route_System_Threading_CancellationToken_) [RoutesClient.List(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_List_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.ListAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_ListAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.TestIamPermissionsAsync(TestIamPermissionsRouteRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsRouteRequest_System_Threading_CancellationToken_) [RoutesClient.TestIamPermissions(string, string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_TestIamPermissions_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.TestIamPermissionsAsync(string, string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_TestIamPermissionsAsync_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [RoutesClient.TestIamPermissionsAsync(string, string, TestPermissionsRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_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 Routes API.

## Constructors

### RoutesClientImpl(RoutesClient, RoutesSettings, ILogger)

    public RoutesClientImpl(Routes.RoutesClient grpcClient, RoutesSettings settings, ILogger logger)

Constructs a client wrapper for the Routes 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.Routeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Routes.RoutesClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesSettings` The base [RoutesSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesSettings) 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** [RoutesClient.DeleteOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_DeleteOperationsClient)

### GrpcClient

    public override Routes.RoutesClient GrpcClient { get; }

The underlying gRPC Routes client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Routeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Routes.RoutesClient` |   |

**Overrides** [RoutesClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_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** [RoutesClient.InsertOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_InsertOperationsClient)

## Methods

### Delete(DeleteRouteRequest, CallSettings)

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

Deletes the specified Route resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.DeleteRouteRequest` 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** [RoutesClient.Delete(DeleteRouteRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_Delete_Google_Cloud_Compute_V1_DeleteRouteRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteAsync(DeleteRouteRequest, CallSettings)

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

Deletes the specified Route resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.DeleteRouteRequest` 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** [RoutesClient.DeleteAsync(DeleteRouteRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteRouteRequest_Google_Api_Gax_Grpc_CallSettings_)

### Get(GetRouteRequest, CallSettings)

    public override Route Get(GetRouteRequest request, CallSettings callSettings = null)

Returns the specified Route resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetRouteRequest` 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.Route` | The RPC response. |

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

### GetAsync(GetRouteRequest, CallSettings)

    public override Task<Route> GetAsync(GetRouteRequest request, CallSettings callSettings = null)

Returns the specified Route resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetRouteRequest` 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.Route` | A Task containing the RPC response. |

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

### Insert(InsertRouteRequest, CallSettings)

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

Creates a Route resource 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.InsertRouteRequest` 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** [RoutesClient.Insert(InsertRouteRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_Insert_Google_Cloud_Compute_V1_InsertRouteRequest_Google_Api_Gax_Grpc_CallSettings_)

### InsertAsync(InsertRouteRequest, CallSettings)

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

Creates a Route resource 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.InsertRouteRequest` 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** [RoutesClient.InsertAsync(InsertRouteRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_InsertAsync_Google_Cloud_Compute_V1_InsertRouteRequest_Google_Api_Gax_Grpc_CallSettings_)

### List(ListRoutesRequest, CallSettings)

    public override PagedEnumerable<RouteList, Route> List(ListRoutesRequest request, CallSettings callSettings = null)

Retrieves the list of Route resources 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.ListRoutesRequest` 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.RouteListhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Route` | A pageable sequence of [Route](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Route) resources. |

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

### ListAsync(ListRoutesRequest, CallSettings)

    public override PagedAsyncEnumerable<RouteList, Route> ListAsync(ListRoutesRequest request, CallSettings callSettings = null)

Retrieves the list of Route resources 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.ListRoutesRequest` 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.RouteListhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Route` | A pageable asynchronous sequence of [Route](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Route) resources. |

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

### TestIamPermissions(TestIamPermissionsRouteRequest, CallSettings)

    public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsRouteRequest 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.TestIamPermissionsRouteRequest` 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** [RoutesClient.TestIamPermissions(TestIamPermissionsRouteRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_TestIamPermissions_Google_Cloud_Compute_V1_TestIamPermissionsRouteRequest_Google_Api_Gax_Grpc_CallSettings_)

### TestIamPermissionsAsync(TestIamPermissionsRouteRequest, CallSettings)

    public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRouteRequest 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.TestIamPermissionsRouteRequest` 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** [RoutesClient.TestIamPermissionsAsync(TestIamPermissionsRouteRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RoutesClient#Google_Cloud_Compute_V1_RoutesClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsRouteRequest_Google_Api_Gax_Grpc_CallSettings_)