GameServerClustersService

google.cloud.gaming.v1. GameServerClustersService

Represents a GameServerClustersService

Constructor

new GameServerClustersService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new GameServerClustersService 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) → {GameServerClustersService}

Creates new GameServerClustersService 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

createGameServerCluster(request, callback) → {undefined}

Calls CreateGameServerCluster.

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

CreateGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1.GameServerClustersService.CreateGameServerClusterCallback

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

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

Calls CreateGameServerCluster.

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

CreateGameServerClusterRequest message or plain object

deleteGameServerCluster(request, callback) → {undefined}

Calls DeleteGameServerCluster.

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

DeleteGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1.GameServerClustersService.DeleteGameServerClusterCallback

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

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

Calls DeleteGameServerCluster.

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

DeleteGameServerClusterRequest message or plain object

getGameServerCluster(request, callback) → {undefined}

Calls GetGameServerCluster.

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

GetGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1.GameServerClustersService.GetGameServerClusterCallback

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

getGameServerCluster(request) → {Promise.<google.cloud.gaming.v1.GameServerCluster>}

Calls GetGameServerCluster.

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

GetGameServerClusterRequest message or plain object

listGameServerClusters(request, callback) → {undefined}

Calls ListGameServerClusters.

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

ListGameServerClustersRequest message or plain object

callback google.cloud.gaming.v1.GameServerClustersService.ListGameServerClustersCallback

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

listGameServerClusters(request) → {Promise.<google.cloud.gaming.v1.ListGameServerClustersResponse>}

Calls ListGameServerClusters.

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

ListGameServerClustersRequest message or plain object

previewCreateGameServerCluster(request, callback) → {undefined}

Calls PreviewCreateGameServerCluster.

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

PreviewCreateGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1.GameServerClustersService.PreviewCreateGameServerClusterCallback

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

previewCreateGameServerCluster(request) → {Promise.<google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse>}

Calls PreviewCreateGameServerCluster.

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

PreviewCreateGameServerClusterRequest message or plain object

previewDeleteGameServerCluster(request, callback) → {undefined}

Calls PreviewDeleteGameServerCluster.

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

PreviewDeleteGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1.GameServerClustersService.PreviewDeleteGameServerClusterCallback

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

previewDeleteGameServerCluster(request) → {Promise.<google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse>}

Calls PreviewDeleteGameServerCluster.

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

PreviewDeleteGameServerClusterRequest message or plain object

previewUpdateGameServerCluster(request, callback) → {undefined}

Calls PreviewUpdateGameServerCluster.

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

PreviewUpdateGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1.GameServerClustersService.PreviewUpdateGameServerClusterCallback

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

previewUpdateGameServerCluster(request) → {Promise.<google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse>}

Calls PreviewUpdateGameServerCluster.

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

PreviewUpdateGameServerClusterRequest message or plain object

updateGameServerCluster(request, callback) → {undefined}

Calls UpdateGameServerCluster.

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

UpdateGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1.GameServerClustersService.UpdateGameServerClusterCallback

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

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

Calls UpdateGameServerCluster.

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

UpdateGameServerClusterRequest message or plain object

Type Definitions

CreateGameServerClusterCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerClustersService#createGameServerCluster.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

DeleteGameServerClusterCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerClustersService#deleteGameServerCluster.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

GetGameServerClusterCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerClustersService#getGameServerCluster.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

GameServerCluster

ListGameServerClustersCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerClustersService#listGameServerClusters.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

ListGameServerClustersResponse

PreviewCreateGameServerClusterCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerClustersService#previewCreateGameServerCluster.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

PreviewCreateGameServerClusterResponse

PreviewDeleteGameServerClusterCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerClustersService#previewDeleteGameServerCluster.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

PreviewDeleteGameServerClusterResponse

PreviewUpdateGameServerClusterCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerClustersService#previewUpdateGameServerCluster.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

PreviewUpdateGameServerClusterResponse

UpdateGameServerClusterCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerClustersService#updateGameServerCluster.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation