public sealed class WindowsUpdateSettings : IMessage<WindowsUpdateSettings>, IEquatable<WindowsUpdateSettings>, IDeepCloneable<WindowsUpdateSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1 API class WindowsUpdateSettings.
Windows patching is performed using the Windows Update Agent.
[[["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-12 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eWindowsUpdateSettings\u003c/code\u003e class in the Google Cloud OS Config v1 API is 2.4.0, with several previous versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWindowsUpdateSettings\u003c/code\u003e class is used for managing Windows patching via the Windows Update Agent and 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\u003eThis class allows users to specify which Windows update classifications should be applied and to exclude specific updates by their KB number.\u003c/p\u003e\n"],["\u003cp\u003eUsers can configure the class to apply only a specific list of KB patches, exclusively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWindowsUpdateSettings\u003c/code\u003e class contains properties such as \u003ccode\u003eClassifications\u003c/code\u003e, \u003ccode\u003eExcludes\u003c/code\u003e, and \u003ccode\u003eExclusivePatches\u003c/code\u003e, all of which are repeated fields.\u003c/p\u003e\n"]]],[],null,["# Google Cloud OS Config v1 API - Class WindowsUpdateSettings (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.WindowsUpdateSettings)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.4.0/Google.Cloud.OsConfig.V1.WindowsUpdateSettings)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.3.0/Google.Cloud.OsConfig.V1.WindowsUpdateSettings)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.2.0/Google.Cloud.OsConfig.V1.WindowsUpdateSettings)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.1.0/Google.Cloud.OsConfig.V1.WindowsUpdateSettings)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.0.0/Google.Cloud.OsConfig.V1.WindowsUpdateSettings)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.8.0/Google.Cloud.OsConfig.V1.WindowsUpdateSettings)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.7.0/Google.Cloud.OsConfig.V1.WindowsUpdateSettings)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.6.0/Google.Cloud.OsConfig.V1.WindowsUpdateSettings)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.5.0/Google.Cloud.OsConfig.V1.WindowsUpdateSettings)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.4.0/Google.Cloud.OsConfig.V1.WindowsUpdateSettings)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.3.0/Google.Cloud.OsConfig.V1.WindowsUpdateSettings) \n\n public sealed class WindowsUpdateSettings : IMessage\u003cWindowsUpdateSettings\u003e, IEquatable\u003cWindowsUpdateSettings\u003e, IDeepCloneable\u003cWindowsUpdateSettings\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud OS Config v1 API class WindowsUpdateSettings.\n\nWindows patching is performed using the Windows Update Agent. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WindowsUpdateSettings \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WindowsUpdateSettings](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.WindowsUpdateSettings), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WindowsUpdateSettings](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.WindowsUpdateSettings), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WindowsUpdateSettings](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.WindowsUpdateSettings), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.OsConfig.V1](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.OsConfig.V1.dll\n\nConstructors\n------------\n\n### WindowsUpdateSettings()\n\n public WindowsUpdateSettings()\n\n### WindowsUpdateSettings(WindowsUpdateSettings)\n\n public WindowsUpdateSettings(WindowsUpdateSettings other)\n\nProperties\n----------\n\n### Classifications\n\n public RepeatedField\u003cWindowsUpdateSettings.Types.Classification\u003e Classifications { get; }\n\nOnly apply updates of these windows update classifications. If empty, all\nupdates are applied.\n\n### Excludes\n\n public RepeatedField\u003cstring\u003e Excludes { get; }\n\nList of KBs to exclude from update.\n\n### ExclusivePatches\n\n public RepeatedField\u003cstring\u003e ExclusivePatches { get; }\n\nAn exclusive list of kbs to be updated. These are the only patches\nthat will be updated. This field must not be used with other\npatch configurations."]]