# Game Services v1 API - Class GameServerConfigsService.GameServerConfigsServiceBase (2.2.0)

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

- [2.2.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerConfigsService.GameServerConfigsServiceBase)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.GameServerConfigsService.GameServerConfigsServiceBase)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.GameServerConfigsService.GameServerConfigsServiceBase)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.GameServerConfigsService.GameServerConfigsServiceBase)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.GameServerConfigsService.GameServerConfigsServiceBase)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.GameServerConfigsService.GameServerConfigsServiceBase)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.GameServerConfigsService.GameServerConfigsServiceBase)

    [BindServiceMethod(typeof(GameServerConfigsService), "BindService")]
    public abstract class GameServerConfigsService.GameServerConfigsServiceBase

Reference documentation and code samples for the Game Services v1 API class GameServerConfigsService.GameServerConfigsServiceBase.

Base class for server-side implementations of GameServerConfigsService

## Inheritance

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

## 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.Gaming.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1)

## Assembly

Google.Cloud.Gaming.V1.dll

## Methods

### CreateGameServerConfig(CreateGameServerConfigRequest, ServerCallContext)

    public virtual Task<Operation> CreateGameServerConfig(CreateGameServerConfigRequest request, ServerCallContext context)

Creates a new game server config in a given project, location, and game
server deployment. Game server configs are immutable, and are not applied
until referenced in the game server deployment rollout resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.CreateGameServerConfigRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://github.com/googleapis/google-cloud-dotnet/blob/abf311d7d0649ce9e47aac5c9bae36cb75a5a218/apis/Google.LongRunning/Google.LongRunning/Operations.g.cs` | The response to send back to the client (wrapped by a task). |

### DeleteGameServerConfig(DeleteGameServerConfigRequest, ServerCallContext)

    public virtual Task<Operation> DeleteGameServerConfig(DeleteGameServerConfigRequest request, ServerCallContext context)

Deletes a single game server config. The deletion will fail if the game
server config is referenced in a game server deployment rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.DeleteGameServerConfigRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://github.com/googleapis/google-cloud-dotnet/blob/abf311d7d0649ce9e47aac5c9bae36cb75a5a218/apis/Google.LongRunning/Google.LongRunning/Operations.g.cs` | The response to send back to the client (wrapped by a task). |

### GetGameServerConfig(GetGameServerConfigRequest, ServerCallContext)

    public virtual Task<GameServerConfig> GetGameServerConfig(GetGameServerConfigRequest request, ServerCallContext context)

Gets details of a single game server config.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetGameServerConfigRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` 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.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerConfig` | The response to send back to the client (wrapped by a task). |

### ListGameServerConfigs(ListGameServerConfigsRequest, ServerCallContext)

    public virtual Task<ListGameServerConfigsResponse> ListGameServerConfigs(ListGameServerConfigsRequest request, ServerCallContext context)

Lists game server configs in a given project, location, and game server
deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.ListGameServerConfigsRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` 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.Gaming.V1/latest/Google.Cloud.Gaming.V1.ListGameServerConfigsResponse` | The response to send back to the client (wrapped by a task). |