public sealed class MaintenancePolicy : IMessage<MaintenancePolicy>, IEquatable<MaintenancePolicy>, IDeepCloneable<MaintenancePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class MaintenancePolicy.
public RepeatedField<WeeklyMaintenanceWindow> WeeklyMaintenanceWindow { get; }
Optional. Maintenance window that is applied to resources covered by this
policy. Minimum 1. For the current version, the maximum number of
weekly_window is expected to be one.
[[["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\u003eThe \u003ccode\u003eMaintenancePolicy\u003c/code\u003e class in the Google Cloud Memorystore for Redis v1 API is used to define the maintenance policy for an instance, including when maintenance windows occur.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eMaintenancePolicy\u003c/code\u003e class is 3.5.0, and there are previous versions available for reference, ranging from 3.4.0 down to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaintenancePolicy\u003c/code\u003e class includes properties such as \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, and \u003ccode\u003eWeeklyMaintenanceWindow\u003c/code\u003e, allowing for detailed configuration.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, providing functionality for message handling and data management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWeeklyMaintenanceWindow\u003c/code\u003e property allows users to set up scheduled maintenance windows, with a minimum requirement of one defined window, but it is expected to have only one window per version.\u003c/p\u003e\n"]]],[],null,[]]