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."],[[["The `SourceProvenance` 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."],["The latest version of the `SourceProvenance` 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."],["The `SourceProvenance` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering specific functionalities for message handling, comparison, cloning, and buffer management."],["The `SourceProvenance` class includes two main properties: `ResolvedRepoSource`, which represents a resolved `RepoSource`, and `ResolvedStorageSource`, which represents a resolved `StorageSource`."],["The `SourceProvenance` class can be constructed either without any parameters or by providing another `SourceProvenance` object."]]],[]]