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\u003eThe latest version of the \u003ccode\u003eArtifacts.Types.PythonPackage\u003c/code\u003e class in the Cloud Build v1 API is 2.15.0, and there are several previous versions, ranging from 1.0.0 to 2.14.0, available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eArtifacts.Types.PythonPackage\u003c/code\u003e class is designed for defining Python packages to be uploaded to Artifact Registry after a successful build, allowing multiple objects to be encapsulated and uploaded to a single repository.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring compatibility and functionality within the Google Cloud Protobuf ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePythonPackage\u003c/code\u003e class has two constructors, a default constructor and another that accepts an \u003ccode\u003eArtifacts.Types.PythonPackage\u003c/code\u003e object as an argument, with properties like \u003ccode\u003ePaths\u003c/code\u003e and \u003ccode\u003eRepository\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePaths\u003c/code\u003e is a property that contains path globs used to match files in the build's workspace, and \u003ccode\u003eRepository\u003c/code\u003e is a property that contains the Artifact Registry repository location.\u003c/p\u003e\n"]]],[],null,[]]