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"]],[["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."],[[["The `CreateVersionRequest` class is used to define the request for the `CreateVersion` method in the API hub v1 API, facilitating the creation of a new API version."],["This class inherits from `object` and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality comparison, deep cloning, and buffer management."],["Key properties of the `CreateVersionRequest` class include `Parent`, specifying the parent resource for the API version in a specific format, `ParentAsApiName` representing the parent resource as a typed `ApiName`, `Version` for the version details, and `VersionId` for optionally providing a custom ID for the API version."],["There are two constructor overloads, one default and one that takes an existing `CreateVersionRequest` object to create a copy, which allows you to generate new version requests based on existing ones."]]],[]]