Represents a GameServerConfigsService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.gaming.v1beta.GameServerConfigsServicePackage
@google-cloud/game-servers!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new GameServerConfigsService service.
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.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
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.
Name | Description |
request |
google.cloud.gaming.v1beta.ICreateGameServerConfigRequest
CreateGameServerConfigRequest message or plain object |
callback |
google.cloud.gaming.v1beta.GameServerConfigsService.CreateGameServerConfigCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createGameServerConfig(request)
public createGameServerConfig(request: google.cloud.gaming.v1beta.ICreateGameServerConfigRequest): Promise<google.longrunning.Operation>;
Calls CreateGameServerConfig.
Name | Description |
request |
google.cloud.gaming.v1beta.ICreateGameServerConfigRequest
CreateGameServerConfigRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
deleteGameServerConfig(request)
public deleteGameServerConfig(request: google.cloud.gaming.v1beta.IDeleteGameServerConfigRequest): Promise<google.longrunning.Operation>;
Calls DeleteGameServerConfig.
Name | Description |
request |
google.cloud.gaming.v1beta.IDeleteGameServerConfigRequest
DeleteGameServerConfigRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
google.cloud.gaming.v1beta.IGetGameServerConfigRequest
GetGameServerConfigRequest message or plain object |
callback |
google.cloud.gaming.v1beta.GameServerConfigsService.GetGameServerConfigCallback
Node-style callback called with the error, if any, and GameServerConfig |
Type | Description |
void |
getGameServerConfig(request)
public getGameServerConfig(request: google.cloud.gaming.v1beta.IGetGameServerConfigRequest): Promise<google.cloud.gaming.v1beta.GameServerConfig>;
Calls GetGameServerConfig.
Name | Description |
request |
google.cloud.gaming.v1beta.IGetGameServerConfigRequest
GetGameServerConfigRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
listGameServerConfigs(request)
public listGameServerConfigs(request: google.cloud.gaming.v1beta.IListGameServerConfigsRequest): Promise<google.cloud.gaming.v1beta.ListGameServerConfigsResponse>;
Calls ListGameServerConfigs.
Name | Description |
request |
google.cloud.gaming.v1beta.IListGameServerConfigsRequest
ListGameServerConfigsRequest message or plain object |
Type | Description |
Promise<google.cloud.gaming.v1beta.ListGameServerConfigsResponse> | Promise |