[BindServiceMethod(typeof(GameServerConfigsService), "BindService")]
public abstract class GameServerConfigsService.GameServerConfigsServiceBase
Reference documentation and code samples for the Google Cloud for Games v1beta API class GameServerConfigsService.GameServerConfigsServiceBase.
Base class for server-side implementations of GameServerConfigsService
Namespace
Google.Cloud.Gaming.V1BetaAssembly
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 | |
---|---|
Name | Description |
request | CreateGameServerConfigRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation | 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 | DeleteGameServerConfigRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation | 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 | GetGameServerConfigRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskGameServerConfig | 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 | ListGameServerConfigsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListGameServerConfigsResponse | The response to send back to the client (wrapped by a task). |