Memorystore v1 API - Class MemorystoreSettings (1.0.0-beta01)

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

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.

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.

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.

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

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.