public sealed class GenericArtifact : IMessage<GenericArtifact>, IEquatable<GenericArtifact>, IDeepCloneable<GenericArtifact>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1 API class GenericArtifact.
Resource name of the generic artifact.
project, location, repository, package_id and version_id
create a unique generic artifact.
i.e. "projects/test-project/locations/us-west4/repositories/test-repo/
genericArtifacts/package_id:version_id"
[[["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."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eGenericArtifact\u003c/code\u003e class within the Google Cloud Artifact Registry v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenericArtifact\u003c/code\u003e class, representing a generic artifact, includes properties such as \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented is 2.9.0, with previous versions available down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGenericArtifact\u003c/code\u003e implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenericArtifact\u003c/code\u003e contains output-only properties \u003ccode\u003eCreateTime\u003c/code\u003e and \u003ccode\u003eUpdateTime\u003c/code\u003e which denote when the module was respectively created and updated.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1 API - Class GenericArtifact (2.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.9.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.8.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.7.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.6.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.5.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.4.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.3.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.2.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.1.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.0.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.1.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.0.0/Google.Cloud.ArtifactRegistry.V1.GenericArtifact) \n\n public sealed class GenericArtifact : IMessage\u003cGenericArtifact\u003e, IEquatable\u003cGenericArtifact\u003e, IDeepCloneable\u003cGenericArtifact\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1 API class GenericArtifact.\n\nGenericArtifact represents a generic artifact \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GenericArtifact \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GenericArtifact](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.GenericArtifact), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GenericArtifact](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.GenericArtifact), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GenericArtifact](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.GenericArtifact), [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.ArtifactRegistry.V1](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ArtifactRegistry.V1.dll\n\nConstructors\n------------\n\n### GenericArtifact()\n\n public GenericArtifact()\n\n### GenericArtifact(GenericArtifact)\n\n public GenericArtifact(GenericArtifact other)\n\nProperties\n----------\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time when the Generic module is created.\n\n### GenericArtifactName\n\n public GenericArtifactName GenericArtifactName { get; set; }\n\n[GenericArtifactName](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.GenericArtifactName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.GenericArtifact#Google_Cloud_ArtifactRegistry_V1_GenericArtifact_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nResource name of the generic artifact.\nproject, location, repository, package_id and version_id\ncreate a unique generic artifact.\ni.e. \"projects/test-project/locations/us-west4/repositories/test-repo/\ngenericArtifacts/package_id:version_id\"\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The time when the Generic module is updated.\n\n### Version\n\n public string Version { get; set; }\n\nThe version of the generic artifact."]]