public sealed class MaintenancePolicy : IMessage<MaintenancePolicy>, IEquatable<MaintenancePolicy>, IDeepCloneable<MaintenancePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Memorystore for Memcached v1 API class MaintenancePolicy.
public RepeatedField<WeeklyMaintenanceWindow> WeeklyMaintenanceWindow { get; }
Required. Maintenance window that is applied to resources covered by this
policy. Minimum 1. For the current version, the maximum number of
weekly_maintenance_windows 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\u003eThis document provides reference documentation for the \u003ccode\u003eMaintenancePolicy\u003c/code\u003e class within the Google Cloud Memorystore for Memcached v1 API, specifically version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaintenancePolicy\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.Memcache.V1\u003c/code\u003e namespace, is used to define maintenance policies for instances, and it 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.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eMaintenancePolicy\u003c/code\u003e class include \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, and \u003ccode\u003eWeeklyMaintenanceWindow\u003c/code\u003e, allowing for the management and description of maintenance schedules.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003eMaintenancePolicy\u003c/code\u003e class: a default constructor and one that takes another \u003ccode\u003eMaintenancePolicy\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eMaintenancePolicy\u003c/code\u003e class available, with version 2.5.0 being the latest, and 1.0.0 the oldest, all the way to the current 2.3.0.\u003c/p\u003e\n"]]],[],null,[]]