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 documentation page covers the \u003ccode\u003eArtifacts.Types.PythonPackage\u003c/code\u003e class within the Cloud Build v1 API, specifically for version 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eArtifacts.Types.PythonPackage\u003c/code\u003e is used to define Python packages that will be uploaded to Artifact Registry upon successful completion of build steps.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties for specifying the paths of the packages in the build workspace (using \u003ccode\u003ePaths\u003c/code\u003e) and the destination Artifact Registry repository (\u003ccode\u003eRepository\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eArtifacts.Types.PythonPackage\u003c/code\u003e class inherits from object and 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.\u003c/p\u003e\n"],["\u003cp\u003eThere are several previous versions of this package documented, with version 2.15.0 being the latest, and going all the way back to version 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]