Google Cloud for Games v1beta API - Class RealmsServiceClientImpl (2.0.0-beta03)

public sealed class RealmsServiceClientImpl : RealmsServiceClient

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

RealmsService client wrapper implementation, for convenient use.

Inheritance

object > RealmsServiceClient > RealmsServiceClientImpl

Namespace

Google.Cloud.Gaming.V1Beta

Assembly

Google.Cloud.Gaming.V1Beta.dll

Remarks

A realm is a grouping of game server clusters that are considered interchangeable.

Constructors

RealmsServiceClientImpl(RealmsServiceClient, RealmsServiceSettings, ILogger)

public RealmsServiceClientImpl(RealmsService.RealmsServiceClient grpcClient, RealmsServiceSettings settings, ILogger logger)

Constructs a client wrapper for the RealmsService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientRealmsServiceRealmsServiceClient

The underlying gRPC client.

settingsRealmsServiceSettings

The base RealmsServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateRealmOperationsClient

public override OperationsClient CreateRealmOperationsClient { get; }

The long-running operations client for CreateRealm.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteRealmOperationsClient

public override OperationsClient DeleteRealmOperationsClient { get; }

The long-running operations client for DeleteRealm.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override RealmsService.RealmsServiceClient GrpcClient { get; }

The underlying gRPC RealmsService client

Property Value
TypeDescription
RealmsServiceRealmsServiceClient
Overrides

UpdateRealmOperationsClient

public override OperationsClient UpdateRealmOperationsClient { get; }

The long-running operations client for UpdateRealm.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateRealm(CreateRealmRequest, CallSettings)

public override Operation<Realm, OperationMetadata> CreateRealm(CreateRealmRequest request, CallSettings callSettings = null)

Creates a new realm in a given project and location.

Parameters
NameDescription
requestCreateRealmRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationRealmOperationMetadata

The RPC response.

Overrides

CreateRealmAsync(CreateRealmRequest, CallSettings)

public override Task<Operation<Realm, OperationMetadata>> CreateRealmAsync(CreateRealmRequest request, CallSettings callSettings = null)

Creates a new realm in a given project and location.

Parameters
NameDescription
requestCreateRealmRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationRealmOperationMetadata

A Task containing the RPC response.

Overrides

DeleteRealm(DeleteRealmRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteRealm(DeleteRealmRequest request, CallSettings callSettings = null)

Deletes a single realm.

Parameters
NameDescription
requestDeleteRealmRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteRealmAsync(DeleteRealmRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteRealmAsync(DeleteRealmRequest request, CallSettings callSettings = null)

Deletes a single realm.

Parameters
NameDescription
requestDeleteRealmRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetRealm(GetRealmRequest, CallSettings)

public override Realm GetRealm(GetRealmRequest request, CallSettings callSettings = null)

Gets details of a single realm.

Parameters
NameDescription
requestGetRealmRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Realm

The RPC response.

Overrides

GetRealmAsync(GetRealmRequest, CallSettings)

public override Task<Realm> GetRealmAsync(GetRealmRequest request, CallSettings callSettings = null)

Gets details of a single realm.

Parameters
NameDescription
requestGetRealmRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskRealm

A Task containing the RPC response.

Overrides

ListRealms(ListRealmsRequest, CallSettings)

public override PagedEnumerable<ListRealmsResponse, Realm> ListRealms(ListRealmsRequest request, CallSettings callSettings = null)

Lists realms in a given project and location.

Parameters
NameDescription
requestListRealmsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListRealmsResponseRealm

A pageable sequence of Realm resources.

Overrides

ListRealmsAsync(ListRealmsRequest, CallSettings)

public override PagedAsyncEnumerable<ListRealmsResponse, Realm> ListRealmsAsync(ListRealmsRequest request, CallSettings callSettings = null)

Lists realms in a given project and location.

Parameters
NameDescription
requestListRealmsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListRealmsResponseRealm

A pageable asynchronous sequence of Realm resources.

Overrides

PreviewRealmUpdate(PreviewRealmUpdateRequest, CallSettings)

public override PreviewRealmUpdateResponse PreviewRealmUpdate(PreviewRealmUpdateRequest request, CallSettings callSettings = null)

Previews patches to a single realm.

Parameters
NameDescription
requestPreviewRealmUpdateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PreviewRealmUpdateResponse

The RPC response.

Overrides

PreviewRealmUpdateAsync(PreviewRealmUpdateRequest, CallSettings)

public override Task<PreviewRealmUpdateResponse> PreviewRealmUpdateAsync(PreviewRealmUpdateRequest request, CallSettings callSettings = null)

Previews patches to a single realm.

Parameters
NameDescription
requestPreviewRealmUpdateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPreviewRealmUpdateResponse

A Task containing the RPC response.

Overrides

UpdateRealm(UpdateRealmRequest, CallSettings)

public override Operation<Realm, OperationMetadata> UpdateRealm(UpdateRealmRequest request, CallSettings callSettings = null)

Patches a single realm.

Parameters
NameDescription
requestUpdateRealmRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationRealmOperationMetadata

The RPC response.

Overrides

UpdateRealmAsync(UpdateRealmRequest, CallSettings)

public override Task<Operation<Realm, OperationMetadata>> UpdateRealmAsync(UpdateRealmRequest request, CallSettings callSettings = null)

Patches a single realm.

Parameters
NameDescription
requestUpdateRealmRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationRealmOperationMetadata

A Task containing the RPC response.

Overrides