[[["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 Functions V2 Client - Class UpdateFunctionRequest (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-functions/latest/V2.UpdateFunctionRequest)\n- [2.0.5](/php/docs/reference/cloud-functions/2.0.5/V2.UpdateFunctionRequest)\n- [1.7.0](/php/docs/reference/cloud-functions/1.7.0/V2.UpdateFunctionRequest)\n- [1.6.5](/php/docs/reference/cloud-functions/1.6.5/V2.UpdateFunctionRequest)\n- [1.5.0](/php/docs/reference/cloud-functions/1.5.0/V2.UpdateFunctionRequest)\n- [1.4.2](/php/docs/reference/cloud-functions/1.4.2/V2.UpdateFunctionRequest)\n- [1.3.1](/php/docs/reference/cloud-functions/1.3.1/V2.UpdateFunctionRequest)\n- [1.2.0](/php/docs/reference/cloud-functions/1.2.0/V2.UpdateFunctionRequest)\n- [1.1.2](/php/docs/reference/cloud-functions/1.1.2/V2.UpdateFunctionRequest)\n- [1.0.3](/php/docs/reference/cloud-functions/1.0.3/V2.UpdateFunctionRequest) \nReference documentation and code samples for the Google Cloud Functions V2 Client class UpdateFunctionRequest.\n\nRequest for the `UpdateFunction` method.\n\nGenerated from protobuf message `google.cloud.functions.v2.UpdateFunctionRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Functions \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getFunction\n\nRequired. New version of the function.\n\n### hasFunction\n\n### clearFunction\n\n### setFunction\n\nRequired. New version of the function.\n\n### getUpdateMask\n\nThe list of fields to be updated.\n\nIf no field mask is provided, all fields will be updated.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nThe list of fields to be updated.\n\nIf no field mask is provided, all fields will be updated.\n\n### static::build"]]