[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud OsConfig V1 Client - Class WindowsUpdateSettings (2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/php/docs/reference/cloud-osconfig/latest/V1.WindowsUpdateSettings)\n- [2.0.5](/php/docs/reference/cloud-osconfig/2.0.5/V1.WindowsUpdateSettings)\n- [1.3.5](/php/docs/reference/cloud-osconfig/1.3.5/V1.WindowsUpdateSettings)\n- [1.2.2](/php/docs/reference/cloud-osconfig/1.2.2/V1.WindowsUpdateSettings)\n- [1.1.1](/php/docs/reference/cloud-osconfig/1.1.1/V1.WindowsUpdateSettings)\n- [1.0.5](/php/docs/reference/cloud-osconfig/1.0.5/V1.WindowsUpdateSettings) \nReference documentation and code samples for the Google Cloud OsConfig V1 Client class WindowsUpdateSettings.\n\nWindows patching is performed using the Windows Update Agent.\n\nGenerated from protobuf message `google.cloud.osconfig.v1.WindowsUpdateSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OsConfig \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getClassifications\n\nOnly apply updates of these windows update classifications. If empty, all\nupdates are applied.\n\n### setClassifications\n\nOnly apply updates of these windows update classifications. If empty, all\nupdates are applied.\n\n### getExcludes\n\nList of KBs to exclude from update.\n\n### setExcludes\n\nList of KBs to exclude from update.\n\n### getExclusivePatches\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.\n\n### setExclusivePatches\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."]]