Represents a GameServerConfigsService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.gaming.v1.GameServerConfigsServicePackage
@google-cloud/game-serversConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new GameServerConfigsService service.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
createGameServerConfig(request)
public createGameServerConfig(request: google.cloud.gaming.v1.ICreateGameServerConfigRequest): Promise<google.longrunning.Operation>;
Calls CreateGameServerConfig.
Parameter | |
---|---|
Name | Description |
request |
ICreateGameServerConfigRequest
CreateGameServerConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
deleteGameServerConfig(request)
public deleteGameServerConfig(request: google.cloud.gaming.v1.IDeleteGameServerConfigRequest): Promise<google.longrunning.Operation>;
Calls DeleteGameServerConfig.
Parameter | |
---|---|
Name | Description |
request |
IDeleteGameServerConfigRequest
DeleteGameServerConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
getGameServerConfig(request)
public getGameServerConfig(request: google.cloud.gaming.v1.IGetGameServerConfigRequest): Promise<google.cloud.gaming.v1.GameServerConfig>;
Calls GetGameServerConfig.
Parameter | |
---|---|
Name | Description |
request |
IGetGameServerConfigRequest
GetGameServerConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
listGameServerConfigs(request)
public listGameServerConfigs(request: google.cloud.gaming.v1.IListGameServerConfigsRequest): Promise<google.cloud.gaming.v1.ListGameServerConfigsResponse>;
Calls ListGameServerConfigs.
Parameter | |
---|---|
Name | Description |
request |
IListGameServerConfigsRequest
ListGameServerConfigsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.gaming.v1.ListGameServerConfigsResponse> | Promise |