public sealed class UpdateFunctionRequest : IMessage<UpdateFunctionRequest>, IEquatable<UpdateFunctionRequest>, IDeepCloneable<UpdateFunctionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v2 API class UpdateFunctionRequest.
[[["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."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e class within the Google Cloud Functions v2 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e is a class used to update a Cloud Function via the \u003ccode\u003eUpdateFunction\u003c/code\u003e method, and it inherits from the base \u003ccode\u003eobject\u003c/code\u003e class while implementing several interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API class \u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e is 1.7.0, with several previous versions available, ranging from 1.0.0 to 1.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eFunction\u003c/code\u003e, which represents the updated version of the function, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which specifies which fields should be updated in a request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e class has 2 constructors, one being empty and another that takes in another \u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Cloud Functions v2 API - Class UpdateFunctionRequest (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.UpdateFunctionRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.6.0/Google.Cloud.Functions.V2.UpdateFunctionRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.5.0/Google.Cloud.Functions.V2.UpdateFunctionRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.4.0/Google.Cloud.Functions.V2.UpdateFunctionRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.3.0/Google.Cloud.Functions.V2.UpdateFunctionRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.2.0/Google.Cloud.Functions.V2.UpdateFunctionRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.1.0/Google.Cloud.Functions.V2.UpdateFunctionRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.0.0/Google.Cloud.Functions.V2.UpdateFunctionRequest) \n\n public sealed class UpdateFunctionRequest : IMessage\u003cUpdateFunctionRequest\u003e, IEquatable\u003cUpdateFunctionRequest\u003e, IDeepCloneable\u003cUpdateFunctionRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Functions v2 API class UpdateFunctionRequest.\n\nRequest for the `UpdateFunction` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateFunctionRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateFunctionRequest](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.UpdateFunctionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateFunctionRequest](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.UpdateFunctionRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateFunctionRequest](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.UpdateFunctionRequest), [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.Functions.V2](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Functions.V2.dll\n\nConstructors\n------------\n\n### UpdateFunctionRequest()\n\n public UpdateFunctionRequest()\n\n### UpdateFunctionRequest(UpdateFunctionRequest)\n\n public UpdateFunctionRequest(UpdateFunctionRequest other)\n\nProperties\n----------\n\n### Function\n\n public Function Function { get; set; }\n\nRequired. New version of the function.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nThe list of fields to be updated.\nIf no field mask is provided, all fields will be updated."]]