public sealed class SetMaintenancePolicyRequest : IMessage<SetMaintenancePolicyRequest>, IEquatable<SetMaintenancePolicyRequest>, IDeepCloneable<SetMaintenancePolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class SetMaintenancePolicyRequest.
SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
[[["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\u003eSetMaintenancePolicyRequest\u003c/code\u003e class, part of the Google Kubernetes Engine v1 API, is used to set or clear the maintenance policy for a cluster, with the latest version being 3.33.0.\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, and has methods for managing the cluster's maintenance policy.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eSetMaintenancePolicyRequest\u003c/code\u003e include \u003ccode\u003eClusterId\u003c/code\u003e, \u003ccode\u003eMaintenancePolicy\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eProjectId\u003c/code\u003e, and \u003ccode\u003eZone\u003c/code\u003e, all of which are essential for identifying and updating the correct cluster's maintenance settings.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides constructors for creating new instances, one default constructor and another which can take another instance of \u003ccode\u003eSetMaintenancePolicyRequest\u003c/code\u003e to copy.\u003c/p\u003e\n"],["\u003cp\u003eThe API documentation provides a list of available versions to select from, starting at version 3.33.0 (latest) down to version 2.3.0, with links to the documentation for each specific version.\u003c/p\u003e\n"]]],[],null,[]]