google_api_cloud_build v0.4.0 GoogleApi.CloudBuild.V1.Model.SourceProvenance View Source

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

Attributes

  • fileHashes (%{optional(String.t) => FileHashes}): 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. Defaults to: null.
  • resolvedRepoSource (RepoSource): A copy of the build's `source.repo_source`, if exists, with any revisions resolved. Defaults to: null.
  • resolvedStorageSource (StorageSource): A copy of the build's `source.storage_source`, if exists, with any generations resolved. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.CloudBuild.V1.Model.SourceProvenance{
  fileHashes: map(),
  resolvedRepoSource: GoogleApi.CloudBuild.V1.Model.RepoSource.t(),
  resolvedStorageSource: GoogleApi.CloudBuild.V1.Model.StorageSource.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.