public sealed class Artifacts.Types.ArtifactObjects : IMessage<Artifacts.Types.ArtifactObjects>, IEquatable<Artifacts.Types.ArtifactObjects>, IDeepCloneable<Artifacts.Types.ArtifactObjects>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class Artifacts.Types.ArtifactObjects.
Files in the workspace to upload to Cloud Storage upon successful
completion of all build steps.
[[["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 webpage provides documentation for the \u003ccode\u003eArtifacts.Types.ArtifactObjects\u003c/code\u003e class within the Google Cloud Build v1 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eArtifactObjects\u003c/code\u003e class is used to specify files from the build workspace that should be uploaded to Cloud Storage upon the successful completion of build steps.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities like message handling, equality checks, deep cloning, and buffer message support.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties such as \u003ccode\u003eLocation\u003c/code\u003e, \u003ccode\u003ePaths\u003c/code\u003e, and \u003ccode\u003eTiming\u003c/code\u003e to manage the Cloud Storage destination, file matching patterns, and timing information for artifact uploads, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists different versions of the documentation, with version \u003ccode\u003e2.15.0\u003c/code\u003e being the latest, and it goes back as far as \u003ccode\u003e1.0.0\u003c/code\u003e, offering access to all the different API versions.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v1 API - Class Artifacts.Types.ArtifactObjects (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.Types.ArtifactObjects)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.15.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.14.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.13.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.12.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.11.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.10.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.9.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.8.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.7.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.6.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.5.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.4.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.3.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.2.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.1.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.0.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.4.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.3.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.2.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.1.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.0.0/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects) \n\n public sealed class Artifacts.Types.ArtifactObjects : IMessage\u003cArtifacts.Types.ArtifactObjects\u003e, IEquatable\u003cArtifacts.Types.ArtifactObjects\u003e, IDeepCloneable\u003cArtifacts.Types.ArtifactObjects\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v1 API class Artifacts.Types.ArtifactObjects.\n\nFiles in the workspace to upload to Cloud Storage upon successful\ncompletion of all build steps. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Artifacts.Types.ArtifactObjects \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)[Types](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts.Types)[ArtifactObjects](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Artifacts](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts)[Types](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts.Types)[ArtifactObjects](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects), [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)[Types](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts.Types)[ArtifactObjects](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts.Types.ArtifactObjects), [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### ArtifactObjects()\n\n public ArtifactObjects()\n\n### ArtifactObjects(ArtifactObjects)\n\n public ArtifactObjects(Artifacts.Types.ArtifactObjects other)\n\nProperties\n----------\n\n### Location\n\n public string Location { get; set; }\n\nCloud Storage bucket and optional object path, in the form\n\"gs://bucket/path/to/somewhere/\". (see [Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).\n\nFiles in the workspace matching any path pattern will be uploaded to\nCloud Storage with this location as a prefix.\n\n### Paths\n\n public RepeatedField\u003cstring\u003e Paths { get; }\n\nPath globs used to match files in the build's workspace.\n\n### Timing\n\n public TimeSpan Timing { get; set; }\n\nOutput only. Stores timing information for pushing all artifact objects."]]