public sealed class DeleteVersionRequest : IMessage<DeleteVersionRequest>, IEquatable<DeleteVersionRequest>, IDeepCloneable<DeleteVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class DeleteVersionRequest.
The [DeleteVersion][google.cloud.apihub.v1.ApiHub.DeleteVersion] method's
request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDeleteVersionRequest\u003c/code\u003e class is used to formulate requests for the \u003ccode\u003eDeleteVersion\u003c/code\u003e method in the ApiHub v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \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\u003eThe \u003ccode\u003eForce\u003c/code\u003e property, when set to true, allows deletion of the version even if it has specs, otherwise, it only allows deletion if no specs exist for the version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property is required and specifies the full resource name of the version to be deleted, adhering to a specific format: \u003ccode\u003eprojects/{project}/locations/{location}/apis/{api}/versions/{version}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt also provides a \u003ccode\u003eVersionName\u003c/code\u003e property which is a strongly typed representation of the resource name.\u003c/p\u003e\n"]]],[],null,[]]