2.5.0 (latest) 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public sealed class ConnectionServiceClientImpl : ConnectionServiceClient

Reference documentation and code samples for the Apigee Connect v1 API class ConnectionServiceClientImpl.

ConnectionService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ConnectionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt) \> ConnectionServiceClientImpl

## Inherited Members

[ConnectionServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_DefaultEndpoint) [ConnectionServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_DefaultScopes) [ConnectionServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_ServiceMetadata) [ConnectionServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_CreateAsync_System_Threading_CancellationToken_) [ConnectionServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_Create) [ConnectionServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_ShutdownDefaultChannelsAsync) [ConnectionServiceClient.ListConnections(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_ListConnections_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ConnectionServiceClient.ListConnectionsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_ListConnectionsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ConnectionServiceClient.ListConnections(EndpointName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_ListConnections_Google_Cloud_ApigeeConnect_V1_EndpointName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ConnectionServiceClient.ListConnectionsAsync(EndpointName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_ListConnectionsAsync_Google_Cloud_ApigeeConnect_V1_EndpointName_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.ApigeeConnect.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.md.txt)

## Assembly

Google.Cloud.ApigeeConnect.V1.dll

## Remarks

Service Interface for the Apigee Connect connection management APIs.

## Constructors

### ConnectionServiceClientImpl(ConnectionServiceClient, ConnectionServiceSettings, ILogger)

    public ConnectionServiceClientImpl(ConnectionService.ConnectionServiceClient grpcClient, ConnectionServiceSettings settings, ILogger logger)

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

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

## Properties

### GrpcClient

    public override ConnectionService.ConnectionServiceClient GrpcClient { get; }

The underlying gRPC ConnectionService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ConnectionServiceConnectionServiceClient` |   |

**Overrides** [ConnectionServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_GrpcClient)

## Methods

### ListConnections(ListConnectionsRequest, CallSettings)

    public override PagedEnumerable<ListConnectionsResponse, Connection> ListConnections(ListConnectionsRequest request, CallSettings callSettings = null)

Lists connections that are currently active for the given Apigee Connect
endpoint.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListConnectionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListConnectionsResponseConnection` | A pageable sequence of [Connection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.Connection.md.txt) resources. |

**Overrides** [ConnectionServiceClient.ListConnections(ListConnectionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_ListConnections_Google_Cloud_ApigeeConnect_V1_ListConnectionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListConnectionsAsync(ListConnectionsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListConnectionsResponse, Connection> ListConnectionsAsync(ListConnectionsRequest request, CallSettings callSettings = null)

Lists connections that are currently active for the given Apigee Connect
endpoint.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListConnectionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListConnectionsResponseConnection` | A pageable asynchronous sequence of [Connection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.Connection.md.txt) resources. |

**Overrides** [ConnectionServiceClient.ListConnectionsAsync(ListConnectionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeConnect.V1/latest/Google.Cloud.ApigeeConnect.V1.ConnectionServiceClient.md.txt#Google_Cloud_ApigeeConnect_V1_ConnectionServiceClient_ListConnectionsAsync_Google_Cloud_ApigeeConnect_V1_ListConnectionsRequest_Google_Api_Gax_Grpc_CallSettings_)