Google Cloud for Games v1beta API - Class RealmsServiceSettings (2.0.0-beta02)

public sealed class RealmsServiceSettings : ServiceSettingsBase

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

Settings for RealmsServiceClient instances.

Inheritance

Object > ServiceSettingsBase > RealmsServiceSettings

Namespace

Google.Cloud.Gaming.V1Beta

Assembly

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