public sealed class CreateApiVersionRequest : IMessage<CreateApiVersionRequest>, IEquatable<CreateApiVersionRequest>, IDeepCloneable<CreateApiVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Apigee Registry v1 API class CreateApiVersionRequest.
[[["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\u003eCreateApiVersionRequest\u003c/code\u003e class is used to create a request for the \u003ccode\u003eCreateApiVersion\u003c/code\u003e method within the Apigee Registry v1 API, and it's found within the \u003ccode\u003eGoogle.Cloud.ApigeeRegistry.V1\u003c/code\u003e namespace.\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, providing functionalities for message handling, equality comparison, deep cloning, and buffer manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateApiVersionRequest\u003c/code\u003e has properties such as \u003ccode\u003eApiVersion\u003c/code\u003e, \u003ccode\u003eApiVersionId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsApiName\u003c/code\u003e, which are necessary to define the version being created along with its identification, its parent resource, and the name of the parent as an API name.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for \u003ccode\u003eCreateApiVersionRequest\u003c/code\u003e, one being the default constructor and the other taking another instance of \u003ccode\u003eCreateApiVersionRequest\u003c/code\u003e as a parameter, facilitating the creation of objects with or without an existing object.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class in the documentation is \u003ccode\u003e1.0.0-beta07\u003c/code\u003e, with \u003ccode\u003e1.0.0-beta06\u003c/code\u003e also available.\u003c/p\u003e\n"]]],[],null,["# Apigee Registry v1 API - Class CreateApiVersionRequest (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.CreateApiVersionRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/1.0.0-beta06/Google.Cloud.ApigeeRegistry.V1.CreateApiVersionRequest) \n\n public sealed class CreateApiVersionRequest : IMessage\u003cCreateApiVersionRequest\u003e, IEquatable\u003cCreateApiVersionRequest\u003e, IDeepCloneable\u003cCreateApiVersionRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Apigee Registry v1 API class CreateApiVersionRequest.\n\nRequest message for CreateApiVersion. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateApiVersionRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateApiVersionRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateApiVersionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateApiVersionRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateApiVersionRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateApiVersionRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateApiVersionRequest), [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### CreateApiVersionRequest()\n\n public CreateApiVersionRequest()\n\n### CreateApiVersionRequest(CreateApiVersionRequest)\n\n public CreateApiVersionRequest(CreateApiVersionRequest other)\n\nProperties\n----------\n\n### ApiVersion\n\n public ApiVersion ApiVersion { get; set; }\n\nRequired. The version to create.\n\n### ApiVersionId\n\n public string ApiVersionId { get; set; }\n\nRequired. The ID to use for the version, which will become the final component of\nthe version's resource name.\n\nThis value should be 1-63 characters, and valid characters\nare /\\[a-z\\]\\[0-9\\]-/.\n\nFollowing AIP-162, IDs must not have the form of a UUID.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent, which owns this collection of versions.\nFormat: `projects/*/locations/*/apis/*`\n\n### ParentAsApiName\n\n public ApiName ParentAsApiName { get; set; }\n\n[ApiName](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.ApiName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateApiVersionRequest#Google_Cloud_ApigeeRegistry_V1_CreateApiVersionRequest_Parent) resource name property."]]