1.5.0 (latest) 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public class AppConnectionsService.AppConnectionsServiceClient : ClientBase<AppConnectionsService.AppConnectionsServiceClient>

Reference documentation and code samples for the BeyondCorp AppConnections v1 API class AppConnectionsService.AppConnectionsServiceClient.

Client for AppConnectionsService

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt)[AppConnectionsService](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BeyondCorp.AppConnections.V1/latest/Google.Cloud.BeyondCorp.AppConnections.V1.AppConnectionsService.md.txt)[AppConnectionsServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BeyondCorp.AppConnections.V1/latest/Google.Cloud.BeyondCorp.AppConnections.V1.AppConnectionsService.AppConnectionsServiceClient.md.txt) \> AppConnectionsService.AppConnectionsServiceClient

## Inherited Members

[ClientBase\<AppConnectionsService.AppConnectionsServiceClient\>.WithHost(string)](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt#Grpc_Core_ClientBase_1_WithHost_System_String_) [ClientBase.CallInvoker](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt#Grpc_Core_ClientBase_CallInvoker) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BeyondCorp.AppConnections.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BeyondCorp.AppConnections.V1/latest/Google.Cloud.BeyondCorp.AppConnections.V1.md.txt)

## Assembly

Google.Cloud.BeyondCorp.AppConnections.V1.dll

## Constructors

### AppConnectionsServiceClient()

    protected AppConnectionsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

### AppConnectionsServiceClient(CallInvoker)

    public AppConnectionsServiceClient(CallInvoker callInvoker)

Creates a new client for AppConnectionsService that uses a custom `CallInvoker`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `callInvoker` | `CallInvoker` The callInvoker to use to make remote calls. |

### AppConnectionsServiceClient(ChannelBase)

    public AppConnectionsServiceClient(ChannelBase channel)

Creates a new client for AppConnectionsService

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `ChannelBase` The channel to use to make remote calls. |

### AppConnectionsServiceClient(ClientBaseConfiguration)

    protected AppConnectionsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` The client configuration. |

## Methods

### CreateAppConnection(CreateAppConnectionRequest, CallOptions)

    public virtual Operation CreateAppConnection(CreateAppConnectionRequest request, CallOptions options)

Creates a new AppConnection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAppConnectionRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### CreateAppConnection(CreateAppConnectionRequest, Metadata, DateTime?, CancellationToken)

    public virtual Operation CreateAppConnection(CreateAppConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new AppConnection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAppConnectionRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### CreateAppConnectionAsync(CreateAppConnectionRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> CreateAppConnectionAsync(CreateAppConnectionRequest request, CallOptions options)

Creates a new AppConnection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAppConnectionRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### CreateAppConnectionAsync(CreateAppConnectionRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Operation> CreateAppConnectionAsync(CreateAppConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new AppConnection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAppConnectionRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### CreateIAMPolicyClient()

    public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of [IAMPolicy.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.IAMPolicyClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IAMPolicyIAMPolicyClient` | A new [IAMPolicy.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.IAMPolicyClient.md.txt) for the same target as this client. |

### CreateLocationsClient()

    public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of [Locations.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Locations.LocationsClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `LocationsLocationsClient` | A new [Locations.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Locations.LocationsClient.md.txt) for the same target as this client. |

### CreateOperationsClient()

    public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of [Operations.OperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operations.OperationsClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationsOperationsClient` | A new Operations client for the same target as this client. |

### DeleteAppConnection(DeleteAppConnectionRequest, CallOptions)

    public virtual Operation DeleteAppConnection(DeleteAppConnectionRequest request, CallOptions options)

Deletes a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAppConnectionRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### DeleteAppConnection(DeleteAppConnectionRequest, Metadata, DateTime?, CancellationToken)

    public virtual Operation DeleteAppConnection(DeleteAppConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAppConnectionRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### DeleteAppConnectionAsync(DeleteAppConnectionRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> DeleteAppConnectionAsync(DeleteAppConnectionRequest request, CallOptions options)

Deletes a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAppConnectionRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### DeleteAppConnectionAsync(DeleteAppConnectionRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Operation> DeleteAppConnectionAsync(DeleteAppConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAppConnectionRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### GetAppConnection(GetAppConnectionRequest, CallOptions)

    public virtual AppConnection GetAppConnection(GetAppConnectionRequest request, CallOptions options)

Gets details of a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAppConnectionRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AppConnection` | The response received from the server. |

### GetAppConnection(GetAppConnectionRequest, Metadata, DateTime?, CancellationToken)

    public virtual AppConnection GetAppConnection(GetAppConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAppConnectionRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AppConnection` | The response received from the server. |

### GetAppConnectionAsync(GetAppConnectionRequest, CallOptions)

    public virtual AsyncUnaryCall<AppConnection> GetAppConnectionAsync(GetAppConnectionRequest request, CallOptions options)

Gets details of a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAppConnectionRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallAppConnection` | The call object. |

### GetAppConnectionAsync(GetAppConnectionRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<AppConnection> GetAppConnectionAsync(GetAppConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAppConnectionRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallAppConnection` | The call object. |

### ListAppConnections(ListAppConnectionsRequest, CallOptions)

    public virtual ListAppConnectionsResponse ListAppConnections(ListAppConnectionsRequest request, CallOptions options)

Lists AppConnections in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAppConnectionsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListAppConnectionsResponse` | The response received from the server. |

### ListAppConnections(ListAppConnectionsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListAppConnectionsResponse ListAppConnections(ListAppConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists AppConnections in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAppConnectionsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListAppConnectionsResponse` | The response received from the server. |

### ListAppConnectionsAsync(ListAppConnectionsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListAppConnectionsResponse> ListAppConnectionsAsync(ListAppConnectionsRequest request, CallOptions options)

Lists AppConnections in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAppConnectionsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListAppConnectionsResponse` | The call object. |

### ListAppConnectionsAsync(ListAppConnectionsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListAppConnectionsResponse> ListAppConnectionsAsync(ListAppConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists AppConnections in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAppConnectionsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListAppConnectionsResponse` | The call object. |

### NewInstance(ClientBaseConfiguration)

    protected override AppConnectionsService.AppConnectionsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given `ClientBaseConfiguration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AppConnectionsServiceAppConnectionsServiceClient` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.BeyondCorp.AppConnections.V1.AppConnectionsService.AppConnectionsServiceClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

### ResolveAppConnections(ResolveAppConnectionsRequest, CallOptions)

    public virtual ResolveAppConnectionsResponse ResolveAppConnections(ResolveAppConnectionsRequest request, CallOptions options)

Resolves AppConnections details for a given AppConnector.
An internal method called by a connector to find AppConnections to connect
to.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ResolveAppConnectionsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ResolveAppConnectionsResponse` | The response received from the server. |

### ResolveAppConnections(ResolveAppConnectionsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ResolveAppConnectionsResponse ResolveAppConnections(ResolveAppConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Resolves AppConnections details for a given AppConnector.
An internal method called by a connector to find AppConnections to connect
to.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ResolveAppConnectionsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ResolveAppConnectionsResponse` | The response received from the server. |

### ResolveAppConnectionsAsync(ResolveAppConnectionsRequest, CallOptions)

    public virtual AsyncUnaryCall<ResolveAppConnectionsResponse> ResolveAppConnectionsAsync(ResolveAppConnectionsRequest request, CallOptions options)

Resolves AppConnections details for a given AppConnector.
An internal method called by a connector to find AppConnections to connect
to.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ResolveAppConnectionsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallResolveAppConnectionsResponse` | The call object. |

### ResolveAppConnectionsAsync(ResolveAppConnectionsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ResolveAppConnectionsResponse> ResolveAppConnectionsAsync(ResolveAppConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Resolves AppConnections details for a given AppConnector.
An internal method called by a connector to find AppConnections to connect
to.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ResolveAppConnectionsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallResolveAppConnectionsResponse` | The call object. |

### UpdateAppConnection(UpdateAppConnectionRequest, CallOptions)

    public virtual Operation UpdateAppConnection(UpdateAppConnectionRequest request, CallOptions options)

Updates the parameters of a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateAppConnectionRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### UpdateAppConnection(UpdateAppConnectionRequest, Metadata, DateTime?, CancellationToken)

    public virtual Operation UpdateAppConnection(UpdateAppConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateAppConnectionRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### UpdateAppConnectionAsync(UpdateAppConnectionRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> UpdateAppConnectionAsync(UpdateAppConnectionRequest request, CallOptions options)

Updates the parameters of a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateAppConnectionRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### UpdateAppConnectionAsync(UpdateAppConnectionRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Operation> UpdateAppConnectionAsync(UpdateAppConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single AppConnection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateAppConnectionRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |