[BindServiceMethod(typeof(RealmsService), "BindService")]
public abstract class RealmsService.RealmsServiceBaseReference documentation and code samples for the Game Services v1 API class RealmsService.RealmsServiceBase.
Base class for server-side implementations of RealmsService
Namespace
Google.Cloud.Gaming.V1Assembly
Google.Cloud.Gaming.V1.dll
Methods
CreateRealm(CreateRealmRequest, ServerCallContext)
public virtual Task<Operation> CreateRealm(CreateRealmRequest request, ServerCallContext context)Creates a new realm in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateRealmRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteRealm(DeleteRealmRequest, ServerCallContext)
public virtual Task<Operation> DeleteRealm(DeleteRealmRequest request, ServerCallContext context)Deletes a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRealmRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetRealm(GetRealmRequest, ServerCallContext)
public virtual Task<Realm> GetRealm(GetRealmRequest request, ServerCallContext context)Gets details of a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRealmRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRealm |
The response to send back to the client (wrapped by a task). |
ListRealms(ListRealmsRequest, ServerCallContext)
public virtual Task<ListRealmsResponse> ListRealms(ListRealmsRequest request, ServerCallContext context)Lists realms in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRealmsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListRealmsResponse |
The response to send back to the client (wrapped by a task). |
PreviewRealmUpdate(PreviewRealmUpdateRequest, ServerCallContext)
public virtual Task<PreviewRealmUpdateResponse> PreviewRealmUpdate(PreviewRealmUpdateRequest request, ServerCallContext context)Previews patches to a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
PreviewRealmUpdateRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPreviewRealmUpdateResponse |
The response to send back to the client (wrapped by a task). |
UpdateRealm(UpdateRealmRequest, ServerCallContext)
public virtual Task<Operation> UpdateRealm(UpdateRealmRequest request, ServerCallContext context)Patches a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRealmRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |