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

public sealed class PersistenceConfig : IMessage<PersistenceConfig>, IEquatable<PersistenceConfig>, IDeepCloneable<PersistenceConfig>, IBufferMessage, IMessage

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

Configuration of the persistence functionality.

Inheritance

object > PersistenceConfig

Namespace

Google.Cloud.Redis.V1

Assembly

Google.Cloud.Redis.V1.dll

Constructors

PersistenceConfig()

public PersistenceConfig()

PersistenceConfig(PersistenceConfig)

public PersistenceConfig(PersistenceConfig other)
Parameter
Name Description
other PersistenceConfig

Properties

PersistenceMode

public PersistenceConfig.Types.PersistenceMode PersistenceMode { get; set; }

Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.

Property Value
Type Description
PersistenceConfigTypesPersistenceMode

RdbNextSnapshotTime

public Timestamp RdbNextSnapshotTime { get; set; }

Output only. The next time that a snapshot attempt is scheduled to occur.

Property Value
Type Description
Timestamp

RdbSnapshotPeriod

public PersistenceConfig.Types.SnapshotPeriod RdbSnapshotPeriod { get; set; }

Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.

Property Value
Type Description
PersistenceConfigTypesSnapshotPeriod

RdbSnapshotStartTime

public Timestamp RdbSnapshotStartTime { get; set; }

Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.

Property Value
Type Description
Timestamp