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

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.
  • resolvedConnectedRepository (type: GoogleApi.CloudBuild.V1.Model.ConnectedRepository.t, default: nil) - Output only. A copy of the build's source.connected_repository, if exists, with any revisions resolved.
  • resolvedGitSource (type: GoogleApi.CloudBuild.V1.Model.GitSource.t, default: nil) - Output only. A copy of the build's source.git_source, if exists, with any revisions resolved.
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.SourceProvenance{
  fileHashes:
    %{optional(String.t()) => GoogleApi.CloudBuild.V1.Model.FileHashes.t()}
    | nil,
  resolvedConnectedRepository:
    GoogleApi.CloudBuild.V1.Model.ConnectedRepository.t() | nil,
  resolvedGitSource: GoogleApi.CloudBuild.V1.Model.GitSource.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
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.