Struct google_cloudbuild1::SourceProvenance[][src]

pub struct SourceProvenance {
    pub resolved_repo_source: Option<RepoSource>,
    pub file_hashes: Option<HashMap<String, FileHashes>>,
    pub resolved_storage_source: Option<StorageSource>,
}

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

This type is not used in any activity, and only used as part of another schema.

Fields

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

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. @OutputOnly

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

Trait Implementations

impl Default for SourceProvenance
[src]

Returns the "default value" for a type. Read more

impl Clone for SourceProvenance
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SourceProvenance
[src]

Formats the value using the given formatter. Read more

impl Part for SourceProvenance
[src]

Auto Trait Implementations