public sealed class UpdateApiRequest : IMessage<UpdateApiRequest>, IEquatable<UpdateApiRequest>, IDeepCloneable<UpdateApiRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Apigee Registry v1 API class UpdateApiRequest.
The list of fields to be updated. If omitted, all fields are updated that
are set in the request message (fields set to default values are ignored).
If an asterisk "*" is specified, all fields are updated, including fields
that are unspecified/default in the request.
[[["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."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eUpdateApiRequest\u003c/code\u003e class within the Google Cloud Apigee Registry v1 API, specifically for the .NET framework.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateApiRequest\u003c/code\u003e class is used to send a request to update an API within the Apigee Registry and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers properties such as \u003ccode\u003eAllowMissing\u003c/code\u003e, which determines whether to create a new API if it doesn't exist, \u003ccode\u003eApi\u003c/code\u003e, which represents the API object to be updated, and \u003ccode\u003eUpdateMask\u003c/code\u003e to specify which fields should be updated.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating instances of the \u003ccode\u003eUpdateApiRequest\u003c/code\u003e class, either as a new request or by copying an existing one.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and includes inherited members like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e, which are common in .NET object inheritance.\u003c/p\u003e\n"]]],[],null,["# Apigee Registry v1 API - Class UpdateApiRequest (1.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.UpdateApiRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/1.0.0-beta06/Google.Cloud.ApigeeRegistry.V1.UpdateApiRequest) \n\n public sealed class UpdateApiRequest : IMessage\u003cUpdateApiRequest\u003e, IEquatable\u003cUpdateApiRequest\u003e, IDeepCloneable\u003cUpdateApiRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Apigee Registry v1 API class UpdateApiRequest.\n\nRequest message for UpdateApi. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateApiRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateApiRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.UpdateApiRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateApiRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.UpdateApiRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateApiRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.UpdateApiRequest), [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.ApigeeRegistry.V1](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ApigeeRegistry.V1.dll\n\nConstructors\n------------\n\n### UpdateApiRequest()\n\n public UpdateApiRequest()\n\n### UpdateApiRequest(UpdateApiRequest)\n\n public UpdateApiRequest(UpdateApiRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nIf set to true, and the API is not found, a new API will be created.\nIn this situation, `update_mask` is ignored.\n\n### Api\n\n public Api Api { get; set; }\n\nRequired. The API to update.\n\nThe `name` field is used to identify the API to update.\nFormat: `projects/*/locations/*/apis/*`\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nThe list of fields to be updated. If omitted, all fields are updated that\nare set in the request message (fields set to default values are ignored).\nIf an asterisk \"\\*\" is specified, all fields are updated, including fields\nthat are unspecified/default in the request."]]