Class GameServerConfigsService.GameServerConfigsServiceBase (1.0.0-beta09)

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

Base class for server-side implementations of GameServerConfigsService

Inheritance

Object > GameServerConfigsService.GameServerConfigsServiceBase

Namespace

Google.Cloud.Gaming.V1Beta

Assembly

Google.Cloud.Gaming.V1Beta.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
NameDescription
requestCreateGameServerConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

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
NameDescription
requestDeleteGameServerConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

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
NameDescription
requestGetGameServerConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<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
NameDescription
requestListGameServerConfigsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListGameServerConfigsResponse>

The response to send back to the client (wrapped by a task).