[[["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 UpdateOSPolicyAssignmentRequest (2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/php/docs/reference/cloud-osconfig/latest/V1.UpdateOSPolicyAssignmentRequest)\n- [2.0.5](/php/docs/reference/cloud-osconfig/2.0.5/V1.UpdateOSPolicyAssignmentRequest)\n- [1.3.5](/php/docs/reference/cloud-osconfig/1.3.5/V1.UpdateOSPolicyAssignmentRequest)\n- [1.2.2](/php/docs/reference/cloud-osconfig/1.2.2/V1.UpdateOSPolicyAssignmentRequest)\n- [1.1.1](/php/docs/reference/cloud-osconfig/1.1.1/V1.UpdateOSPolicyAssignmentRequest)\n- [1.0.5](/php/docs/reference/cloud-osconfig/1.0.5/V1.UpdateOSPolicyAssignmentRequest) \nReference documentation and code samples for the Google Cloud OsConfig V1 Client class UpdateOSPolicyAssignmentRequest.\n\nA request message to update an OS policy assignment\n\nGenerated from protobuf message `google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OsConfig \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getOsPolicyAssignment\n\nRequired. The updated OS policy assignment.\n\n### hasOsPolicyAssignment\n\n### clearOsPolicyAssignment\n\n### setOsPolicyAssignment\n\nRequired. The updated OS policy assignment.\n\n### getUpdateMask\n\nOptional. Field mask that controls which fields of the assignment should be\nupdated.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nOptional. Field mask that controls which fields of the assignment should be\nupdated.\n\n### static::build"]]