Represents a RealmsService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.gaming.v1.RealmsServicePackage
@google-cloud/game-serversConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new RealmsService 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): RealmsService;
Creates new RealmsService 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 |
RealmsService | RPC service. Useful where requests and/or responses are streamed. |
createRealm(request, callback)
public createRealm(request: google.cloud.gaming.v1.ICreateRealmRequest, callback: google.cloud.gaming.v1.RealmsService.CreateRealmCallback): void;
Calls CreateRealm.
Name | Description |
request |
google.cloud.gaming.v1.ICreateRealmRequest
CreateRealmRequest message or plain object |
callback |
google.cloud.gaming.v1.RealmsService.CreateRealmCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createRealm(request)
public createRealm(request: google.cloud.gaming.v1.ICreateRealmRequest): Promise<google.longrunning.Operation>;
Calls CreateRealm.
Name | Description |
request |
google.cloud.gaming.v1.ICreateRealmRequest
CreateRealmRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteRealm(request, callback)
public deleteRealm(request: google.cloud.gaming.v1.IDeleteRealmRequest, callback: google.cloud.gaming.v1.RealmsService.DeleteRealmCallback): void;
Calls DeleteRealm.
Name | Description |
request |
google.cloud.gaming.v1.IDeleteRealmRequest
DeleteRealmRequest message or plain object |
callback |
google.cloud.gaming.v1.RealmsService.DeleteRealmCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteRealm(request)
public deleteRealm(request: google.cloud.gaming.v1.IDeleteRealmRequest): Promise<google.longrunning.Operation>;
Calls DeleteRealm.
Name | Description |
request |
google.cloud.gaming.v1.IDeleteRealmRequest
DeleteRealmRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getRealm(request, callback)
public getRealm(request: google.cloud.gaming.v1.IGetRealmRequest, callback: google.cloud.gaming.v1.RealmsService.GetRealmCallback): void;
Calls GetRealm.
Name | Description |
request |
IGetRealmRequest
GetRealmRequest message or plain object |
callback |
google.cloud.gaming.v1.RealmsService.GetRealmCallback
Node-style callback called with the error, if any, and Realm |
Type | Description |
void |
getRealm(request)
public getRealm(request: google.cloud.gaming.v1.IGetRealmRequest): Promise<google.cloud.gaming.v1.Realm>;
Calls GetRealm.
Name | Description |
request |
IGetRealmRequest
GetRealmRequest message or plain object |
Type | Description |
Promise<google.cloud.gaming.v1.Realm> | Promise |
listRealms(request, callback)
public listRealms(request: google.cloud.gaming.v1.IListRealmsRequest, callback: google.cloud.gaming.v1.RealmsService.ListRealmsCallback): void;
Calls ListRealms.
Name | Description |
request |
google.cloud.gaming.v1.IListRealmsRequest
ListRealmsRequest message or plain object |
callback |
google.cloud.gaming.v1.RealmsService.ListRealmsCallback
Node-style callback called with the error, if any, and ListRealmsResponse |
Type | Description |
void |
listRealms(request)
public listRealms(request: google.cloud.gaming.v1.IListRealmsRequest): Promise<google.cloud.gaming.v1.ListRealmsResponse>;
Calls ListRealms.
Name | Description |
request |
google.cloud.gaming.v1.IListRealmsRequest
ListRealmsRequest message or plain object |
Type | Description |
Promise<google.cloud.gaming.v1.ListRealmsResponse> | Promise |
previewRealmUpdate(request, callback)
public previewRealmUpdate(request: google.cloud.gaming.v1.IPreviewRealmUpdateRequest, callback: google.cloud.gaming.v1.RealmsService.PreviewRealmUpdateCallback): void;
Calls PreviewRealmUpdate.
Name | Description |
request |
IPreviewRealmUpdateRequest
PreviewRealmUpdateRequest message or plain object |
callback |
google.cloud.gaming.v1.RealmsService.PreviewRealmUpdateCallback
Node-style callback called with the error, if any, and PreviewRealmUpdateResponse |
Type | Description |
void |
previewRealmUpdate(request)
public previewRealmUpdate(request: google.cloud.gaming.v1.IPreviewRealmUpdateRequest): Promise<google.cloud.gaming.v1.PreviewRealmUpdateResponse>;
Calls PreviewRealmUpdate.
Name | Description |
request |
IPreviewRealmUpdateRequest
PreviewRealmUpdateRequest message or plain object |
Type | Description |
Promise<google.cloud.gaming.v1.PreviewRealmUpdateResponse> | Promise |
updateRealm(request, callback)
public updateRealm(request: google.cloud.gaming.v1.IUpdateRealmRequest, callback: google.cloud.gaming.v1.RealmsService.UpdateRealmCallback): void;
Calls UpdateRealm.
Name | Description |
request |
google.cloud.gaming.v1.IUpdateRealmRequest
UpdateRealmRequest message or plain object |
callback |
google.cloud.gaming.v1.RealmsService.UpdateRealmCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
updateRealm(request)
public updateRealm(request: google.cloud.gaming.v1.IUpdateRealmRequest): Promise<google.longrunning.Operation>;
Calls UpdateRealm.
Name | Description |
request |
google.cloud.gaming.v1.IUpdateRealmRequest
UpdateRealmRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |