google_api_cloud_build v0.7.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) => GoogleApi.CloudBuild.V1.Model.FileHashes.t}): 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
FileHasheswill only be populated ifBuildOptionshas requested aSourceProvenanceHash.
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 nil.
- resolvedRepoSource (GoogleApi.CloudBuild.V1.Model.RepoSource.t): A copy of the build's
source.repo_source, if exists, with any revisions resolved. Defaults tonil. - resolvedStorageSource (GoogleApi.CloudBuild.V1.Model.StorageSource.t): A copy of the build's
source.storage_source, if exists, with any generations resolved. Defaults tonil.
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()
View Source
t() :: %GoogleApi.CloudBuild.V1.Model.SourceProvenance{
fileHashes: %{
optional(String.t()) => GoogleApi.CloudBuild.V1.Model.FileHashes.t()
},
resolvedRepoSource: GoogleApi.CloudBuild.V1.Model.RepoSource.t(),
resolvedStorageSource: GoogleApi.CloudBuild.V1.Model.StorageSource.t()
}
t() :: %GoogleApi.CloudBuild.V1.Model.SourceProvenance{
fileHashes: %{
optional(String.t()) => GoogleApi.CloudBuild.V1.Model.FileHashes.t()
},
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
Unwrap a decoded JSON object into its complex fields.