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 document provides reference documentation for the \u003ccode\u003ePersistenceConfig\u003c/code\u003e class within the Google Cloud Memorystore for Redis v1beta1 API, specifically version 3.0.0-beta04.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePersistenceConfig\u003c/code\u003e class manages the configuration of persistence features, offering control over enabling persistence, setting snapshot periods, and managing snapshot times.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePersistenceConfig\u003c/code\u003e class include \u003ccode\u003ePersistenceMode\u003c/code\u003e, \u003ccode\u003eRdbNextSnapshotTime\u003c/code\u003e, \u003ccode\u003eRdbSnapshotPeriod\u003c/code\u003e, and \u003ccode\u003eRdbSnapshotStartTime\u003c/code\u003e, which allow users to customize the persistence functionality of their Redis instance.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, which supports serialization, comparison, cloning, and efficient buffer handling, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, one default and one to take in another instance of \u003ccode\u003ePersistenceConfig\u003c/code\u003e to build off of, allowing new instances of the class to be created.\u003c/p\u003e\n"]]],[],null,[]]