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\u003eThis webpage provides documentation for the \u003ccode\u003eSetMaintenancePolicyRequest\u003c/code\u003e class within the Google Kubernetes Engine v1 API for .NET, specifically for setting maintenance policies on a cluster.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is available for version 3.33.0, and the page offers links to documentation for versions ranging from 2.3.0 to 3.33.0, allowing users to reference prior versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetMaintenancePolicyRequest\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which enables features like message manipulation, comparison, deep cloning, and buffer handling.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSetMaintenancePolicyRequest\u003c/code\u003e class 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, which are used to define the cluster and the maintenance policy to be applied.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for \u003ccode\u003eSetMaintenancePolicyRequest\u003c/code\u003e, a default one and one that allows for the initialization of the object via passing another \u003ccode\u003eSetMaintenancePolicyRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]