public sealed class DeleteApiVersionRequest : IMessage<DeleteApiVersionRequest>, IEquatable<DeleteApiVersionRequest>, IDeepCloneable<DeleteApiVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Apigee Registry v1 API class DeleteApiVersionRequest.
[[["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\u003eThe \u003ccode\u003eDeleteApiVersionRequest\u003c/code\u003e class is used to construct requests for deleting an API version within the Apigee Registry v1 API, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors, a default one \u003ccode\u003eDeleteApiVersionRequest()\u003c/code\u003e and one that accepts another \u003ccode\u003eDeleteApiVersionRequest\u003c/code\u003e object for duplication \u003ccode\u003eDeleteApiVersionRequest(DeleteApiVersionRequest other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiVersionName\u003c/code\u003e property offers a typed view over the resource name, facilitating API version identification.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eForce\u003c/code\u003e property, when set to \u003ccode\u003etrue\u003c/code\u003e, allows for the deletion of any child resources along with the specified API version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property is a string that specifies the name of the API version to delete, following the format: \u003ccode\u003eprojects/*/locations/*/apis/*/versions/*\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Apigee Registry v1 API - Class DeleteApiVersionRequest (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.DeleteApiVersionRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/1.0.0-beta06/Google.Cloud.ApigeeRegistry.V1.DeleteApiVersionRequest) \n\n public sealed class DeleteApiVersionRequest : IMessage\u003cDeleteApiVersionRequest\u003e, IEquatable\u003cDeleteApiVersionRequest\u003e, IDeepCloneable\u003cDeleteApiVersionRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Apigee Registry v1 API class DeleteApiVersionRequest.\n\nRequest message for DeleteApiVersion. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteApiVersionRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteApiVersionRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.DeleteApiVersionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteApiVersionRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.DeleteApiVersionRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteApiVersionRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.DeleteApiVersionRequest), [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### DeleteApiVersionRequest()\n\n public DeleteApiVersionRequest()\n\n### DeleteApiVersionRequest(DeleteApiVersionRequest)\n\n public DeleteApiVersionRequest(DeleteApiVersionRequest other)\n\nProperties\n----------\n\n### ApiVersionName\n\n public ApiVersionName ApiVersionName { get; set; }\n\n[ApiVersionName](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.ApiVersionName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.DeleteApiVersionRequest#Google_Cloud_ApigeeRegistry_V1_DeleteApiVersionRequest_Name) resource name property.\n\n### Force\n\n public bool Force { get; set; }\n\nIf set to true, any child resources will also be deleted.\n(Otherwise, the request will only work if there are no child resources.)\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the version to delete.\nFormat: `projects/*/locations/*/apis/*/versions/*`"]]