<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.ApiGatewayService.ApiGatewayServiceBase)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/2.4.0/Google.Cloud.ApiGateway.V1.ApiGatewayService.ApiGatewayServiceBase)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/2.3.0/Google.Cloud.ApiGateway.V1.ApiGatewayService.ApiGatewayServiceBase)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/2.2.0/Google.Cloud.ApiGateway.V1.ApiGatewayService.ApiGatewayServiceBase)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/2.1.0/Google.Cloud.ApiGateway.V1.ApiGatewayService.ApiGatewayServiceBase)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/2.0.0/Google.Cloud.ApiGateway.V1.ApiGatewayService.ApiGatewayServiceBase)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/1.1.0/Google.Cloud.ApiGateway.V1.ApiGatewayService.ApiGatewayServiceBase)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/1.0.0/Google.Cloud.ApiGateway.V1.ApiGatewayService.ApiGatewayServiceBase)

    [BindServiceMethod(typeof(ApiGatewayService), "BindService")]
    public abstract class ApiGatewayService.ApiGatewayServiceBase

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

Base class for server-side implementations of ApiGatewayService

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ApiGatewayService.ApiGatewayServiceBase

## Inherited Members

[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)

## Assembly

Google.Cloud.ApiGateway.V1.dll

## Methods

### CreateApi(CreateApiRequest, ServerCallContext)

    public virtual Task<Operation> CreateApi(CreateApiRequest request, ServerCallContext context)

Creates a new Api in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.CreateApiRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### CreateApiConfig(CreateApiConfigRequest, ServerCallContext)

    public virtual Task<Operation> CreateApiConfig(CreateApiConfigRequest request, ServerCallContext context)

Creates a new ApiConfig in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.CreateApiConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### CreateGateway(CreateGatewayRequest, ServerCallContext)

    public virtual Task<Operation> CreateGateway(CreateGatewayRequest request, ServerCallContext context)

Creates a new Gateway in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.CreateGatewayRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### DeleteApi(DeleteApiRequest, ServerCallContext)

    public virtual Task<Operation> DeleteApi(DeleteApiRequest request, ServerCallContext context)

Deletes a single Api.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.DeleteApiRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### DeleteApiConfig(DeleteApiConfigRequest, ServerCallContext)

    public virtual Task<Operation> DeleteApiConfig(DeleteApiConfigRequest request, ServerCallContext context)

Deletes a single ApiConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.DeleteApiConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### DeleteGateway(DeleteGatewayRequest, ServerCallContext)

    public virtual Task<Operation> DeleteGateway(DeleteGatewayRequest request, ServerCallContext context)

Deletes a single Gateway.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.DeleteGatewayRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### GetApi(GetApiRequest, ServerCallContext)

    public virtual Task<Api> GetApi(GetApiRequest request, ServerCallContext context)

Gets details of a single Api.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.GetApiRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.Api` | The response to send back to the client (wrapped by a task). |

### GetApiConfig(GetApiConfigRequest, ServerCallContext)

    public virtual Task<ApiConfig> GetApiConfig(GetApiConfigRequest request, ServerCallContext context)

Gets details of a single ApiConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.GetApiConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.ApiConfig` | The response to send back to the client (wrapped by a task). |

### GetGateway(GetGatewayRequest, ServerCallContext)

    public virtual Task<Gateway> GetGateway(GetGatewayRequest request, ServerCallContext context)

Gets details of a single Gateway.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.GetGatewayRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.Gateway` | The response to send back to the client (wrapped by a task). |

### ListApiConfigs(ListApiConfigsRequest, ServerCallContext)

    public virtual Task<ListApiConfigsResponse> ListApiConfigs(ListApiConfigsRequest request, ServerCallContext context)

Lists ApiConfigs in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.ListApiConfigsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.ListApiConfigsResponse` | The response to send back to the client (wrapped by a task). |

### ListApis(ListApisRequest, ServerCallContext)

    public virtual Task<ListApisResponse> ListApis(ListApisRequest request, ServerCallContext context)

Lists Apis in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.ListApisRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.ListApisResponse` | The response to send back to the client (wrapped by a task). |

### ListGateways(ListGatewaysRequest, ServerCallContext)

    public virtual Task<ListGatewaysResponse> ListGateways(ListGatewaysRequest request, ServerCallContext context)

Lists Gateways in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.ListGatewaysRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.ListGatewaysResponse` | The response to send back to the client (wrapped by a task). |

### UpdateApi(UpdateApiRequest, ServerCallContext)

    public virtual Task<Operation> UpdateApi(UpdateApiRequest request, ServerCallContext context)

Updates the parameters of a single Api.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.UpdateApiRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### UpdateApiConfig(UpdateApiConfigRequest, ServerCallContext)

    public virtual Task<Operation> UpdateApiConfig(UpdateApiConfigRequest request, ServerCallContext context)

Updates the parameters of a single ApiConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.UpdateApiConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### UpdateGateway(UpdateGatewayRequest, ServerCallContext)

    public virtual Task<Operation> UpdateGateway(UpdateGatewayRequest request, ServerCallContext context)

Updates the parameters of a single Gateway.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.UpdateGatewayRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |