Class protos.google.cloud.gaming.v1beta.GameServerConfigsService (3.2.1)

Represents a GameServerConfigsService

Inheritance

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

Calls CreateGameServerConfig.

Parameters
NameDescription
request ICreateGameServerConfigRequest

CreateGameServerConfigRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerConfigsService.CreateGameServerConfigCallback

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

Returns
TypeDescription
void

createGameServerConfig(request)

public createGameServerConfig(request: google.cloud.gaming.v1beta.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.v1beta.IDeleteGameServerConfigRequest, callback: google.cloud.gaming.v1beta.GameServerConfigsService.DeleteGameServerConfigCallback): void;

Calls DeleteGameServerConfig.

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

DeleteGameServerConfigRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerConfigsService.DeleteGameServerConfigCallback

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

Returns
TypeDescription
void

deleteGameServerConfig(request)

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

Calls DeleteGameServerConfig.

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

DeleteGameServerConfigRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getGameServerConfig(request, callback)

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

Calls GetGameServerConfig.

Parameters
NameDescription
request IGetGameServerConfigRequest

GetGameServerConfigRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerConfigsService.GetGameServerConfigCallback

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

Returns
TypeDescription
void

getGameServerConfig(request)

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

Calls GetGameServerConfig.

Parameter
NameDescription
request IGetGameServerConfigRequest

GetGameServerConfigRequest message or plain object

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

Promise

listGameServerConfigs(request, callback)

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

Calls ListGameServerConfigs.

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

ListGameServerConfigsRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerConfigsService.ListGameServerConfigsCallback

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

Returns
TypeDescription
void

listGameServerConfigs(request)

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

Calls ListGameServerConfigs.

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

ListGameServerConfigsRequest message or plain object

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

Promise