public sealed class SourceProvenance : IMessage<SourceProvenance>, IEquatable<SourceProvenance>, IDeepCloneable<SourceProvenance>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class SourceProvenance.
Provenance of the source. Ways to find the original source, or verify that some source was used for this build.
Implements
IMessageSourceProvenance, IEquatableSourceProvenance, IDeepCloneableSourceProvenance, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
SourceProvenance()
public SourceProvenance()
SourceProvenance(SourceProvenance)
public SourceProvenance(SourceProvenance other)
Parameter | |
---|---|
Name | Description |
other |
SourceProvenance |
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 | |
---|---|
Type | Description |
MapFieldstringFileHashes |
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 |
ResolvedStorageSourceManifest
public StorageSourceManifest ResolvedStorageSourceManifest { get; set; }
A copy of the build's source.storage_source_manifest
, if exists, with any
revisions resolved.
This feature is in Preview.
Property Value | |
---|---|
Type | Description |
StorageSourceManifest |