public sealed class SourceProvenance : IMessage<SourceProvenance>, IEquatable<SourceProvenance>, IDeepCloneable<SourceProvenance>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v2 API class SourceProvenance.
Provenance of the source. Ways to find the original source, or verify that
some source was used for this build.
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSourceProvenance\u003c/code\u003e class in the Google Cloud Functions v2 API provides information about the origin of the source code used in a build, offering ways to locate the original source or verify its use.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSourceProvenance\u003c/code\u003e documentation is 1.7.0, but this specific documentation is for version 1.5.0, with older versions also accessible, down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSourceProvenance\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering specific functionalities for message handling, comparison, cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSourceProvenance\u003c/code\u003e class includes two main properties: \u003ccode\u003eResolvedRepoSource\u003c/code\u003e, which represents a resolved \u003ccode\u003eRepoSource\u003c/code\u003e, and \u003ccode\u003eResolvedStorageSource\u003c/code\u003e, which represents a resolved \u003ccode\u003eStorageSource\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSourceProvenance\u003c/code\u003e class can be constructed either without any parameters or by providing another \u003ccode\u003eSourceProvenance\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]