public sealed class SourceProvenance : IMessage<SourceProvenance>, IEquatable<SourceProvenance>, IDeepCloneable<SourceProvenance>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class SourceProvenance.
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 page provides reference documentation for the \u003ccode\u003eSourceProvenance\u003c/code\u003e class within the Google Cloud Build v1 API for .NET, detailing its purpose as a way to find the original source or verify a source used for a build.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists available versions of the \u003ccode\u003eSourceProvenance\u003c/code\u003e class, ranging from the latest version 2.15.0 down to version 1.0.0, providing links to each version's documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSourceProvenance\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, demonstrating its capabilities for message handling, comparison, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eSourceProvenance\u003c/code\u003e include \u003ccode\u003eFileHashes\u003c/code\u003e, which contains hash values of the build source files, and the resolved versions of \u003ccode\u003eRepoSource\u003c/code\u003e, \u003ccode\u003eStorageSource\u003c/code\u003e, and \u003ccode\u003eStorageSourceManifest\u003c/code\u003e, which provide details on where the build's source originated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSourceProvenance\u003c/code\u003e class offers two constructors: a default constructor and one that copies properties from another \u003ccode\u003eSourceProvenance\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]