public sealed class PersistenceConfig : IMessage<PersistenceConfig>, IEquatable<PersistenceConfig>, IDeepCloneable<PersistenceConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Redis v1beta1 API class PersistenceConfig.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003ePersistenceConfig\u003c/code\u003e class, part of the Google Cloud Memorystore for Redis v1beta1 API, which manages persistence functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePersistenceConfig\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003ePersistenceConfig\u003c/code\u003e include \u003ccode\u003ePersistenceMode\u003c/code\u003e, which controls whether persistence features are enabled, \u003ccode\u003eRdbNextSnapshotTime\u003c/code\u003e, which indicates the next scheduled snapshot time, \u003ccode\u003eRdbSnapshotPeriod\u003c/code\u003e, specifying the interval between RDB snapshots, and \u003ccode\u003eRdbSnapshotStartTime\u003c/code\u003e which is the time that the first snapshot will be taken.\u003c/p\u003e\n"],["\u003cp\u003eThere are different version of the \u003ccode\u003ePersistenceConfig\u003c/code\u003e class, with the latest being \u003ccode\u003e3.0.0-beta05\u003c/code\u003e, and earlier versions \u003ccode\u003e3.0.0-beta04\u003c/code\u003e and \u003ccode\u003e2.0.0-beta09\u003c/code\u003e also being available.\u003c/p\u003e\n"]]],[],null,[]]