Required. registry_location, project_id, repository_name and python_package
forms a unique package
name:projects/<project_id>/locations/<location>/repository/<repository_name>/pythonPackages/<python_package>.
For example,
"projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/
python_package:1.0.0",
where "us-west4" is the registry_location, "test-project" is the
project_id, "test-repo" is the repository_name and
python_package:1.0.0" is the python package.
[[["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\u003ePythonPackage\u003c/code\u003e class within the Artifact Registry v1 API, representing a Python artifact.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003ePythonPackage\u003c/code\u003e class is 2.9.0, with a list of previous versions ranging from 2.8.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePythonPackage\u003c/code\u003e class instances include properties like \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003ePackageName\u003c/code\u003e, \u003ccode\u003eUri\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e, providing details about the Python package.\u003c/p\u003e\n"],["\u003cp\u003eThe document specifies the unique name structure for a package, combining \u003ccode\u003eproject_id\u003c/code\u003e, \u003ccode\u003eregistry_location\u003c/code\u003e, \u003ccode\u003erepository_name\u003c/code\u003e, and \u003ccode\u003epython_package\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePythonPackage\u003c/code\u003e class implements 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"]]],[],null,["# Artifact Registry v1 API - Class PythonPackage (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.PythonPackage)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.9.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.8.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.7.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.6.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.5.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.4.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.3.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.2.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.1.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.0.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.1.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.0.0/Google.Cloud.ArtifactRegistry.V1.PythonPackage) \n\n public sealed class PythonPackage : IMessage\u003cPythonPackage\u003e, IEquatable\u003cPythonPackage\u003e, IDeepCloneable\u003cPythonPackage\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1 API class PythonPackage.\n\nPythonPackage represents a python artifact. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PythonPackage \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PythonPackage](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.PythonPackage), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PythonPackage](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.PythonPackage), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PythonPackage](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.PythonPackage), [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### PythonPackage()\n\n public PythonPackage()\n\n### PythonPackage(PythonPackage)\n\n public PythonPackage(PythonPackage other)\n\nProperties\n----------\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. Time the package was created.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. registry_location, project_id, repository_name and python_package\nforms a unique package\nname:`projects/\u003cproject_id\u003e/locations/\u003clocation\u003e/repository/\u003crepository_name\u003e/pythonPackages/\u003cpython_package\u003e`.\nFor example,\n\"projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/\npython_package:1.0.0\",\nwhere \"us-west4\" is the registry_location, \"test-project\" is the\nproject_id, \"test-repo\" is the repository_name and\npython_package:1.0.0\" is the python package.\n\n### PackageName\n\n public string PackageName { get; set; }\n\nPackage for the artifact.\n\n### PythonPackageName\n\n public PythonPackageName PythonPackageName { get; set; }\n\n[PythonPackageName](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.PythonPackageName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.PythonPackage#Google_Cloud_ArtifactRegistry_V1_PythonPackage_Name) resource name property.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. Time the package was updated.\n\n### Uri\n\n public string Uri { get; set; }\n\nRequired. URL to access the package.\nExample:\nus-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz\n\n### Version\n\n public string Version { get; set; }\n\nVersion of this package."]]