Constructor
new GameServerConfigsService(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new GameServerConfigsService service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
createGameServerConfig(request, callback) → {undefined}
Calls CreateGameServerConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gaming.v1.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 |
---|---|
undefined |
createGameServerConfig(request) → {Promise.<google.longrunning.Operation>}
Calls CreateGameServerConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gaming.v1.ICreateGameServerConfigRequest |
CreateGameServerConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
deleteGameServerConfig(request, callback) → {undefined}
Calls DeleteGameServerConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gaming.v1.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 |
---|---|
undefined |
deleteGameServerConfig(request) → {Promise.<google.longrunning.Operation>}
Calls DeleteGameServerConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gaming.v1.IDeleteGameServerConfigRequest |
DeleteGameServerConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
getGameServerConfig(request, callback) → {undefined}
Calls GetGameServerConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gaming.v1.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 |
---|---|
undefined |
getGameServerConfig(request) → {Promise.<google.cloud.gaming.v1.GameServerConfig>}
Calls GetGameServerConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gaming.v1.IGetGameServerConfigRequest |
GetGameServerConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.gaming.v1.GameServerConfig> |
Promise |
listGameServerConfigs(request, callback) → {undefined}
Calls ListGameServerConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gaming.v1.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 |
---|---|
undefined |
listGameServerConfigs(request) → {Promise.<google.cloud.gaming.v1.ListGameServerConfigsResponse>}
Calls ListGameServerConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gaming.v1.IListGameServerConfigsRequest |
ListGameServerConfigsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.gaming.v1.ListGameServerConfigsResponse> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {GameServerConfigsService}
Creates new GameServerConfigsService service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
GameServerConfigsService |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateGameServerConfigCallback(error, responseopt)
Callback as used by createGameServerConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
DeleteGameServerConfigCallback(error, responseopt)
Callback as used by deleteGameServerConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
GetGameServerConfigCallback(error, responseopt)
Callback as used by getGameServerConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.gaming.v1.GameServerConfig |
<optional> |
GameServerConfig |
ListGameServerConfigsCallback(error, responseopt)
Callback as used by listGameServerConfigs.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.gaming.v1.ListGameServerConfigsResponse |
<optional> |
ListGameServerConfigsResponse |