Artifacts produced by a build that should be uploaded upon
successful completion of all build steps.
Attributes
Name
Description
images
MutableSequence[str]
A list of images to be pushed upon the
successful completion of all build steps.
The images will be pushed using the builder
service account's credentials.
The digests of the pushed images will be stored
in the Build resource's results field.
If any of the images fail to be pushed, the
build is marked FAILURE.
objects
google.cloud.devtools.cloudbuild_v1.types.Artifacts.ArtifactObjects
A list of objects to be uploaded to Cloud
Storage upon successful completion of all build
steps.
Files in the workspace matching specified paths
globs will be uploaded to the specified Cloud
Storage location using the builder service
account's credentials.
The location and generation of the uploaded
objects will be stored in the Build resource's
results field.
If any objects fail to be pushed, the build is
marked FAILURE.
maven_artifacts
MutableSequence[google.cloud.devtools.cloudbuild_v1.types.Artifacts.MavenArtifact]
A list of Maven artifacts to be uploaded to
Artifact Registry upon successful completion of
all build steps.
Artifacts in the workspace matching specified
paths globs will be uploaded to the specified
Artifact Registry repository using the builder
service account's credentials.
If any artifacts fail to be pushed, the build is
marked FAILURE.
go_modules
MutableSequence[google.cloud.devtools.cloudbuild_v1.types.Artifacts.GoModule]
Optional. A list of Go modules to be uploaded
to Artifact Registry upon successful completion
of all build steps.
If any objects fail to be pushed, the build is
marked FAILURE.
python_packages
MutableSequence[google.cloud.devtools.cloudbuild_v1.types.Artifacts.PythonPackage]
A list of Python packages to be uploaded to
Artifact Registry upon successful completion of
all build steps.
The build service account credentials will be
used to perform the upload.
If any objects fail to be pushed, the build is
marked FAILURE.
npm_packages
MutableSequence[google.cloud.devtools.cloudbuild_v1.types.Artifacts.NpmPackage]
A list of npm packages to be uploaded to
Artifact Registry upon successful completion of
all build steps.
Npm packages in the specified paths will be
uploaded to the specified Artifact Registry
repository using the builder service account's
credentials.
If any packages fail to be pushed, the build is
marked FAILURE.
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class Artifacts (3.31.3)\n\nVersion latestkeyboard_arrow_down\n\n- [3.31.3 (latest)](/python/docs/reference/cloudbuild/latest/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.31.2](/python/docs/reference/cloudbuild/3.31.2/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.30.0](/python/docs/reference/cloudbuild/3.30.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.29.0](/python/docs/reference/cloudbuild/3.29.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.28.0](/python/docs/reference/cloudbuild/3.28.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.27.1](/python/docs/reference/cloudbuild/3.27.1/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.26.0](/python/docs/reference/cloudbuild/3.26.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.25.0](/python/docs/reference/cloudbuild/3.25.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.24.2](/python/docs/reference/cloudbuild/3.24.2/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.23.3](/python/docs/reference/cloudbuild/3.23.3/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.22.0](/python/docs/reference/cloudbuild/3.22.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.21.0](/python/docs/reference/cloudbuild/3.21.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.20.1](/python/docs/reference/cloudbuild/3.20.1/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.19.0](/python/docs/reference/cloudbuild/3.19.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.18.0](/python/docs/reference/cloudbuild/3.18.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.17.1](/python/docs/reference/cloudbuild/3.17.1/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.16.0](/python/docs/reference/cloudbuild/3.16.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.15.0](/python/docs/reference/cloudbuild/3.15.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.14.0](/python/docs/reference/cloudbuild/3.14.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.13.0](/python/docs/reference/cloudbuild/3.13.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.12.0](/python/docs/reference/cloudbuild/3.12.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.11.1](/python/docs/reference/cloudbuild/3.11.1/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.10.0](/python/docs/reference/cloudbuild/3.10.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.9.3](/python/docs/reference/cloudbuild/3.9.3/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.8.3](/python/docs/reference/cloudbuild/3.8.3/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.7.1](/python/docs/reference/cloudbuild/3.7.1/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.6.0](/python/docs/reference/cloudbuild/3.6.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.5.2](/python/docs/reference/cloudbuild/3.5.2/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.4.0](/python/docs/reference/cloudbuild/3.4.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.3.2](/python/docs/reference/cloudbuild/3.3.2/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.2.1](/python/docs/reference/cloudbuild/3.2.1/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.1.1](/python/docs/reference/cloudbuild/3.1.1/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [3.0.2](/python/docs/reference/cloudbuild/3.0.2/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [2.0.2](/python/docs/reference/cloudbuild/2.0.2/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [1.1.2](/python/docs/reference/cloudbuild/1.1.2/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [1.0.0](/python/docs/reference/cloudbuild/1.0.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts)\n- [0.1.0](/python/docs/reference/cloudbuild/0.1.0/google.cloud.devtools.cloudbuild_v1.types.Artifacts) \n\n Artifacts(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nArtifacts produced by a build that should be uploaded upon\nsuccessful completion of all build steps.\n\nClasses\n-------\n\n### ArtifactObjects\n\n ArtifactObjects(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nFiles in the workspace to upload to Cloud Storage upon\nsuccessful completion of all build steps.\n\n### GoModule\n\n GoModule(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nGo module to upload to Artifact Registry upon successful\ncompletion of all build steps. A module refers to all\ndependencies in a go.mod file.\n\n### MavenArtifact\n\n MavenArtifact(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nA Maven artifact to upload to Artifact Registry upon\nsuccessful completion of all build steps.\n\n### NpmPackage\n\n NpmPackage(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nNpm package to upload to Artifact Registry upon successful\ncompletion of all build steps.\n\n### PythonPackage\n\n PythonPackage(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nPython package to upload to Artifact Registry upon successful\ncompletion of all build steps. A package can encapsulate\nmultiple objects to be uploaded to a single repository."]]