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

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

Returns:
Type Description
undefined

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

Calls CreateGameServerCluster.

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

CreateGameServerClusterRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

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

Returns:
Type Description
undefined

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

Calls DeleteGameServerCluster.

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

DeleteGameServerClusterRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

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

Returns:
Type Description
undefined

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

Returns:
Type Description
Promise.<google.cloud.gaming.v1.GameServerCluster>

Promise

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

Returns:
Type Description
undefined

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

Returns:
Type Description
Promise.<google.cloud.gaming.v1.ListGameServerClustersResponse>

Promise

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

Returns:
Type Description
undefined

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

Returns:
Type Description
Promise.<google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse>

Promise

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

Returns:
Type Description
undefined

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

Returns:
Type Description
Promise.<google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse>

Promise

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

Returns:
Type Description
undefined

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

Returns:
Type Description
Promise.<google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse>

Promise

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

Returns:
Type Description
undefined

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

Calls UpdateGameServerCluster.

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

UpdateGameServerClusterRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

(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

Returns:
Type Description
GameServerClustersService

RPC service. Useful where requests and/or responses are streamed.

Type Definitions

CreateGameServerClusterCallback(error, responseopt)

Callback as used by 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 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 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 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 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 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 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 updateGameServerCluster.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation