2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public class ApiGatewayService.ApiGatewayServiceClient : ClientBase<ApiGatewayService.ApiGatewayServiceClient>

Reference documentation and code samples for the API Gateway v1 API class ApiGatewayService.ApiGatewayServiceClient.

Client for ApiGatewayService

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

## Inherited Members

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

## Assembly

Google.Cloud.ApiGateway.V1.dll

## Constructors

### ApiGatewayServiceClient()

    protected ApiGatewayServiceClient()

Protected parameterless constructor to allow creation of test doubles.

### ApiGatewayServiceClient(CallInvoker)

    public ApiGatewayServiceClient(CallInvoker callInvoker)

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

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

### ApiGatewayServiceClient(ChannelBase)

    public ApiGatewayServiceClient(ChannelBase channel)

Creates a new client for ApiGatewayService

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

### ApiGatewayServiceClient(ClientBaseConfiguration)

    protected ApiGatewayServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

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

## Methods

### CreateApi(CreateApiRequest, CallOptions)

    public virtual Operation CreateApi(CreateApiRequest request, CallOptions options)

Creates a new Api in a given project and location.

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

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

### CreateApi(CreateApiRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Api in a given project and location.

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

### CreateApiAsync(CreateApiRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> CreateApiAsync(CreateApiRequest request, CallOptions options)

Creates a new Api in a given project and location.

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

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

### CreateApiAsync(CreateApiRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Api in a given project and location.

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

### CreateApiConfig(CreateApiConfigRequest, CallOptions)

    public virtual Operation CreateApiConfig(CreateApiConfigRequest request, CallOptions options)

Creates a new ApiConfig in a given project and location.

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

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

### CreateApiConfig(CreateApiConfigRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new ApiConfig in a given project and location.

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

### CreateApiConfigAsync(CreateApiConfigRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> CreateApiConfigAsync(CreateApiConfigRequest request, CallOptions options)

Creates a new ApiConfig in a given project and location.

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

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

### CreateApiConfigAsync(CreateApiConfigRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new ApiConfig in a given project and location.

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

### CreateGateway(CreateGatewayRequest, CallOptions)

    public virtual Operation CreateGateway(CreateGatewayRequest request, CallOptions options)

Creates a new Gateway in a given project and location.

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

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

### CreateGateway(CreateGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Gateway in a given project and location.

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

### CreateGatewayAsync(CreateGatewayRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> CreateGatewayAsync(CreateGatewayRequest request, CallOptions options)

Creates a new Gateway in a given project and location.

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

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

### CreateGatewayAsync(CreateGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Gateway in a given project and location.

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

### 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. |

### DeleteApi(DeleteApiRequest, CallOptions)

    public virtual Operation DeleteApi(DeleteApiRequest request, CallOptions options)

Deletes a single Api.

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

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

### DeleteApi(DeleteApiRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single Api.

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

### DeleteApiAsync(DeleteApiRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> DeleteApiAsync(DeleteApiRequest request, CallOptions options)

Deletes a single Api.

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

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

### DeleteApiAsync(DeleteApiRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single Api.

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

### DeleteApiConfig(DeleteApiConfigRequest, CallOptions)

    public virtual Operation DeleteApiConfig(DeleteApiConfigRequest request, CallOptions options)

Deletes a single ApiConfig.

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

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

### DeleteApiConfig(DeleteApiConfigRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single ApiConfig.

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

### DeleteApiConfigAsync(DeleteApiConfigRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> DeleteApiConfigAsync(DeleteApiConfigRequest request, CallOptions options)

Deletes a single ApiConfig.

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

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

### DeleteApiConfigAsync(DeleteApiConfigRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single ApiConfig.

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

### DeleteGateway(DeleteGatewayRequest, CallOptions)

    public virtual Operation DeleteGateway(DeleteGatewayRequest request, CallOptions options)

Deletes a single Gateway.

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

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

### DeleteGateway(DeleteGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single Gateway.

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

### DeleteGatewayAsync(DeleteGatewayRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> DeleteGatewayAsync(DeleteGatewayRequest request, CallOptions options)

Deletes a single Gateway.

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

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

### DeleteGatewayAsync(DeleteGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single Gateway.

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

### GetApi(GetApiRequest, CallOptions)

    public virtual Api GetApi(GetApiRequest request, CallOptions options)

Gets details of a single Api.

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

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

### GetApi(GetApiRequest, Metadata, DateTime?, CancellationToken)

    public virtual Api GetApi(GetApiRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Api.

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

### GetApiAsync(GetApiRequest, CallOptions)

    public virtual AsyncUnaryCall<Api> GetApiAsync(GetApiRequest request, CallOptions options)

Gets details of a single Api.

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

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

### GetApiAsync(GetApiRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Api> GetApiAsync(GetApiRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Api.

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

### GetApiConfig(GetApiConfigRequest, CallOptions)

    public virtual ApiConfig GetApiConfig(GetApiConfigRequest request, CallOptions options)

Gets details of a single ApiConfig.

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

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

### GetApiConfig(GetApiConfigRequest, Metadata, DateTime?, CancellationToken)

    public virtual ApiConfig GetApiConfig(GetApiConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single ApiConfig.

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

### GetApiConfigAsync(GetApiConfigRequest, CallOptions)

    public virtual AsyncUnaryCall<ApiConfig> GetApiConfigAsync(GetApiConfigRequest request, CallOptions options)

Gets details of a single ApiConfig.

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

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

### GetApiConfigAsync(GetApiConfigRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ApiConfig> GetApiConfigAsync(GetApiConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single ApiConfig.

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

### GetGateway(GetGatewayRequest, CallOptions)

    public virtual Gateway GetGateway(GetGatewayRequest request, CallOptions options)

Gets details of a single Gateway.

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

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

### GetGateway(GetGatewayRequest, Metadata, DateTime?, CancellationToken)

    public virtual Gateway GetGateway(GetGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Gateway.

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

### GetGatewayAsync(GetGatewayRequest, CallOptions)

    public virtual AsyncUnaryCall<Gateway> GetGatewayAsync(GetGatewayRequest request, CallOptions options)

Gets details of a single Gateway.

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

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

### GetGatewayAsync(GetGatewayRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Gateway> GetGatewayAsync(GetGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Gateway.

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

### ListApiConfigs(ListApiConfigsRequest, CallOptions)

    public virtual ListApiConfigsResponse ListApiConfigs(ListApiConfigsRequest request, CallOptions options)

Lists ApiConfigs in a given project and location.

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

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

### ListApiConfigs(ListApiConfigsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListApiConfigsResponse ListApiConfigs(ListApiConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists ApiConfigs in a given project and location.

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

### ListApiConfigsAsync(ListApiConfigsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListApiConfigsResponse> ListApiConfigsAsync(ListApiConfigsRequest request, CallOptions options)

Lists ApiConfigs in a given project and location.

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

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

### ListApiConfigsAsync(ListApiConfigsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListApiConfigsResponse> ListApiConfigsAsync(ListApiConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists ApiConfigs in a given project and location.

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

### ListApis(ListApisRequest, CallOptions)

    public virtual ListApisResponse ListApis(ListApisRequest request, CallOptions options)

Lists Apis in a given project and location.

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

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

### ListApis(ListApisRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListApisResponse ListApis(ListApisRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Apis in a given project and location.

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

### ListApisAsync(ListApisRequest, CallOptions)

    public virtual AsyncUnaryCall<ListApisResponse> ListApisAsync(ListApisRequest request, CallOptions options)

Lists Apis in a given project and location.

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

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

### ListApisAsync(ListApisRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListApisResponse> ListApisAsync(ListApisRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Apis in a given project and location.

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

### ListGateways(ListGatewaysRequest, CallOptions)

    public virtual ListGatewaysResponse ListGateways(ListGatewaysRequest request, CallOptions options)

Lists Gateways in a given project and location.

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

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

### ListGateways(ListGatewaysRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListGatewaysResponse ListGateways(ListGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Gateways in a given project and location.

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

### ListGatewaysAsync(ListGatewaysRequest, CallOptions)

    public virtual AsyncUnaryCall<ListGatewaysResponse> ListGatewaysAsync(ListGatewaysRequest request, CallOptions options)

Lists Gateways in a given project and location.

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

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

### ListGatewaysAsync(ListGatewaysRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListGatewaysResponse> ListGatewaysAsync(ListGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Gateways in a given project and location.

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

### NewInstance(ClientBaseConfiguration)

    protected override ApiGatewayService.ApiGatewayServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

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

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ApiGatewayServiceApiGatewayServiceClient` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.ApiGateway.V1.ApiGatewayService.ApiGatewayServiceClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

### UpdateApi(UpdateApiRequest, CallOptions)

    public virtual Operation UpdateApi(UpdateApiRequest request, CallOptions options)

Updates the parameters of a single Api.

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

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

### UpdateApi(UpdateApiRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single Api.

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

### UpdateApiAsync(UpdateApiRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> UpdateApiAsync(UpdateApiRequest request, CallOptions options)

Updates the parameters of a single Api.

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

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

### UpdateApiAsync(UpdateApiRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single Api.

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

### UpdateApiConfig(UpdateApiConfigRequest, CallOptions)

    public virtual Operation UpdateApiConfig(UpdateApiConfigRequest request, CallOptions options)

Updates the parameters of a single ApiConfig.

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

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

### UpdateApiConfig(UpdateApiConfigRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single ApiConfig.

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

### UpdateApiConfigAsync(UpdateApiConfigRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> UpdateApiConfigAsync(UpdateApiConfigRequest request, CallOptions options)

Updates the parameters of a single ApiConfig.

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

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

### UpdateApiConfigAsync(UpdateApiConfigRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single ApiConfig.

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

### UpdateGateway(UpdateGatewayRequest, CallOptions)

    public virtual Operation UpdateGateway(UpdateGatewayRequest request, CallOptions options)

Updates the parameters of a single Gateway.

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

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

### UpdateGateway(UpdateGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single Gateway.

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

### UpdateGatewayAsync(UpdateGatewayRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> UpdateGatewayAsync(UpdateGatewayRequest request, CallOptions options)

Updates the parameters of a single Gateway.

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

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

### UpdateGatewayAsync(UpdateGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single Gateway.

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