Class SourceProvenance (1.1.0)

public sealed class SourceProvenance : IMessage<SourceProvenance>, IEquatable<SourceProvenance>, IDeepCloneable<SourceProvenance>, IBufferMessage, IMessage

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.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

SourceProvenance()

public SourceProvenance()

SourceProvenance(SourceProvenance)

public SourceProvenance(SourceProvenance other)
Parameter
NameDescription
otherSourceProvenance

Properties

FileHashes

public MapField<string, FileHashes> FileHashes { get; }

Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that FileHashes will only be populated if BuildOptions has requested a SourceProvenanceHash.

The keys to this map are file paths used as build source and the values contain the hash values for those files.

If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.

Property Value
TypeDescription
MapField<String, FileHashes>

ResolvedRepoSource

public RepoSource ResolvedRepoSource { get; set; }

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

Property Value
TypeDescription
RepoSource

ResolvedStorageSource

public StorageSource ResolvedStorageSource { get; set; }

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

Property Value
TypeDescription
StorageSource