public sealed class CreateArtifactRequest : IMessage<CreateArtifactRequest>, IEquatable<CreateArtifactRequest>, IDeepCloneable<CreateArtifactRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Apigee Registry v1 API class CreateArtifactRequest.
[[["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\u003eThis documentation is for the \u003ccode\u003eCreateArtifactRequest\u003c/code\u003e class within the Apigee Registry v1 API, specifically for the .NET environment, and it is used to create artifacts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateArtifactRequest\u003c/code\u003e 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\u003eKey properties of the \u003ccode\u003eCreateArtifactRequest\u003c/code\u003e class include \u003ccode\u003eArtifact\u003c/code\u003e (the artifact to be created), \u003ccode\u003eArtifactId\u003c/code\u003e (the unique identifier for the artifact), and \u003ccode\u003eParent\u003c/code\u003e (the resource that owns the artifact collection), all being required fields.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property offers multiple type-specific views such as \u003ccode\u003eApiDeploymentName\u003c/code\u003e, \u003ccode\u003eApiName\u003c/code\u003e, \u003ccode\u003eApiSpecName\u003c/code\u003e, \u003ccode\u003eApiVersionName\u003c/code\u003e, \u003ccode\u003eLocationName\u003c/code\u003e, and \u003ccode\u003eIResourceName\u003c/code\u003e to access the resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e1.0.0-beta07\u003c/code\u003e, and there is an earlier version available as well, \u003ccode\u003e1.0.0-beta06\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Apigee Registry v1 API - Class CreateArtifactRequest (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.CreateArtifactRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/1.0.0-beta06/Google.Cloud.ApigeeRegistry.V1.CreateArtifactRequest) \n\n public sealed class CreateArtifactRequest : IMessage\u003cCreateArtifactRequest\u003e, IEquatable\u003cCreateArtifactRequest\u003e, IDeepCloneable\u003cCreateArtifactRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Apigee Registry v1 API class CreateArtifactRequest.\n\nRequest message for CreateArtifact. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateArtifactRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateArtifactRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateArtifactRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateArtifactRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateArtifactRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateArtifactRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateArtifactRequest), [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### CreateArtifactRequest()\n\n public CreateArtifactRequest()\n\n### CreateArtifactRequest(CreateArtifactRequest)\n\n public CreateArtifactRequest(CreateArtifactRequest other)\n\nProperties\n----------\n\n### Artifact\n\n public Artifact Artifact { get; set; }\n\nRequired. The artifact to create.\n\n### ArtifactId\n\n public string ArtifactId { get; set; }\n\nRequired. The ID to use for the artifact, which will become the final component of\nthe artifact'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 artifacts.\nFormat: `{parent}`\n\n### ParentAsApiDeploymentName\n\n public ApiDeploymentName ParentAsApiDeploymentName { get; set; }\n\n[ApiDeploymentName](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.ApiDeploymentName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateArtifactRequest#Google_Cloud_ApigeeRegistry_V1_CreateArtifactRequest_Parent) resource name property.\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.CreateArtifactRequest#Google_Cloud_ApigeeRegistry_V1_CreateArtifactRequest_Parent) resource name property.\n\n### ParentAsApiSpecName\n\n public ApiSpecName ParentAsApiSpecName { get; set; }\n\n[ApiSpecName](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.ApiSpecName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateArtifactRequest#Google_Cloud_ApigeeRegistry_V1_CreateArtifactRequest_Parent) resource name property.\n\n### ParentAsApiVersionName\n\n public ApiVersionName ParentAsApiVersionName { get; set; }\n\n[ApiVersionName](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.ApiVersionName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateArtifactRequest#Google_Cloud_ApigeeRegistry_V1_CreateArtifactRequest_Parent) resource name property.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateArtifactRequest#Google_Cloud_ApigeeRegistry_V1_CreateArtifactRequest_Parent) resource name property.\n\n### ParentAsResourceName\n\n public IResourceName ParentAsResourceName { get; set; }\n\n[IResourceName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/IResourceName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.CreateArtifactRequest#Google_Cloud_ApigeeRegistry_V1_CreateArtifactRequest_Parent) resource name property."]]