GameServerConfigsService

google.cloud.gaming.v1. GameServerConfigsService

Represents a GameServerConfigsService

Constructor

new GameServerConfigsService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new GameServerConfigsService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {GameServerConfigsService}

Creates new GameServerConfigsService service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

createGameServerConfig(request, callback) → {undefined}

Calls CreateGameServerConfig.

Parameters:
Name Type Description
request google.cloud.gaming.v1.ICreateGameServerConfigRequest

CreateGameServerConfigRequest message or plain object

callback google.cloud.gaming.v1.GameServerConfigsService.CreateGameServerConfigCallback

Node-style callback called with the error, if any, and Operation

createGameServerConfig(request) → {Promise.<google.longrunning.Operation>}

Calls CreateGameServerConfig.

Parameters:
Name Type Description
request google.cloud.gaming.v1.ICreateGameServerConfigRequest

CreateGameServerConfigRequest message or plain object

deleteGameServerConfig(request, callback) → {undefined}

Calls DeleteGameServerConfig.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IDeleteGameServerConfigRequest

DeleteGameServerConfigRequest message or plain object

callback google.cloud.gaming.v1.GameServerConfigsService.DeleteGameServerConfigCallback

Node-style callback called with the error, if any, and Operation

deleteGameServerConfig(request) → {Promise.<google.longrunning.Operation>}

Calls DeleteGameServerConfig.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IDeleteGameServerConfigRequest

DeleteGameServerConfigRequest message or plain object

getGameServerConfig(request, callback) → {undefined}

Calls GetGameServerConfig.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IGetGameServerConfigRequest

GetGameServerConfigRequest message or plain object

callback google.cloud.gaming.v1.GameServerConfigsService.GetGameServerConfigCallback

Node-style callback called with the error, if any, and GameServerConfig

getGameServerConfig(request) → {Promise.<google.cloud.gaming.v1.GameServerConfig>}

Calls GetGameServerConfig.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IGetGameServerConfigRequest

GetGameServerConfigRequest message or plain object

listGameServerConfigs(request, callback) → {undefined}

Calls ListGameServerConfigs.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IListGameServerConfigsRequest

ListGameServerConfigsRequest message or plain object

callback google.cloud.gaming.v1.GameServerConfigsService.ListGameServerConfigsCallback

Node-style callback called with the error, if any, and ListGameServerConfigsResponse

listGameServerConfigs(request) → {Promise.<google.cloud.gaming.v1.ListGameServerConfigsResponse>}

Calls ListGameServerConfigs.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IListGameServerConfigsRequest

ListGameServerConfigsRequest message or plain object

Type Definitions

CreateGameServerConfigCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerConfigsService#createGameServerConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

DeleteGameServerConfigCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerConfigsService#deleteGameServerConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

GetGameServerConfigCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerConfigsService#getGameServerConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.gaming.v1.GameServerConfig <optional>

GameServerConfig

ListGameServerConfigsCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerConfigsService#listGameServerConfigs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.gaming.v1.ListGameServerConfigsResponse <optional>

ListGameServerConfigsResponse