public sealed class SourceProvenance : IMessage<SourceProvenance>, IEquatable<SourceProvenance>, IDeepCloneable<SourceProvenance>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v2beta 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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSourceProvenance\u003c/code\u003e class in the Google Cloud Functions v2beta API provides details about the origin of a source used in a build, enabling verification and traceability.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e, adding functionality to the class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSourceProvenance\u003c/code\u003e class can be instantiated using a default constructor or by providing another \u003ccode\u003eSourceProvenance\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eGitUri\u003c/code\u003e, \u003ccode\u003eResolvedRepoSource\u003c/code\u003e, and \u003ccode\u003eResolvedStorageSource\u003c/code\u003e to capture and resolve various types of source information, such as Git repositories or storage sources.\u003c/p\u003e\n"]]],[],null,["# Cloud Functions v2beta API - Class SourceProvenance (1.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.SourceProvenance)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/1.0.0-beta06/Google.Cloud.Functions.V2Beta.SourceProvenance) \n\n public sealed class SourceProvenance : IMessage\u003cSourceProvenance\u003e, IEquatable\u003cSourceProvenance\u003e, IDeepCloneable\u003cSourceProvenance\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Functions v2beta API class SourceProvenance.\n\nProvenance of the source. Ways to find the original source, or verify that\nsome source was used for this build. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SourceProvenance \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SourceProvenance](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.SourceProvenance), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SourceProvenance](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.SourceProvenance), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SourceProvenance](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.SourceProvenance), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Functions.V2Beta](/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Functions.V2Beta.dll\n\nConstructors\n------------\n\n### SourceProvenance()\n\n public SourceProvenance()\n\n### SourceProvenance(SourceProvenance)\n\n public SourceProvenance(SourceProvenance other)\n\nProperties\n----------\n\n### GitUri\n\n public string GitUri { get; set; }\n\nA copy of the build's `source.git_uri`, if exists, with any commits\nresolved.\n\n### ResolvedRepoSource\n\n public RepoSource ResolvedRepoSource { get; set; }\n\nA copy of the build's `source.repo_source`, if exists, with any\nrevisions resolved.\n\n### ResolvedStorageSource\n\n public StorageSource ResolvedStorageSource { get; set; }\n\nA copy of the build's `source.storage_source`, if exists, with any\ngenerations resolved."]]