Memorystore v1 API - Class MemorystoreSettings (1.0.0-beta03)

public sealed class MemorystoreSettings : ServiceSettingsBase

Reference documentation and code samples for the Memorystore v1 API class MemorystoreSettings.

Settings for MemorystoreClient instances.

Inheritance

object > ServiceSettingsBase > MemorystoreSettings

Namespace

Google.Cloud.Memorystore.V1

Assembly

Google.Cloud.Memorystore.V1.dll

Constructors

MemorystoreSettings()

public MemorystoreSettings()

Constructs a new MemorystoreSettings object with default settings.

Properties

BackupInstanceOperationsSettings

public OperationsSettings BackupInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to MemorystoreClient.BackupInstance and MemorystoreClient.BackupInstanceAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

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

BackupInstanceSettings

public CallSettings BackupInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.BackupInstance and MemorystoreClient.BackupInstanceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

CreateInstanceOperationsSettings

public OperationsSettings CreateInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to MemorystoreClient.CreateInstance and MemorystoreClient.CreateInstanceAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

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

CreateInstanceSettings

public CallSettings CreateInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.CreateInstance and MemorystoreClient.CreateInstanceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

DeleteBackupOperationsSettings

public OperationsSettings DeleteBackupOperationsSettings { get; set; }

Long Running Operation settings for calls to MemorystoreClient.DeleteBackup and MemorystoreClient.DeleteBackupAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

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

DeleteBackupSettings

public CallSettings DeleteBackupSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.DeleteBackup and MemorystoreClient.DeleteBackupAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

DeleteInstanceOperationsSettings

public OperationsSettings DeleteInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to MemorystoreClient.DeleteInstance and MemorystoreClient.DeleteInstanceAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

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

DeleteInstanceSettings

public CallSettings DeleteInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.DeleteInstance and MemorystoreClient.DeleteInstanceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

ExportBackupOperationsSettings

public OperationsSettings ExportBackupOperationsSettings { get; set; }

Long Running Operation settings for calls to MemorystoreClient.ExportBackup and MemorystoreClient.ExportBackupAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

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

ExportBackupSettings

public CallSettings ExportBackupSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.ExportBackup and MemorystoreClient.ExportBackupAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GetBackupCollectionSettings

public CallSettings GetBackupCollectionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.GetBackupCollection and MemorystoreClient.GetBackupCollectionAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GetBackupSettings

public CallSettings GetBackupSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.GetBackup and MemorystoreClient.GetBackupAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GetCertificateAuthoritySettings

public CallSettings GetCertificateAuthoritySettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.GetCertificateAuthority and MemorystoreClient.GetCertificateAuthorityAsync.

Property Value
Type Description
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.

GetInstanceSettings

public CallSettings GetInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.GetInstance and MemorystoreClient.GetInstanceAsync.

Property Value
Type Description
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.

ListBackupCollectionsSettings

public CallSettings ListBackupCollectionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.ListBackupCollections and MemorystoreClient.ListBackupCollectionsAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ListBackupsSettings

public CallSettings ListBackupsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.ListBackups and MemorystoreClient.ListBackupsAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ListInstancesSettings

public CallSettings ListInstancesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.ListInstances and MemorystoreClient.ListInstancesAsync.

Property Value
Type Description
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.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

RescheduleMaintenanceOperationsSettings

public OperationsSettings RescheduleMaintenanceOperationsSettings { get; set; }

Long Running Operation settings for calls to MemorystoreClient.RescheduleMaintenance and MemorystoreClient.RescheduleMaintenanceAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

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

RescheduleMaintenanceSettings

public CallSettings RescheduleMaintenanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.RescheduleMaintenance and MemorystoreClient.RescheduleMaintenanceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

UpdateInstanceOperationsSettings

public OperationsSettings UpdateInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to MemorystoreClient.UpdateInstance and MemorystoreClient.UpdateInstanceAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

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

UpdateInstanceSettings

public CallSettings UpdateInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to MemorystoreClient.UpdateInstance and MemorystoreClient.UpdateInstanceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

Methods

Clone()

public MemorystoreSettings Clone()

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

Returns
Type Description
MemorystoreSettings

A deep clone of this MemorystoreSettings object.

GetDefault()

public static MemorystoreSettings GetDefault()

Get a new instance of the default MemorystoreSettings.

Returns
Type Description
MemorystoreSettings

A new instance of the default MemorystoreSettings.