public sealed class RealmsServiceClientImpl : RealmsServiceClientReference documentation and code samples for the Game Services v1 API class RealmsServiceClientImpl.
RealmsService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Gaming.V1Assembly
Google.Cloud.Gaming.V1.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 | |
|---|---|
| Name | Description |
grpcClient |
RealmsServiceRealmsServiceClientThe underlying gRPC client. |
settings |
RealmsServiceSettingsThe base RealmsServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateRealmOperationsClient
public override OperationsClient CreateRealmOperationsClient { get; }The long-running operations client for CreateRealm.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteRealmOperationsClient
public override OperationsClient DeleteRealmOperationsClient { get; }The long-running operations client for DeleteRealm.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override RealmsService.RealmsServiceClient GrpcClient { get; }The underlying gRPC RealmsService client
| Property Value | |
|---|---|
| Type | Description |
RealmsServiceRealmsServiceClient |
|
UpdateRealmOperationsClient
public override OperationsClient UpdateRealmOperationsClient { get; }The long-running operations client for UpdateRealm.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
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 | |
|---|---|
| Name | Description |
request |
CreateRealmRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRealmOperationMetadata |
The RPC response. |
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 | |
|---|---|
| Name | Description |
request |
CreateRealmRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRealmOperationMetadata |
A Task containing the RPC response. |
DeleteRealm(DeleteRealmRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteRealm(DeleteRealmRequest request, CallSettings callSettings = null)Deletes a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRealmRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteRealmAsync(DeleteRealmRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteRealmAsync(DeleteRealmRequest request, CallSettings callSettings = null)Deletes a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRealmRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
GetRealm(GetRealmRequest, CallSettings)
public override Realm GetRealm(GetRealmRequest request, CallSettings callSettings = null)Gets details of a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRealmRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Realm |
The RPC response. |
GetRealmAsync(GetRealmRequest, CallSettings)
public override Task<Realm> GetRealmAsync(GetRealmRequest request, CallSettings callSettings = null)Gets details of a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRealmRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRealm |
A Task containing the RPC response. |
ListRealms(ListRealmsRequest, CallSettings)
public override PagedEnumerable<ListRealmsResponse, Realm> ListRealms(ListRealmsRequest request, CallSettings callSettings = null)Lists realms in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRealmsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListRealmsResponseRealm |
A pageable sequence of Realm resources. |
ListRealmsAsync(ListRealmsRequest, CallSettings)
public override PagedAsyncEnumerable<ListRealmsResponse, Realm> ListRealmsAsync(ListRealmsRequest request, CallSettings callSettings = null)Lists realms in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRealmsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListRealmsResponseRealm |
A pageable asynchronous sequence of Realm resources. |
PreviewRealmUpdate(PreviewRealmUpdateRequest, CallSettings)
public override PreviewRealmUpdateResponse PreviewRealmUpdate(PreviewRealmUpdateRequest request, CallSettings callSettings = null)Previews patches to a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
PreviewRealmUpdateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PreviewRealmUpdateResponse |
The RPC response. |
PreviewRealmUpdateAsync(PreviewRealmUpdateRequest, CallSettings)
public override Task<PreviewRealmUpdateResponse> PreviewRealmUpdateAsync(PreviewRealmUpdateRequest request, CallSettings callSettings = null)Previews patches to a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
PreviewRealmUpdateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPreviewRealmUpdateResponse |
A Task containing the RPC response. |
UpdateRealm(UpdateRealmRequest, CallSettings)
public override Operation<Realm, OperationMetadata> UpdateRealm(UpdateRealmRequest request, CallSettings callSettings = null)Patches a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRealmRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRealmOperationMetadata |
The RPC response. |
UpdateRealmAsync(UpdateRealmRequest, CallSettings)
public override Task<Operation<Realm, OperationMetadata>> UpdateRealmAsync(UpdateRealmRequest request, CallSettings callSettings = null)Patches a single realm.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRealmRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRealmOperationMetadata |
A Task containing the RPC response. |