public RepeatedField<Artifacts.Types.MavenArtifact> MavenArtifacts { get; }
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.
public Artifacts.Types.ArtifactObjects Objects { get; set; }
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.
[[["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\u003c/code\u003e class within the Google Cloud Build v1 API, detailing its properties and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eArtifacts\u003c/code\u003e class is designed to manage the upload of build outputs like images, Go modules, Maven artifacts, npm packages, Python packages, and other objects to various storage solutions like Cloud Storage and Artifact Registry.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties for defining various types of artifacts, including \u003ccode\u003eGoModules\u003c/code\u003e, \u003ccode\u003eImages\u003c/code\u003e, \u003ccode\u003eMavenArtifacts\u003c/code\u003e, \u003ccode\u003eNpmPackages\u003c/code\u003e, \u003ccode\u003eObjects\u003c/code\u003e, and \u003ccode\u003ePythonPackages\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document also lists previous versions of the document, with the most recent version being 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines the constructors and the methods inherited from base classes, like \u003ccode\u003eobject.GetHashCode()\u003c/code\u003e and \u003ccode\u003eobject.ToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v1 API - Class Artifacts (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.15.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.14.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.13.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.12.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.11.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.10.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.9.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.8.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.7.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.6.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.5.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.4.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.3.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.2.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.1.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.0.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.4.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.3.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.2.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.1.0/Google.Cloud.CloudBuild.V1.Artifacts)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.0.0/Google.Cloud.CloudBuild.V1.Artifacts) \n\n public sealed class Artifacts : IMessage\u003cArtifacts\u003e, IEquatable\u003cArtifacts\u003e, IDeepCloneable\u003cArtifacts\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v1 API class Artifacts.\n\nArtifacts produced by a build that should be uploaded upon\nsuccessful completion of all build steps. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Artifacts \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Artifacts](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Artifacts](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Artifacts](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudBuild.V1](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudBuild.V1.dll\n\nConstructors\n------------\n\n### Artifacts()\n\n public Artifacts()\n\n### Artifacts(Artifacts)\n\n public Artifacts(Artifacts other)\n\nProperties\n----------\n\n### GoModules\n\n public RepeatedField\u003cArtifacts.Types.GoModule\u003e GoModules { get; }\n\nOptional. A list of Go modules to be uploaded to Artifact Registry upon\nsuccessful completion of all build steps.\n\nIf any objects fail to be pushed, the build is marked FAILURE.\n\n### Images\n\n public RepeatedField\u003cstring\u003e Images { get; }\n\nA list of images to be pushed upon the successful completion of all build\nsteps.\n\nThe images will be pushed using the builder service account's credentials.\n\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\n\nIf any of the images fail to be pushed, the build is marked FAILURE.\n\n### MavenArtifacts\n\n public RepeatedField\u003cArtifacts.Types.MavenArtifact\u003e MavenArtifacts { get; }\n\nA list of Maven artifacts to be uploaded to Artifact Registry upon\nsuccessful completion of all build steps.\n\nArtifacts in the workspace matching specified paths globs will be uploaded\nto the specified Artifact Registry repository using the builder service\naccount's credentials.\n\nIf any artifacts fail to be pushed, the build is marked FAILURE.\n\n### NpmPackages\n\n public RepeatedField\u003cArtifacts.Types.NpmPackage\u003e NpmPackages { get; }\n\nA list of npm packages to be uploaded to Artifact Registry upon\nsuccessful completion of all build steps.\n\nNpm packages in the specified paths will be uploaded\nto the specified Artifact Registry repository using the builder service\naccount's credentials.\n\nIf any packages fail to be pushed, the build is marked FAILURE.\n\n### Objects\n\n public Artifacts.Types.ArtifactObjects Objects { get; set; }\n\nA list of objects to be uploaded to Cloud Storage upon successful\ncompletion of all build steps.\n\nFiles in the workspace matching specified paths globs will be uploaded to\nthe specified Cloud Storage location using the builder service account's\ncredentials.\n\nThe location and generation of the uploaded objects will be stored in the\nBuild resource's results field.\n\nIf any objects fail to be pushed, the build is marked FAILURE.\n\n### PythonPackages\n\n public RepeatedField\u003cArtifacts.Types.PythonPackage\u003e PythonPackages { get; }\n\nA list of Python packages to be uploaded to Artifact Registry upon\nsuccessful completion of all build steps.\n\nThe build service account credentials will be used to perform the upload.\n\nIf any objects fail to be pushed, the build is marked FAILURE."]]