Reference documentation and code samples for the Google Cloud Build V1 Client class 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.
Generated from protobuf message google.devtools.cloudbuild.v1.Artifacts.PythonPackage
Namespace
Google \ Cloud \ Build \ V1 \ ArtifactsMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ repository
string
Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
↳ paths
array
Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*
, and sometimes additionally an .asc
file.
getRepository
Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
string
setRepository
Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
var
string
$this
getPaths
Path globs used to match files in the build's workspace. For Python/
Twine, this is usually dist/*
, and sometimes additionally an .asc
file.
setPaths
Path globs used to match files in the build's workspace. For Python/
Twine, this is usually dist/*
, and sometimes additionally an .asc
file.
var
string[]
$this