Reference documentation and code samples for the Cloud Build v1 API class Artifacts.Types.PythonPackage.
Python package to upload to Artifact Registry upon successful completion
of all build steps. A package can encapsulate multiple objects to be
uploaded to a single repository.
[[["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-19 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eArtifacts.Types.PythonPackage\u003c/code\u003e class within the Cloud Build v1 API, specifically for the .NET environment, detailing its role in uploading Python packages to Artifact Registry.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eArtifacts.Types.PythonPackage\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, offering functionality for message handling, equality comparison, deep cloning, and buffered messaging.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a default \u003ccode\u003ePythonPackage()\u003c/code\u003e and another that accepts an \u003ccode\u003eArtifacts.Types.PythonPackage\u003c/code\u003e object, allowing the creation of new instances and copies of existing Python package configurations.\u003c/p\u003e\n"],["\u003cp\u003eTwo main properties of this class are \u003ccode\u003ePaths\u003c/code\u003e, which uses path globs to locate the files to upload, and \u003ccode\u003eRepository\u003c/code\u003e, which specifies the Artifact Registry location where the files will be uploaded.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides access to several versions of the \u003ccode\u003eArtifacts.Types.PythonPackage\u003c/code\u003e class, with version 2.15.0 being the most recent, and a complete list going back to version 1.0.0, allowing users to access the information relevant to their specific project.\u003c/p\u003e\n"]]],[],null,[]]