public sealed class UpdateFunctionRequest : IMessage<UpdateFunctionRequest>, IEquatable<UpdateFunctionRequest>, IDeepCloneable<UpdateFunctionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v2beta 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 page provides reference documentation for the \u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e class within the Cloud Functions v2beta API for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e is used to request the \u003ccode\u003eUpdateFunction\u003c/code\u003e method, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIEquatable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e class has two constructors and two key properties, \u003ccode\u003eFunction\u003c/code\u003e to contain the new version of the function and \u003ccode\u003eUpdateMask\u003c/code\u003e to specify which fields to update.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation covered in the page is \u003ccode\u003e1.0.0-beta07\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e is part of the \u003ccode\u003eGoogle.Cloud.Functions.V2Beta\u003c/code\u003e namespace and is located in the \u003ccode\u003eGoogle.Cloud.Functions.V2Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Cloud Functions v2beta API - Class UpdateFunctionRequest (1.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.UpdateFunctionRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/1.0.0-beta06/Google.Cloud.Functions.V2Beta.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 v2beta 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.V2Beta/latest/Google.Cloud.Functions.V2Beta.UpdateFunctionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateFunctionRequest](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.UpdateFunctionRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateFunctionRequest](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.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.V2Beta](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Functions.V2Beta.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."]]