public sealed class CreateApiDeploymentRequest : IMessage<CreateApiDeploymentRequest>, IEquatable<CreateApiDeploymentRequest>, IDeepCloneable<CreateApiDeploymentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Apigee Registry v1 API class CreateApiDeploymentRequest.
[[["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\u003eCreateApiDeploymentRequest\u003c/code\u003e class is used to create a request for the \u003ccode\u003eCreateApiDeployment\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 implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateApiDeploymentRequest\u003c/code\u003e class has several properties, such as \u003ccode\u003eApiDeployment\u003c/code\u003e, \u003ccode\u003eApiDeploymentId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsApiName\u003c/code\u003e, that are used to define the deployment being created, along with the ID and the API parent resource where the deployment resides.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiDeploymentId\u003c/code\u003e must be between 4-63 characters long, using only lowercase letters, numbers, and hyphens, and it must not be a UUID.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors, one that is parameterless, and one that takes an object of the same type as a parameter.\u003c/p\u003e\n"]]],[],null,["# Apigee Registry v1 API - Class CreateApiDeploymentRequest (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.CreateApiDeploymentRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/1.0.0-beta06/Google.Cloud.ApigeeRegistry.V1.CreateApiDeploymentRequest) \n\n public sealed class CreateApiDeploymentRequest : IMessage\u003cCreateApiDeploymentRequest\u003e, IEquatable\u003cCreateApiDeploymentRequest\u003e, IDeepCloneable\u003cCreateApiDeploymentRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Apigee Registry v1 API class CreateApiDeploymentRequest.\n\nRequest message for CreateApiDeployment. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateApiDeploymentRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateApiDeploymentRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateApiDeploymentRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateApiDeploymentRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateApiDeploymentRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateApiDeploymentRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateApiDeploymentRequest), [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### CreateApiDeploymentRequest()\n\n public CreateApiDeploymentRequest()\n\n### CreateApiDeploymentRequest(CreateApiDeploymentRequest)\n\n public CreateApiDeploymentRequest(CreateApiDeploymentRequest other)\n\nProperties\n----------\n\n### ApiDeployment\n\n public ApiDeployment ApiDeployment { get; set; }\n\nRequired. The deployment to create.\n\n### ApiDeploymentId\n\n public string ApiDeploymentId { get; set; }\n\nRequired. The ID to use for the deployment, which will become the final component of\nthe deployment's resource name.\n\nThis value should be 4-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 deployments.\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.CreateApiDeploymentRequest#Google_Cloud_ApigeeRegistry_V1_CreateApiDeploymentRequest_Parent) resource name property."]]