public sealed class CreateVersionRequest : IMessage<CreateVersionRequest>, IEquatable<CreateVersionRequest>, IDeepCloneable<CreateVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class CreateVersionRequest.
The [CreateVersion][google.cloud.apihub.v1.ApiHub.CreateVersion] method's
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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateVersionRequest\u003c/code\u003e class is used to define the request for the \u003ccode\u003eCreateVersion\u003c/code\u003e method in the API hub v1 API, facilitating the creation of a new API version.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCreateVersionRequest\u003c/code\u003e class include \u003ccode\u003eParent\u003c/code\u003e, specifying the parent resource for the API version in a specific format, \u003ccode\u003eParentAsApiName\u003c/code\u003e representing the parent resource as a typed \u003ccode\u003eApiName\u003c/code\u003e, \u003ccode\u003eVersion\u003c/code\u003e for the version details, and \u003ccode\u003eVersionId\u003c/code\u003e for optionally providing a custom ID for the API version.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor overloads, one default and one that takes an existing \u003ccode\u003eCreateVersionRequest\u003c/code\u003e object to create a copy, which allows you to generate new version requests based on existing ones.\u003c/p\u003e\n"]]],[],null,[]]