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 information for the \u003ccode\u003eSourceProvenance\u003c/code\u003e class within the Google Cloud Functions v2 API, detailing its purpose in identifying the original source of a build.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSourceProvenance\u003c/code\u003e class 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, indicating its role in handling message data and object cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor (\u003ccode\u003eSourceProvenance()\u003c/code\u003e) and one that accepts another \u003ccode\u003eSourceProvenance\u003c/code\u003e object for cloning (\u003ccode\u003eSourceProvenance(SourceProvenance other)\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSourceProvenance\u003c/code\u003e includes two properties, \u003ccode\u003eResolvedRepoSource\u003c/code\u003e and \u003ccode\u003eResolvedStorageSource\u003c/code\u003e, which hold resolved copies of the build's source repository and storage source, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe document supports multiple previous versions, with the most up-to-date version being 1.7.0 and the version in context being 1.2.0.\u003c/p\u003e\n"]]],[],null,[]]