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 inherits from \u003ccode\u003eobject\u003c/code\u003e, allowing for operations like deep cloning and equality comparisons.\u003c/p\u003e\n"],["\u003cp\u003eRequired properties of the \u003ccode\u003eSetMaintenancePolicyRequest\u003c/code\u003e include \u003ccode\u003eClusterId\u003c/code\u003e, \u003ccode\u003eMaintenancePolicy\u003c/code\u003e, \u003ccode\u003eProjectId\u003c/code\u003e, and \u003ccode\u003eZone\u003c/code\u003e, allowing the user to provide the necessary information for the request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property can be specified in the format \u003ccode\u003eprojects/*/locations/*/clusters/*\u003c/code\u003e to provide the full name of the cluster for setting the maintenance policy.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage provides a list of available versions of \u003ccode\u003eSetMaintenancePolicyRequest\u003c/code\u003e class, beginning from version \u003ccode\u003e2.3.0\u003c/code\u003e to the latest \u003ccode\u003e3.33.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]