Google Cloud for Games v1beta API - Class RealmsService.RealmsServiceBase (2.0.0-beta03)

[BindServiceMethod(typeof(RealmsService), "BindService")]
public abstract class RealmsService.RealmsServiceBase

Reference documentation and code samples for the Google Cloud for Games v1beta API class RealmsService.RealmsServiceBase.

Base class for server-side implementations of RealmsService

Inheritance

object > RealmsService.RealmsServiceBase

Namespace

Google.Cloud.Gaming.V1Beta

Assembly

Google.Cloud.Gaming.V1Beta.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
NameDescription
requestCreateRealmRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestDeleteRealmRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetRealmRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListRealmsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestPreviewRealmUpdateRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestUpdateRealmRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).