public sealed class Version : IMessage<Version>, IEquatable<Version>, IDeepCloneable<Version>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1 API class Version.
The body of a version resource. A version resource represents a
collection of components, such as files and other data. This may correspond
to a version in many package management schemes.
Output only. Repository-specific Metadata stored against this version.
The fields returned are defined by the underlying repository-specific
resource. Currently, the resources could be:
[DockerImage][google.devtools.artifactregistry.v1.DockerImage]
[MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact]
The name of the version, for example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1.
If the package or version ID parts contain slashes, the slashes are
escaped.
[[["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 information for the \u003ccode\u003eVersion\u003c/code\u003e class within the Google Cloud Artifact Registry v1 API, specifically for .NET developers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVersion\u003c/code\u003e class represents a collection of components, such as files and data, that correspond to a version in various package management schemes, with the latest version being 2.9.0.\u003c/p\u003e\n"],["\u003cp\u003eIt details the \u003ccode\u003eVersion\u003c/code\u003e class's properties, including \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, \u003ccode\u003eMetadata\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eAnnotations\u003c/code\u003e, and \u003ccode\u003eRelatedTags\u003c/code\u003e, offering insights into the version's attributes and associated data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVersion\u003c/code\u003e class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document also includes a list of all available versions of the artifact registry, from version 1.0.0 all the way up to 2.9.0.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1 API - Class Version (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.Version)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.9.0/Google.Cloud.ArtifactRegistry.V1.Version)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.8.0/Google.Cloud.ArtifactRegistry.V1.Version)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.7.0/Google.Cloud.ArtifactRegistry.V1.Version)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.6.0/Google.Cloud.ArtifactRegistry.V1.Version)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.5.0/Google.Cloud.ArtifactRegistry.V1.Version)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.4.0/Google.Cloud.ArtifactRegistry.V1.Version)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.3.0/Google.Cloud.ArtifactRegistry.V1.Version)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.2.0/Google.Cloud.ArtifactRegistry.V1.Version)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.1.0/Google.Cloud.ArtifactRegistry.V1.Version)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.0.0/Google.Cloud.ArtifactRegistry.V1.Version)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.1.0/Google.Cloud.ArtifactRegistry.V1.Version)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.0.0/Google.Cloud.ArtifactRegistry.V1.Version) \n\n public sealed class Version : IMessage\u003cVersion\u003e, IEquatable\u003cVersion\u003e, IDeepCloneable\u003cVersion\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1 API class Version.\n\nThe body of a version resource. A version resource represents a\ncollection of components, such as files and other data. This may correspond\nto a version in many package management schemes. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Version \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Version](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.Version), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Version](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.Version), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Version](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.Version), [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### Version()\n\n public Version()\n\n### Version(Version)\n\n public Version(Version other)\n\nProperties\n----------\n\n### Annotations\n\n public MapField\u003cstring, string\u003e Annotations { get; }\n\nOptional. Client specified annotations.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nThe time when the version was created.\n\n### Description\n\n public string Description { get; set; }\n\nOptional. Description of the version, as specified in its metadata.\n\n### Metadata\n\n public Struct Metadata { get; set; }\n\nOutput only. Repository-specific Metadata stored against this version.\nThe fields returned are defined by the underlying repository-specific\nresource. Currently, the resources could be:\n\\[DockerImage\\]\\[google.devtools.artifactregistry.v1.DockerImage\\]\n\\[MavenArtifact\\]\\[google.devtools.artifactregistry.v1.MavenArtifact\\]\n\n### Name\n\n public string Name { get; set; }\n\nThe name of the version, for example:\n`projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`.\nIf the package or version ID parts contain slashes, the slashes are\nescaped.\n\n### RelatedTags\n\n public RepeatedField\u003cTag\u003e RelatedTags { get; }\n\nOutput only. A list of related tags. Will contain up to 100 tags that\nreference this version.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nThe time when the version was last updated.\n\n### VersionName\n\n public VersionName VersionName { get; set; }\n\n[VersionName](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.VersionName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.Version#Google_Cloud_ArtifactRegistry_V1_Version_Name) resource name property."]]