public sealed class ClusterMaintenancePolicy : IMessage<ClusterMaintenancePolicy>, IEquatable<ClusterMaintenancePolicy>, IDeepCloneable<ClusterMaintenancePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API class ClusterMaintenancePolicy.
public RepeatedField<ClusterWeeklyMaintenanceWindow> 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_maintenance_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 latest version of the \u003ccode\u003eClusterMaintenancePolicy\u003c/code\u003e class is 1.4.0, within the \u003ccode\u003eGoogle.Cloud.Redis.Cluster.V1\u003c/code\u003e namespace for managing Google Cloud Memorystore for Redis clusters.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eClusterMaintenancePolicy\u003c/code\u003e is a class for defining maintenance policies for Redis clusters, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class features properties to set the creation and update timestamps (\u003ccode\u003eCreateTime\u003c/code\u003e and \u003ccode\u003eUpdateTime\u003c/code\u003e) of a maintenance policy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWeeklyMaintenanceWindow\u003c/code\u003e property allows configuration of a maintenance schedule, supporting at least one weekly window, and is currently expected to be limited to a maximum of one weekly maintenance window.\u003c/p\u003e\n"],["\u003cp\u003eThe class also contains two available constructors: one default constructor \u003ccode\u003eClusterMaintenancePolicy()\u003c/code\u003e and one that takes in another \u003ccode\u003eClusterMaintenancePolicy\u003c/code\u003e object as a parameter \u003ccode\u003eClusterMaintenancePolicy(ClusterMaintenancePolicy other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]