Source Response
data class SourceResponse(val additionalContexts: List<GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse>, val artifactStorageSource: StorageSourceResponse, val context: GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse, val fileHashes: Map<String, String>, val repoSource: RepoSourceResponse, val storageSource: StorageSourceResponse)
Source describes the location of the source used for the build.
Constructors
Link copied to clipboard
fun SourceResponse(additionalContexts: List<GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse>, artifactStorageSource: StorageSourceResponse, context: GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse, fileHashes: Map<String, String>, repoSource: RepoSourceResponse, storageSource: StorageSourceResponse)
Types
Properties
Link copied to clipboard
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. 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.
Link copied to clipboard