Game Services v1 API - Class GameServerClustersService.GameServerClustersServiceBase (2.1.0)

[BindServiceMethod(typeof(GameServerClustersService), "BindService")]
public abstract class GameServerClustersServiceBase

Reference documentation and code samples for the Game Services v1 API class GameServerClustersService.GameServerClustersServiceBase.

Base class for server-side implementations of GameServerClustersService

Inheritance

Object > GameServerClustersService.GameServerClustersServiceBase

Namespace

Google.Cloud.Gaming.V1

Assembly

Google.Cloud.Gaming.V1.dll

Methods

CreateGameServerCluster(CreateGameServerClusterRequest, ServerCallContext)

public virtual Task<Operation> CreateGameServerCluster(CreateGameServerClusterRequest request, ServerCallContext context)

Creates a new game server cluster in a given project and location.

Parameters
NameDescription
requestCreateGameServerClusterRequest

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

DeleteGameServerCluster(DeleteGameServerClusterRequest, ServerCallContext)

public virtual Task<Operation> DeleteGameServerCluster(DeleteGameServerClusterRequest request, ServerCallContext context)

Deletes a single game server cluster.

Parameters
NameDescription
requestDeleteGameServerClusterRequest

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

GetGameServerCluster(GetGameServerClusterRequest, ServerCallContext)

public virtual Task<GameServerCluster> GetGameServerCluster(GetGameServerClusterRequest request, ServerCallContext context)

Gets details of a single game server cluster.

Parameters
NameDescription
requestGetGameServerClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<GameServerCluster>

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

ListGameServerClusters(ListGameServerClustersRequest, ServerCallContext)

public virtual Task<ListGameServerClustersResponse> ListGameServerClusters(ListGameServerClustersRequest request, ServerCallContext context)

Lists game server clusters in a given project and location.

Parameters
NameDescription
requestListGameServerClustersRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ListGameServerClustersResponse>

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

PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest, ServerCallContext)

public virtual Task<PreviewCreateGameServerClusterResponse> PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest request, ServerCallContext context)

Previews creation of a new game server cluster in a given project and location.

Parameters
NameDescription
requestPreviewCreateGameServerClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<PreviewCreateGameServerClusterResponse>

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

PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest, ServerCallContext)

public virtual Task<PreviewDeleteGameServerClusterResponse> PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest request, ServerCallContext context)

Previews deletion of a single game server cluster.

Parameters
NameDescription
requestPreviewDeleteGameServerClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<PreviewDeleteGameServerClusterResponse>

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

PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest, ServerCallContext)

public virtual Task<PreviewUpdateGameServerClusterResponse> PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest request, ServerCallContext context)

Previews updating a GameServerCluster.

Parameters
NameDescription
requestPreviewUpdateGameServerClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<PreviewUpdateGameServerClusterResponse>

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

UpdateGameServerCluster(UpdateGameServerClusterRequest, ServerCallContext)

public virtual Task<Operation> UpdateGameServerCluster(UpdateGameServerClusterRequest request, ServerCallContext context)

Patches a single game server cluster.

Parameters
NameDescription
requestUpdateGameServerClusterRequest

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