Google Cloud Memorystore for Redis v1 API - Class CloudRedisSettings (3.5.0)

public sealed class CloudRedisSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class CloudRedisSettings.

Settings for CloudRedisClient instances.

Inheritance

object > ServiceSettingsBase > CloudRedisSettings

Namespace

Google.Cloud.Redis.V1

Assembly

Google.Cloud.Redis.V1.dll

Constructors

CloudRedisSettings()

public CloudRedisSettings()

Constructs a new CloudRedisSettings object with default settings.

Properties

CreateInstanceOperationsSettings

public OperationsSettings CreateInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudRedisClient.CreateInstance and CloudRedisClient.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 CloudRedisClient.CreateInstance and CloudRedisClient.CreateInstanceAsync.

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

DeleteInstanceOperationsSettings

public OperationsSettings DeleteInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudRedisClient.DeleteInstance and CloudRedisClient.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 CloudRedisClient.DeleteInstance and CloudRedisClient.DeleteInstanceAsync.

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

ExportInstanceOperationsSettings

public OperationsSettings ExportInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudRedisClient.ExportInstance and CloudRedisClient.ExportInstanceAsync.

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.

ExportInstanceSettings

public CallSettings ExportInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudRedisClient.ExportInstance and CloudRedisClient.ExportInstanceAsync.

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

FailoverInstanceOperationsSettings

public OperationsSettings FailoverInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudRedisClient.FailoverInstance and CloudRedisClient.FailoverInstanceAsync.

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.

FailoverInstanceSettings

public CallSettings FailoverInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudRedisClient.FailoverInstance and CloudRedisClient.FailoverInstanceAsync.

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

GetInstanceAuthStringSettings

public CallSettings GetInstanceAuthStringSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudRedisClient.GetInstanceAuthString and CloudRedisClient.GetInstanceAuthStringAsync.

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

GetInstanceSettings

public CallSettings GetInstanceSettings { get; set; }

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

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

ImportInstanceOperationsSettings

public OperationsSettings ImportInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudRedisClient.ImportInstance and CloudRedisClient.ImportInstanceAsync.

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.

ImportInstanceSettings

public CallSettings ImportInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudRedisClient.ImportInstance and CloudRedisClient.ImportInstanceAsync.

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

ListInstancesSettings

public CallSettings ListInstancesSettings { get; set; }

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

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 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 CloudRedisClient.RescheduleMaintenance and CloudRedisClient.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 CloudRedisClient.RescheduleMaintenance and CloudRedisClient.RescheduleMaintenanceAsync.

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

UpdateInstanceOperationsSettings

public OperationsSettings UpdateInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudRedisClient.UpdateInstance and CloudRedisClient.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 CloudRedisClient.UpdateInstance and CloudRedisClient.UpdateInstanceAsync.

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

UpgradeInstanceOperationsSettings

public OperationsSettings UpgradeInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudRedisClient.UpgradeInstance and CloudRedisClient.UpgradeInstanceAsync.

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.

UpgradeInstanceSettings

public CallSettings UpgradeInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudRedisClient.UpgradeInstance and CloudRedisClient.UpgradeInstanceAsync.

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

Methods

Clone()

public CloudRedisSettings Clone()

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

Returns
Type Description
CloudRedisSettings

A deep clone of this CloudRedisSettings object.

GetDefault()

public static CloudRedisSettings GetDefault()

Get a new instance of the default CloudRedisSettings.

Returns
Type Description
CloudRedisSettings

A new instance of the default CloudRedisSettings.