1.4.0 (latest) 1.3.0 1.2.0 1.1.0 1.0.0

    public class AppGatewaysService.AppGatewaysServiceClient : ClientBase<AppGatewaysService.AppGatewaysServiceClient>

Reference documentation and code samples for the BeyondCorp AppGateways v1 API class AppGatewaysService.AppGatewaysServiceClient.

Client for AppGatewaysService

## 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)[AppGatewaysService](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BeyondCorp.AppGateways.V1/latest/Google.Cloud.BeyondCorp.AppGateways.V1.AppGatewaysService.md.txt)[AppGatewaysServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BeyondCorp.AppGateways.V1/latest/Google.Cloud.BeyondCorp.AppGateways.V1.AppGatewaysService.AppGatewaysServiceClient.md.txt) \> AppGatewaysService.AppGatewaysServiceClient

## Inherited Members

[ClientBase\<AppGatewaysService.AppGatewaysServiceClient\>.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.AppGateways.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BeyondCorp.AppGateways.V1/latest/Google.Cloud.BeyondCorp.AppGateways.V1.md.txt)

## Assembly

Google.Cloud.BeyondCorp.AppGateways.V1.dll

## Constructors

### AppGatewaysServiceClient()

    protected AppGatewaysServiceClient()

Protected parameterless constructor to allow creation of test doubles.

### AppGatewaysServiceClient(CallInvoker)

    public AppGatewaysServiceClient(CallInvoker callInvoker)

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

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

### AppGatewaysServiceClient(ChannelBase)

    public AppGatewaysServiceClient(ChannelBase channel)

Creates a new client for AppGatewaysService

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

### AppGatewaysServiceClient(ClientBaseConfiguration)

    protected AppGatewaysServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

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

## Methods

### CreateAppGateway(CreateAppGatewayRequest, CallOptions)

    public virtual Operation CreateAppGateway(CreateAppGatewayRequest request, CallOptions options)

Creates a new AppGateway in a given project and location.

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

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

### CreateAppGateway(CreateAppGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new AppGateway in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAppGatewayRequest` 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. |

### CreateAppGatewayAsync(CreateAppGatewayRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> CreateAppGatewayAsync(CreateAppGatewayRequest request, CallOptions options)

Creates a new AppGateway in a given project and location.

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

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

### CreateAppGatewayAsync(CreateAppGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new AppGateway in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAppGatewayRequest` 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. |

### DeleteAppGateway(DeleteAppGatewayRequest, CallOptions)

    public virtual Operation DeleteAppGateway(DeleteAppGatewayRequest request, CallOptions options)

Deletes a single AppGateway.

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

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

### DeleteAppGateway(DeleteAppGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single AppGateway.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAppGatewayRequest` 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. |

### DeleteAppGatewayAsync(DeleteAppGatewayRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> DeleteAppGatewayAsync(DeleteAppGatewayRequest request, CallOptions options)

Deletes a single AppGateway.

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

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

### DeleteAppGatewayAsync(DeleteAppGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single AppGateway.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAppGatewayRequest` 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. |

### GetAppGateway(GetAppGatewayRequest, CallOptions)

    public virtual AppGateway GetAppGateway(GetAppGatewayRequest request, CallOptions options)

Gets details of a single AppGateway.

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

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

### GetAppGateway(GetAppGatewayRequest, Metadata, DateTime?, CancellationToken)

    public virtual AppGateway GetAppGateway(GetAppGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single AppGateway.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAppGatewayRequest` 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** |
| `AppGateway` | The response received from the server. |

### GetAppGatewayAsync(GetAppGatewayRequest, CallOptions)

    public virtual AsyncUnaryCall<AppGateway> GetAppGatewayAsync(GetAppGatewayRequest request, CallOptions options)

Gets details of a single AppGateway.

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

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

### GetAppGatewayAsync(GetAppGatewayRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<AppGateway> GetAppGatewayAsync(GetAppGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single AppGateway.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAppGatewayRequest` 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** |
| `AsyncUnaryCallAppGateway` | The call object. |

### ListAppGateways(ListAppGatewaysRequest, CallOptions)

    public virtual ListAppGatewaysResponse ListAppGateways(ListAppGatewaysRequest request, CallOptions options)

Lists AppGateways in a given project and location.

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

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

### ListAppGateways(ListAppGatewaysRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListAppGatewaysResponse ListAppGateways(ListAppGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists AppGateways in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAppGatewaysRequest` 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** |
| `ListAppGatewaysResponse` | The response received from the server. |

### ListAppGatewaysAsync(ListAppGatewaysRequest, CallOptions)

    public virtual AsyncUnaryCall<ListAppGatewaysResponse> ListAppGatewaysAsync(ListAppGatewaysRequest request, CallOptions options)

Lists AppGateways in a given project and location.

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

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

### ListAppGatewaysAsync(ListAppGatewaysRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListAppGatewaysResponse> ListAppGatewaysAsync(ListAppGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists AppGateways in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAppGatewaysRequest` 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** |
| `AsyncUnaryCallListAppGatewaysResponse` | The call object. |

### NewInstance(ClientBaseConfiguration)

    protected override AppGatewaysService.AppGatewaysServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

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

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AppGatewaysServiceAppGatewaysServiceClient` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.BeyondCorp.AppGateways.V1.AppGatewaysService.AppGatewaysServiceClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)