[[["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-09 UTC."],[],[],null,["# Cloud Functions V2 API - Class Google::Cloud::Functions::V2::UpdateFunctionRequest (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-UpdateFunctionRequest)\n- [1.0.2](/ruby/docs/reference/google-cloud-functions-v2/1.0.2/Google-Cloud-Functions-V2-UpdateFunctionRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-functions-v2/0.10.0/Google-Cloud-Functions-V2-UpdateFunctionRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-functions-v2/0.9.0/Google-Cloud-Functions-V2-UpdateFunctionRequest)\n- [0.8.1](/ruby/docs/reference/google-cloud-functions-v2/0.8.1/Google-Cloud-Functions-V2-UpdateFunctionRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-functions-v2/0.7.0/Google-Cloud-Functions-V2-UpdateFunctionRequest)\n- [0.6.2](/ruby/docs/reference/google-cloud-functions-v2/0.6.2/Google-Cloud-Functions-V2-UpdateFunctionRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-functions-v2/0.5.0/Google-Cloud-Functions-V2-UpdateFunctionRequest)\n- [0.4.1](/ruby/docs/reference/google-cloud-functions-v2/0.4.1/Google-Cloud-Functions-V2-UpdateFunctionRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-functions-v2/0.3.0/Google-Cloud-Functions-V2-UpdateFunctionRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-functions-v2/0.2.0/Google-Cloud-Functions-V2-UpdateFunctionRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-functions-v2/0.1.0/Google-Cloud-Functions-V2-UpdateFunctionRequest) \nReference documentation and code samples for the Cloud Functions V2 API class Google::Cloud::Functions::V2::UpdateFunctionRequest.\n\nRequest for the `UpdateFunction` method. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #function\n\n def function() -\u003e ::Google::Cloud::Functions::V2::Function\n\n**Returns**\n\n- ([::Google::Cloud::Functions::V2::Function](./Google-Cloud-Functions-V2-Function)) --- Required. New version of the function.\n\n### #function=\n\n def function=(value) -\u003e ::Google::Cloud::Functions::V2::Function\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Functions::V2::Function](./Google-Cloud-Functions-V2-Function)) --- Required. New version of the function. \n**Returns**\n\n- ([::Google::Cloud::Functions::V2::Function](./Google-Cloud-Functions-V2-Function)) --- Required. New version of the function.\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- The list of fields to be updated. If no field mask is provided, all fields will be updated.\n\n### #update_mask=\n\n def update_mask=(value) -\u003e ::Google::Protobuf::FieldMask\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- The list of fields to be updated. If no field mask is provided, all fields will be updated. \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- The list of fields to be updated. If no field mask is provided, all fields will be updated."]]