public sealed class SourceProvenance : IMessage<SourceProvenance>, IEquatable<SourceProvenance>, IDeepCloneable<SourceProvenance>, IBufferMessage, IMessage
Provenance of the source. Ways to find the original source, or verify that
some source was used for this build.
public MapField<string, FileHashes> FileHashes { get; }
Output only. Hash(es) of the build source, which can be used to verify that
the original source integrity was maintained in the build. Note that
FileHashes will only be populated if BuildOptions has requested a
SourceProvenanceHash.
The keys to this map are file paths used as build source and the values
contain the hash values for those files.
If the build source came in a single package such as a gzipped tarfile
(.tar.gz), the FileHash will be for the single path to that file.
[[["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 details the \u003ccode\u003eSourceProvenance\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.CloudBuild.V1\u003c/code\u003e namespace, offering insights into how to trace and confirm the origin of build sources across various versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSourceProvenance\u003c/code\u003e 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, and provides details about how the original source can be found or verified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFileHashes\u003c/code\u003e property enables the verification of the integrity of the original source by providing a map of file paths to their respective hash values.\u003c/p\u003e\n"],["\u003cp\u003eThe class has \u003ccode\u003eResolvedRepoSource\u003c/code\u003e, \u003ccode\u003eResolvedStorageSource\u003c/code\u003e, and \u003ccode\u003eResolvedStorageSourceManifest\u003c/code\u003e properties which are copies of the builds source with any necessary revisions resolved, in order to help trace the source of the build.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the \u003ccode\u003eSourceProvenance\u003c/code\u003e class, ranging from the latest \u003ccode\u003e2.15.0\u003c/code\u003e down to \u003ccode\u003e1.0.0\u003c/code\u003e, and gives links to specific documentation for each, indicating a history of updates and improvements.\u003c/p\u003e\n"]]],[],null,[]]