Game Services v1 API - Class RealmsServiceSettings (2.2.0)

public sealed class RealmsServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Game Services v1 API class RealmsServiceSettings.

Settings for RealmsServiceClient instances.

Inheritance

object > ServiceSettingsBase > RealmsServiceSettings

Namespace

Google.Cloud.Gaming.V1

Assembly

Google.Cloud.Gaming.V1.dll

Constructors

RealmsServiceSettings()

public RealmsServiceSettings()

Constructs a new RealmsServiceSettings object with default settings.

Properties

CreateRealmOperationsSettings

public OperationsSettings CreateRealmOperationsSettings { get; set; }

Long Running Operation settings for calls to RealmsServiceClient.CreateRealm and RealmsServiceClient.CreateRealmAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateRealmSettings

public CallSettings CreateRealmSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RealmsServiceClient.CreateRealm and RealmsServiceClient.CreateRealmAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

DeleteRealmOperationsSettings

public OperationsSettings DeleteRealmOperationsSettings { get; set; }

Long Running Operation settings for calls to RealmsServiceClient.DeleteRealm and RealmsServiceClient.DeleteRealmAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeleteRealmSettings

public CallSettings DeleteRealmSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RealmsServiceClient.DeleteRealm and RealmsServiceClient.DeleteRealmAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetRealmSettings

public CallSettings GetRealmSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RealmsServiceClient.GetRealm and RealmsServiceClient.GetRealmAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListRealmsSettings

public CallSettings ListRealmsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RealmsServiceClient.ListRealms and RealmsServiceClient.ListRealmsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

PreviewRealmUpdateSettings

public CallSettings PreviewRealmUpdateSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RealmsServiceClient.PreviewRealmUpdate and RealmsServiceClient.PreviewRealmUpdateAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

UpdateRealmOperationsSettings

public OperationsSettings UpdateRealmOperationsSettings { get; set; }

Long Running Operation settings for calls to RealmsServiceClient.UpdateRealm and RealmsServiceClient.UpdateRealmAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

UpdateRealmSettings

public CallSettings UpdateRealmSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RealmsServiceClient.UpdateRealm and RealmsServiceClient.UpdateRealmAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

Methods

Clone()

public RealmsServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
RealmsServiceSettings

A deep clone of this RealmsServiceSettings object.

GetDefault()

public static RealmsServiceSettings GetDefault()

Get a new instance of the default RealmsServiceSettings.

Returns
TypeDescription
RealmsServiceSettings

A new instance of the default RealmsServiceSettings.