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\u003eThis document provides reference documentation for the \u003ccode\u003eSourceProvenance\u003c/code\u003e class within the Google Cloud Functions v2 API, specifically for version 1.1.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSourceProvenance\u003c/code\u003e is a class used to determine the source of a Cloud Function build, including ways to locate the original source or verify its use.\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, enabling it to be used with protocol buffers and other related functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSourceProvenance\u003c/code\u003e class has two properties, \u003ccode\u003eResolvedRepoSource\u003c/code\u003e and \u003ccode\u003eResolvedStorageSource\u003c/code\u003e, which provide resolved versions of the build's repository and storage sources, respectively, when available.\u003c/p\u003e\n"],["\u003cp\u003eThis document also covers the \u003ccode\u003eSourceProvenance\u003c/code\u003e's constructor and inherited methods.\u003c/p\u003e\n"]]],[],null,[]]