Google Cloud for Games v1beta API - Class GameServerDeploymentsService.GameServerDeploymentsServiceBase (2.0.0-beta03)

[BindServiceMethod(typeof(GameServerDeploymentsService), "BindService")]
public abstract class GameServerDeploymentsService.GameServerDeploymentsServiceBase

Reference documentation and code samples for the Google Cloud for Games v1beta API class GameServerDeploymentsService.GameServerDeploymentsServiceBase.

Base class for server-side implementations of GameServerDeploymentsService

Inheritance

object > GameServerDeploymentsService.GameServerDeploymentsServiceBase

Namespace

Google.Cloud.Gaming.V1Beta

Assembly

Google.Cloud.Gaming.V1Beta.dll

Methods

CreateGameServerDeployment(CreateGameServerDeploymentRequest, ServerCallContext)

public virtual Task<Operation> CreateGameServerDeployment(CreateGameServerDeploymentRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestCreateGameServerDeploymentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

DeleteGameServerDeployment(DeleteGameServerDeploymentRequest, ServerCallContext)

public virtual Task<Operation> DeleteGameServerDeployment(DeleteGameServerDeploymentRequest request, ServerCallContext context)

Deletes a single game server deployment.

Parameters
NameDescription
requestDeleteGameServerDeploymentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

FetchDeploymentState(FetchDeploymentStateRequest, ServerCallContext)

public virtual Task<FetchDeploymentStateResponse> FetchDeploymentState(FetchDeploymentStateRequest request, ServerCallContext context)

Retrieves information about the current state of the game server deployment. Gathers all the Agones fleets and Agones autoscalers, including fleets running an older version of the game server deployment.

Parameters
NameDescription
requestFetchDeploymentStateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskFetchDeploymentStateResponse

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

GetGameServerDeployment(GetGameServerDeploymentRequest, ServerCallContext)

public virtual Task<GameServerDeployment> GetGameServerDeployment(GetGameServerDeploymentRequest request, ServerCallContext context)

Gets details of a single game server deployment.

Parameters
NameDescription
requestGetGameServerDeploymentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskGameServerDeployment

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

GetGameServerDeploymentRollout(GetGameServerDeploymentRolloutRequest, ServerCallContext)

public virtual Task<GameServerDeploymentRollout> GetGameServerDeploymentRollout(GetGameServerDeploymentRolloutRequest request, ServerCallContext context)

Gets details a single game server deployment rollout.

Parameters
NameDescription
requestGetGameServerDeploymentRolloutRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskGameServerDeploymentRollout

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

ListGameServerDeployments(ListGameServerDeploymentsRequest, ServerCallContext)

public virtual Task<ListGameServerDeploymentsResponse> ListGameServerDeployments(ListGameServerDeploymentsRequest request, ServerCallContext context)

Lists game server deployments in a given project and location.

Parameters
NameDescription
requestListGameServerDeploymentsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListGameServerDeploymentsResponse

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

PreviewGameServerDeploymentRollout(PreviewGameServerDeploymentRolloutRequest, ServerCallContext)

public virtual Task<PreviewGameServerDeploymentRolloutResponse> PreviewGameServerDeploymentRollout(PreviewGameServerDeploymentRolloutRequest request, ServerCallContext context)

Previews the game server deployment rollout. This API does not mutate the rollout resource.

Parameters
NameDescription
requestPreviewGameServerDeploymentRolloutRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskPreviewGameServerDeploymentRolloutResponse

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

UpdateGameServerDeployment(UpdateGameServerDeploymentRequest, ServerCallContext)

public virtual Task<Operation> UpdateGameServerDeployment(UpdateGameServerDeploymentRequest request, ServerCallContext context)

Patches a game server deployment.

Parameters
NameDescription
requestUpdateGameServerDeploymentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

UpdateGameServerDeploymentRollout(UpdateGameServerDeploymentRolloutRequest, ServerCallContext)

public virtual Task<Operation> UpdateGameServerDeploymentRollout(UpdateGameServerDeploymentRolloutRequest request, ServerCallContext context)

Patches a single game server deployment rollout. The method will not return an error if the update does not affect any existing realms. For example - if the default_game_server_config is changed but all existing realms use the override, that is valid. Similarly, if a non existing realm is explicitly called out in game_server_config_overrides field, that will also not result in an error.

Parameters
NameDescription
requestUpdateGameServerDeploymentRolloutRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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