Cloud Functions v2 API - Class SourceProvenance (1.7.0)

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.

Inheritance

object > SourceProvenance

Namespace

Google.Cloud.Functions.V2

Assembly

Google.Cloud.Functions.V2.dll

Constructors

SourceProvenance()

public SourceProvenance()

SourceProvenance(SourceProvenance)

public SourceProvenance(SourceProvenance other)
Parameter
Name Description
other SourceProvenance

Properties

GitUri

public string GitUri { get; set; }

A copy of the build's source.git_uri, if exists, with any commits resolved.

Property Value
Type Description
string

ResolvedRepoSource

public RepoSource ResolvedRepoSource { get; set; }

A copy of the build's source.repo_source, if exists, with any revisions resolved.

Property Value
Type Description
RepoSource

ResolvedStorageSource

public StorageSource ResolvedStorageSource { get; set; }

A copy of the build's source.storage_source, if exists, with any generations resolved.

Property Value
Type Description
StorageSource