Required. registry_location, project_id, repository_name and maven_artifact
forms a unique artifact For example,
"projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/
com.google.guava:guava:31.0-jre",
where "us-west4" is the registry_location, "test-project" is the
project_id, "test-repo" is the repository_name and
"com.google.guava:guava:31.0-jre"
is the maven artifact.
Required. URL to access the pom file of the artifact.
Example:
us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom
[[["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\u003eThe \u003ccode\u003eMavenArtifact\u003c/code\u003e class represents a Maven artifact within the Google Cloud Artifact Registry v1 API, offering properties like \u003ccode\u003eGroupId\u003c/code\u003e, \u003ccode\u003eArtifactId\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e to define the artifact's identity.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eMavenArtifact\u003c/code\u003e API is 2.9.0, with historical versions dating back to 1.0.0 available.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, for functionality like message handling, equality comparison, and object cloning.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eMavenArtifact\u003c/code\u003e instance is uniquely identified by its \u003ccode\u003eName\u003c/code\u003e, which incorporates the registry location, project ID, repository name, and the maven artifact's details.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMavenArtifact\u003c/code\u003e instances have associated timestamps, \u003ccode\u003eCreateTime\u003c/code\u003e and \u003ccode\u003eUpdateTime\u003c/code\u003e, indicating when the artifact was created and last modified.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1 API - Class MavenArtifact (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.MavenArtifact)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.9.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.8.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.7.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.6.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.5.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.4.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.3.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.2.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.1.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.0.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.1.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.0.0/Google.Cloud.ArtifactRegistry.V1.MavenArtifact) \n\n public sealed class MavenArtifact : IMessage\u003cMavenArtifact\u003e, IEquatable\u003cMavenArtifact\u003e, IDeepCloneable\u003cMavenArtifact\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1 API class MavenArtifact.\n\nMavenArtifact represents a maven artifact. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MavenArtifact \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MavenArtifact](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.MavenArtifact), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MavenArtifact](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.MavenArtifact), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MavenArtifact](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.MavenArtifact), [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### MavenArtifact()\n\n public MavenArtifact()\n\n### MavenArtifact(MavenArtifact)\n\n public MavenArtifact(MavenArtifact other)\n\nProperties\n----------\n\n### ArtifactId\n\n public string ArtifactId { get; set; }\n\nArtifact ID for the artifact.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. Time the artifact was created.\n\n### GroupId\n\n public string GroupId { get; set; }\n\nGroup ID for the artifact.\nExample:\ncom.google.guava\n\n### MavenArtifactName\n\n public MavenArtifactName MavenArtifactName { get; set; }\n\n[MavenArtifactName](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.MavenArtifactName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.MavenArtifact#Google_Cloud_ArtifactRegistry_V1_MavenArtifact_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. registry_location, project_id, repository_name and maven_artifact\nforms a unique artifact For example,\n\"projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/\ncom.google.guava:guava:31.0-jre\",\nwhere \"us-west4\" is the registry_location, \"test-project\" is the\nproject_id, \"test-repo\" is the repository_name and\n\"com.google.guava:guava:31.0-jre\"\nis the maven artifact.\n\n### PomUri\n\n public string PomUri { get; set; }\n\nRequired. URL to access the pom file of the artifact.\nExample:\nus-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. Time the artifact was updated.\n\n### Version\n\n public string Version { get; set; }\n\nVersion of this artifact."]]