Class protos.google.cloud.gaming.v1.GameServerClustersService (2.5.0)

Represents a GameServerClustersService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.gaming.v1.GameServerClustersService

Package

@google-cloud/game-servers

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new GameServerClustersService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GameServerClustersService;

Creates new GameServerClustersService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
GameServerClustersService

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

createGameServerCluster(request, callback)

public createGameServerCluster(request: google.cloud.gaming.v1.ICreateGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.CreateGameServerClusterCallback): void;

Calls CreateGameServerCluster.

Parameters
NameDescription
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
TypeDescription
void

createGameServerCluster(request)

public createGameServerCluster(request: google.cloud.gaming.v1.ICreateGameServerClusterRequest): Promise<google.longrunning.Operation>;

Calls CreateGameServerCluster.

Parameter
NameDescription
request google.cloud.gaming.v1.ICreateGameServerClusterRequest

CreateGameServerClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteGameServerCluster(request, callback)

public deleteGameServerCluster(request: google.cloud.gaming.v1.IDeleteGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.DeleteGameServerClusterCallback): void;

Calls DeleteGameServerCluster.

Parameters
NameDescription
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
TypeDescription
void

deleteGameServerCluster(request)

public deleteGameServerCluster(request: google.cloud.gaming.v1.IDeleteGameServerClusterRequest): Promise<google.longrunning.Operation>;

Calls DeleteGameServerCluster.

Parameter
NameDescription
request google.cloud.gaming.v1.IDeleteGameServerClusterRequest

DeleteGameServerClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getGameServerCluster(request, callback)

public getGameServerCluster(request: google.cloud.gaming.v1.IGetGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.GetGameServerClusterCallback): void;

Calls GetGameServerCluster.

Parameters
NameDescription
request 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
TypeDescription
void

getGameServerCluster(request)

public getGameServerCluster(request: google.cloud.gaming.v1.IGetGameServerClusterRequest): Promise<google.cloud.gaming.v1.GameServerCluster>;

Calls GetGameServerCluster.

Parameter
NameDescription
request IGetGameServerClusterRequest

GetGameServerClusterRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gaming.v1.GameServerCluster>

Promise

listGameServerClusters(request, callback)

public listGameServerClusters(request: google.cloud.gaming.v1.IListGameServerClustersRequest, callback: google.cloud.gaming.v1.GameServerClustersService.ListGameServerClustersCallback): void;

Calls ListGameServerClusters.

Parameters
NameDescription
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
TypeDescription
void

listGameServerClusters(request)

public listGameServerClusters(request: google.cloud.gaming.v1.IListGameServerClustersRequest): Promise<google.cloud.gaming.v1.ListGameServerClustersResponse>;

Calls ListGameServerClusters.

Parameter
NameDescription
request google.cloud.gaming.v1.IListGameServerClustersRequest

ListGameServerClustersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gaming.v1.ListGameServerClustersResponse>

Promise

previewCreateGameServerCluster(request, callback)

public previewCreateGameServerCluster(request: google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.PreviewCreateGameServerClusterCallback): void;

Calls PreviewCreateGameServerCluster.

Parameters
NameDescription
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
TypeDescription
void

previewCreateGameServerCluster(request)

public previewCreateGameServerCluster(request: google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest): Promise<google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse>;

Calls PreviewCreateGameServerCluster.

Parameter
NameDescription
request google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest

PreviewCreateGameServerClusterRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse>

Promise

previewDeleteGameServerCluster(request, callback)

public previewDeleteGameServerCluster(request: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.PreviewDeleteGameServerClusterCallback): void;

Calls PreviewDeleteGameServerCluster.

Parameters
NameDescription
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
TypeDescription
void

previewDeleteGameServerCluster(request)

public previewDeleteGameServerCluster(request: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest): Promise<google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse>;

Calls PreviewDeleteGameServerCluster.

Parameter
NameDescription
request google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest

PreviewDeleteGameServerClusterRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse>

Promise

previewUpdateGameServerCluster(request, callback)

public previewUpdateGameServerCluster(request: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.PreviewUpdateGameServerClusterCallback): void;

Calls PreviewUpdateGameServerCluster.

Parameters
NameDescription
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
TypeDescription
void

previewUpdateGameServerCluster(request)

public previewUpdateGameServerCluster(request: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest): Promise<google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse>;

Calls PreviewUpdateGameServerCluster.

Parameter
NameDescription
request google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest

PreviewUpdateGameServerClusterRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse>

Promise

updateGameServerCluster(request, callback)

public updateGameServerCluster(request: google.cloud.gaming.v1.IUpdateGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.UpdateGameServerClusterCallback): void;

Calls UpdateGameServerCluster.

Parameters
NameDescription
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
TypeDescription
void

updateGameServerCluster(request)

public updateGameServerCluster(request: google.cloud.gaming.v1.IUpdateGameServerClusterRequest): Promise<google.longrunning.Operation>;

Calls UpdateGameServerCluster.

Parameter
NameDescription
request google.cloud.gaming.v1.IUpdateGameServerClusterRequest

UpdateGameServerClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise