Cloud Storage bucket and optional object path, in the form
"gs://bucket/path/to/somewhere/". (see Bucket Name
Requirements).
Files in the workspace matching any path pattern will be uploaded to
Cloud Storage with this location as a prefix.
Cloud Storage bucket and optional object path, in the form
"gs://bucket/path/to/somewhere/". (see Bucket Name
Requirements).
Files in the workspace matching any path pattern will be uploaded to
Cloud Storage with this location as a prefix.
[[["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,["# Interface Artifacts.ArtifactObjectsOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjectsOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjectsOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjectsOrBuilder) \n\n public static interface Artifacts.ArtifactObjectsOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getLocation()\n\n public abstract String getLocation()\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)).\nFiles in the workspace matching any path pattern will be uploaded to\nCloud Storage with this location as a prefix.\n\n`string location = 1;`\n\n### getLocationBytes()\n\n public abstract ByteString getLocationBytes()\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)).\nFiles in the workspace matching any path pattern will be uploaded to\nCloud Storage with this location as a prefix.\n\n`string location = 1;`\n\n### getPaths(int index)\n\n public abstract String getPaths(int index)\n\nPath globs used to match files in the build's workspace.\n\n`repeated string paths = 2;`\n\n### getPathsBytes(int index)\n\n public abstract ByteString getPathsBytes(int index)\n\nPath globs used to match files in the build's workspace.\n\n`repeated string paths = 2;`\n\n### getPathsCount()\n\n public abstract int getPathsCount()\n\nPath globs used to match files in the build's workspace.\n\n`repeated string paths = 2;`\n\n### getPathsList()\n\n public abstract List\u003cString\u003e getPathsList()\n\nPath globs used to match files in the build's workspace.\n\n`repeated string paths = 2;`\n\n### getTiming()\n\n public abstract TimeSpan getTiming()\n\nStores timing information for pushing all artifact objects.\n\n`.google.events.cloud.cloudbuild.v1.TimeSpan timing = 3;`\n\n### getTimingOrBuilder()\n\n public abstract TimeSpanOrBuilder getTimingOrBuilder()\n\nStores timing information for pushing all artifact objects.\n\n`.google.events.cloud.cloudbuild.v1.TimeSpan timing = 3;`\n\n### hasTiming()\n\n public abstract boolean hasTiming()\n\nStores timing information for pushing all artifact objects.\n\n`.google.events.cloud.cloudbuild.v1.TimeSpan timing = 3;`"]]