Class protos.google.cloud.gaming.v1.GameServerConfigsService (3.2.2)

Represents a GameServerConfigsService

Inheritance

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

Package

@google-cloud/game-servers

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new GameServerConfigsService 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): GameServerConfigsService;

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

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

createGameServerConfig(request, callback)

public createGameServerConfig(request: google.cloud.gaming.v1.ICreateGameServerConfigRequest, callback: google.cloud.gaming.v1.GameServerConfigsService.CreateGameServerConfigCallback): void;

Calls CreateGameServerConfig.

Parameters
NameDescription
request ICreateGameServerConfigRequest

CreateGameServerConfigRequest message or plain object

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

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

Returns
TypeDescription
void

createGameServerConfig(request)

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

Calls CreateGameServerConfig.

Parameter
NameDescription
request ICreateGameServerConfigRequest

CreateGameServerConfigRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteGameServerConfig(request, callback)

public deleteGameServerConfig(request: google.cloud.gaming.v1.IDeleteGameServerConfigRequest, callback: google.cloud.gaming.v1.GameServerConfigsService.DeleteGameServerConfigCallback): void;

Calls DeleteGameServerConfig.

Parameters
NameDescription
request IDeleteGameServerConfigRequest

DeleteGameServerConfigRequest message or plain object

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

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

Returns
TypeDescription
void

deleteGameServerConfig(request)

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

Calls DeleteGameServerConfig.

Parameter
NameDescription
request IDeleteGameServerConfigRequest

DeleteGameServerConfigRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getGameServerConfig(request, callback)

public getGameServerConfig(request: google.cloud.gaming.v1.IGetGameServerConfigRequest, callback: google.cloud.gaming.v1.GameServerConfigsService.GetGameServerConfigCallback): void;

Calls GetGameServerConfig.

Parameters
NameDescription
request IGetGameServerConfigRequest

GetGameServerConfigRequest message or plain object

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

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

Returns
TypeDescription
void

getGameServerConfig(request)

public getGameServerConfig(request: google.cloud.gaming.v1.IGetGameServerConfigRequest): Promise<google.cloud.gaming.v1.GameServerConfig>;

Calls GetGameServerConfig.

Parameter
NameDescription
request IGetGameServerConfigRequest

GetGameServerConfigRequest message or plain object

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

Promise

listGameServerConfigs(request, callback)

public listGameServerConfigs(request: google.cloud.gaming.v1.IListGameServerConfigsRequest, callback: google.cloud.gaming.v1.GameServerConfigsService.ListGameServerConfigsCallback): void;

Calls ListGameServerConfigs.

Parameters
NameDescription
request IListGameServerConfigsRequest

ListGameServerConfigsRequest message or plain object

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

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

Returns
TypeDescription
void

listGameServerConfigs(request)

public listGameServerConfigs(request: google.cloud.gaming.v1.IListGameServerConfigsRequest): Promise<google.cloud.gaming.v1.ListGameServerConfigsResponse>;

Calls ListGameServerConfigs.

Parameter
NameDescription
request IListGameServerConfigsRequest

ListGameServerConfigsRequest message or plain object

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

Promise