Class protos.google.cloud.gaming.v1beta.GameServerClustersService

Represents a GameServerClustersService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.gaming.v1beta.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.v1beta.ICreateGameServerClusterRequest, callback: google.cloud.gaming.v1beta.GameServerClustersService.CreateGameServerClusterCallback): void;

Calls CreateGameServerCluster.

Parameters
NameDescription
request google.cloud.gaming.v1beta.ICreateGameServerClusterRequest

CreateGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerClustersService.CreateGameServerClusterCallback

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

Returns
TypeDescription
void

createGameServerCluster(request)

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

Calls CreateGameServerCluster.

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

CreateGameServerClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteGameServerCluster(request, callback)

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

Calls DeleteGameServerCluster.

Parameters
NameDescription
request google.cloud.gaming.v1beta.IDeleteGameServerClusterRequest

DeleteGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerClustersService.DeleteGameServerClusterCallback

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

Returns
TypeDescription
void

deleteGameServerCluster(request)

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

Calls DeleteGameServerCluster.

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

DeleteGameServerClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getGameServerCluster(request, callback)

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

Calls GetGameServerCluster.

Parameters
NameDescription
request google.cloud.gaming.v1beta.IGetGameServerClusterRequest

GetGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerClustersService.GetGameServerClusterCallback

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

Returns
TypeDescription
void

getGameServerCluster(request)

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

Calls GetGameServerCluster.

Parameter
NameDescription
request google.cloud.gaming.v1beta.IGetGameServerClusterRequest

GetGameServerClusterRequest message or plain object

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

Promise

listGameServerClusters(request, callback)

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

Calls ListGameServerClusters.

Parameters
NameDescription
request IListGameServerClustersRequest

ListGameServerClustersRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerClustersService.ListGameServerClustersCallback

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

Returns
TypeDescription
void

listGameServerClusters(request)

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

Calls ListGameServerClusters.

Parameter
NameDescription
request IListGameServerClustersRequest

ListGameServerClustersRequest message or plain object

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

Promise

previewCreateGameServerCluster(request, callback)

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

Calls PreviewCreateGameServerCluster.

Parameters
NameDescription
request google.cloud.gaming.v1beta.IPreviewCreateGameServerClusterRequest

PreviewCreateGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerClustersService.PreviewCreateGameServerClusterCallback

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

Returns
TypeDescription
void

previewCreateGameServerCluster(request)

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

Calls PreviewCreateGameServerCluster.

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

PreviewCreateGameServerClusterRequest message or plain object

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

Promise

previewDeleteGameServerCluster(request, callback)

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

Calls PreviewDeleteGameServerCluster.

Parameters
NameDescription
request google.cloud.gaming.v1beta.IPreviewDeleteGameServerClusterRequest

PreviewDeleteGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerClustersService.PreviewDeleteGameServerClusterCallback

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

Returns
TypeDescription
void

previewDeleteGameServerCluster(request)

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

Calls PreviewDeleteGameServerCluster.

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

PreviewDeleteGameServerClusterRequest message or plain object

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

Promise

previewUpdateGameServerCluster(request, callback)

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

Calls PreviewUpdateGameServerCluster.

Parameters
NameDescription
request google.cloud.gaming.v1beta.IPreviewUpdateGameServerClusterRequest

PreviewUpdateGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerClustersService.PreviewUpdateGameServerClusterCallback

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

Returns
TypeDescription
void

previewUpdateGameServerCluster(request)

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

Calls PreviewUpdateGameServerCluster.

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

PreviewUpdateGameServerClusterRequest message or plain object

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

Promise

updateGameServerCluster(request, callback)

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

Calls UpdateGameServerCluster.

Parameters
NameDescription
request IUpdateGameServerClusterRequest

UpdateGameServerClusterRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerClustersService.UpdateGameServerClusterCallback

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

Returns
TypeDescription
void

updateGameServerCluster(request)

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

Calls UpdateGameServerCluster.

Parameter
NameDescription
request IUpdateGameServerClusterRequest

UpdateGameServerClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise