GoogleApi.CloudBuild.V1.Model.SourceProvenance (google_api_cloud_build v0.38.0) View Source

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

Attributes

  • fileHashes (type: %{optional(String.t) => GoogleApi.CloudBuild.V1.Model.FileHashes.t}, default: nil) - 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.
  • resolvedRepoSource (type: GoogleApi.CloudBuild.V1.Model.RepoSource.t, default: nil) - A copy of the build's source.repo_source, if exists, with any revisions resolved.
  • resolvedStorageSource (type: GoogleApi.CloudBuild.V1.Model.StorageSource.t, default: nil) - A copy of the build's source.storage_source, if exists, with any generations resolved.
  • resolvedStorageSourceManifest (type: GoogleApi.CloudBuild.V1.Model.StorageSourceManifest.t, default: nil) - A copy of the build's source.storage_source_manifest, if exists, with any revisions resolved. This feature is in Preview.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudBuild.V1.Model.SourceProvenance{
  fileHashes:
    %{optional(String.t()) => GoogleApi.CloudBuild.V1.Model.FileHashes.t()}
    | nil,
  resolvedRepoSource: GoogleApi.CloudBuild.V1.Model.RepoSource.t() | nil,
  resolvedStorageSource: GoogleApi.CloudBuild.V1.Model.StorageSource.t() | nil,
  resolvedStorageSourceManifest:
    GoogleApi.CloudBuild.V1.Model.StorageSourceManifest.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.