[BindServiceMethod(typeof(RealmsService), "BindService")]
public abstract class 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 | CreateRealmRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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 | DeleteRealmRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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 | GetRealmRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Realm> | 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 | ListRealmsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListRealmsResponse> | 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 | PreviewRealmUpdateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<PreviewRealmUpdateResponse> | 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 | UpdateRealmRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |