Class RealmsService.RealmsServiceBase (1.3.0)

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

Base class for server-side implementations of RealmsService

Inheritance

Object > RealmsService.RealmsServiceBase

Namespace

Google.Cloud.Gaming.V1

Assembly

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
NameDescription
requestCreateRealmRequest

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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