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 Google Cloud Build v1 API, detailing its usage for uploading Python packages to Artifact Registry.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePythonPackage\u003c/code\u003e class is designed to encapsulate multiple objects for upload to a single repository upon the successful completion of build steps.\u003c/p\u003e\n"],["\u003cp\u003eThe document includes a list of available versions of the API class, ranging from version 1.0.0 to the latest version, 2.15.0, which can be accessed through their respective links.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePythonPackage\u003c/code\u003e class include \u003ccode\u003ePaths\u003c/code\u003e, which uses path globs to match files for upload, and \u003ccode\u003eRepository\u003c/code\u003e, which specifies the target Artifact Registry repository URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePythonPackage\u003c/code\u003e class is shown to inherit from the object class and implement multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for diverse functionality.\u003c/p\u003e\n"]]],[],null,[]]