public sealed class UpdateApiSpecRequest : IMessage<UpdateApiSpecRequest>, IEquatable<UpdateApiSpecRequest>, IDeepCloneable<UpdateApiSpecRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Apigee Registry v1 API class UpdateApiSpecRequest.
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 document provides reference information for the \u003ccode\u003eUpdateApiSpecRequest\u003c/code\u003e class within the Google Cloud Apigee Registry v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateApiSpecRequest\u003c/code\u003e is used as a request message for updating an API specification, as defined in the Apigee Registry.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, supporting various functionalities like message handling and cloning.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eUpdateApiSpecRequest\u003c/code\u003e class include \u003ccode\u003eAllowMissing\u003c/code\u003e (which allows for creating a new spec if one is not found), \u003ccode\u003eApiSpec\u003c/code\u003e (the actual spec to be updated), and \u003ccode\u003eUpdateMask\u003c/code\u003e (which determines the fields to update).\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the \u003ccode\u003eUpdateApiSpecRequest\u003c/code\u003e class is Google.Cloud.ApigeeRegistry.V1, and it is part of the Google.Cloud.ApigeeRegistry.V1.dll assembly.\u003c/p\u003e\n"]]],[],null,["# Apigee Registry v1 API - Class UpdateApiSpecRequest (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.UpdateApiSpecRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/1.0.0-beta06/Google.Cloud.ApigeeRegistry.V1.UpdateApiSpecRequest) \n\n public sealed class UpdateApiSpecRequest : IMessage\u003cUpdateApiSpecRequest\u003e, IEquatable\u003cUpdateApiSpecRequest\u003e, IDeepCloneable\u003cUpdateApiSpecRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Apigee Registry v1 API class UpdateApiSpecRequest.\n\nRequest message for UpdateApiSpec. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateApiSpecRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateApiSpecRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.UpdateApiSpecRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateApiSpecRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.UpdateApiSpecRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateApiSpecRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.UpdateApiSpecRequest), [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### UpdateApiSpecRequest()\n\n public UpdateApiSpecRequest()\n\n### UpdateApiSpecRequest(UpdateApiSpecRequest)\n\n public UpdateApiSpecRequest(UpdateApiSpecRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nIf set to true, and the spec is not found, a new spec will be created.\nIn this situation, `update_mask` is ignored.\n\n### ApiSpec\n\n public ApiSpec ApiSpec { get; set; }\n\nRequired. The spec to update.\n\nThe `name` field is used to identify the spec to update.\nFormat: `projects/*/locations/*/apis/*/versions/*/specs/*`\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."]]