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

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

InterconnectRemoteLocations client wrapper implementation, for convenient use.

## Inheritance

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

## Inherited Members

[InterconnectRemoteLocationsClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_DefaultEndpoint) [InterconnectRemoteLocationsClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_DefaultScopes) [InterconnectRemoteLocationsClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_ServiceMetadata) [InterconnectRemoteLocationsClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_CreateAsync_System_Threading_CancellationToken_) [InterconnectRemoteLocationsClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_Create) [InterconnectRemoteLocationsClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_ShutdownDefaultChannelsAsync) [InterconnectRemoteLocationsClient.GetAsync(GetInterconnectRemoteLocationRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_GetAsync_Google_Cloud_Compute_V1_GetInterconnectRemoteLocationRequest_System_Threading_CancellationToken_) [InterconnectRemoteLocationsClient.Get(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_Get_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [InterconnectRemoteLocationsClient.GetAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_GetAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [InterconnectRemoteLocationsClient.GetAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_GetAsync_System_String_System_String_System_Threading_CancellationToken_) [InterconnectRemoteLocationsClient.List(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_List_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [InterconnectRemoteLocationsClient.ListAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsClient#Google_Cloud_Compute_V1_InterconnectRemoteLocationsClient_ListAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [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 InterconnectRemoteLocations API.

## Constructors

### InterconnectRemoteLocationsClientImpl(InterconnectRemoteLocationsClient, InterconnectRemoteLocationsSettings, ILogger)

    public InterconnectRemoteLocationsClientImpl(InterconnectRemoteLocations.InterconnectRemoteLocationsClient grpcClient, InterconnectRemoteLocationsSettings settings, ILogger logger)

Constructs a client wrapper for the InterconnectRemoteLocations 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.InterconnectRemoteLocationshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocations.InterconnectRemoteLocationsClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsSettings` The base [InterconnectRemoteLocationsSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationsSettings) 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

### GrpcClient

    public override InterconnectRemoteLocations.InterconnectRemoteLocationsClient GrpcClient { get; }

The underlying gRPC InterconnectRemoteLocations client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocationshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InterconnectRemoteLocations.InterconnectRemoteLocationsClient` |   |

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

## Methods

### Get(GetInterconnectRemoteLocationRequest, CallSettings)

    public override InterconnectRemoteLocation Get(GetInterconnectRemoteLocationRequest request, CallSettings callSettings = null)

Returns the details for the specified interconnect remote location. Gets a
list of available interconnect remote locations by making alist() request.

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

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

### GetAsync(GetInterconnectRemoteLocationRequest, CallSettings)

    public override Task<InterconnectRemoteLocation> GetAsync(GetInterconnectRemoteLocationRequest request, CallSettings callSettings = null)

Returns the details for the specified interconnect remote location. Gets a
list of available interconnect remote locations by making alist() request.

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

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

### List(ListInterconnectRemoteLocationsRequest, CallSettings)

    public override PagedEnumerable<InterconnectRemoteLocationList, InterconnectRemoteLocation> List(ListInterconnectRemoteLocationsRequest request, CallSettings callSettings = null)

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

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

### ListAsync(ListInterconnectRemoteLocationsRequest, CallSettings)

    public override PagedAsyncEnumerable<InterconnectRemoteLocationList, InterconnectRemoteLocation> ListAsync(ListInterconnectRemoteLocationsRequest request, CallSettings callSettings = null)

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

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