public sealed class UpdateFunctionRequest : IMessage<UpdateFunctionRequest>, IEquatable<UpdateFunctionRequest>, IDeepCloneable<UpdateFunctionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v1 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\u003eThe latest version of the \u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e class is 2.7.0, representing the most current release of this API class.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the Google Cloud Functions v1 API, found within the \u003ccode\u003eGoogle.Cloud.Functions.V1\u003c/code\u003e namespace, and is used to send requests to the \u003ccode\u003eUpdateFunction\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<UpdateFunctionRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<UpdateFunctionRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, comparison, cloning, and buffering.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties \u003ccode\u003eFunction\u003c/code\u003e of type \u003ccode\u003eCloudFunction\u003c/code\u003e, which is a new version of the function, and \u003ccode\u003eUpdateMask\u003c/code\u003e of type \u003ccode\u003eFieldMask\u003c/code\u003e to specify fields that need to be updated.\u003c/p\u003e\n"],["\u003cp\u003eSeveral previous versions of the \u003ccode\u003eUpdateFunctionRequest\u003c/code\u003e class are available, ranging from version 2.6.0 down to 1.1.0, alongside the latest version for the user to utilize.\u003c/p\u003e\n"]]],[],null,["# Cloud Functions v1 API - Class UpdateFunctionRequest (2.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Functions.V1/latest/Google.Cloud.Functions.V1.UpdateFunctionRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.6.0/Google.Cloud.Functions.V1.UpdateFunctionRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.5.0/Google.Cloud.Functions.V1.UpdateFunctionRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.4.0/Google.Cloud.Functions.V1.UpdateFunctionRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.3.0/Google.Cloud.Functions.V1.UpdateFunctionRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.2.0/Google.Cloud.Functions.V1.UpdateFunctionRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.1.0/Google.Cloud.Functions.V1.UpdateFunctionRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.0.0/Google.Cloud.Functions.V1.UpdateFunctionRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/1.3.0/Google.Cloud.Functions.V1.UpdateFunctionRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/1.2.0/Google.Cloud.Functions.V1.UpdateFunctionRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/1.1.0/Google.Cloud.Functions.V1.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 v1 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.V1/latest/Google.Cloud.Functions.V1.UpdateFunctionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateFunctionRequest](/dotnet/docs/reference/Google.Cloud.Functions.V1/latest/Google.Cloud.Functions.V1.UpdateFunctionRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateFunctionRequest](/dotnet/docs/reference/Google.Cloud.Functions.V1/latest/Google.Cloud.Functions.V1.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.V1](/dotnet/docs/reference/Google.Cloud.Functions.V1/latest/Google.Cloud.Functions.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Functions.V1.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 CloudFunction Function { get; set; }\n\nRequired. New version of the function.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nRequired. The list of fields in `CloudFunction` that have to be updated."]]