SourceProvenanceResponse constructor
- required Input<
Map< fileHashes,String, String> > - required Input<
ConnectedRepositoryResponse> resolvedConnectedRepository, - required Input<
GitSourceResponse> resolvedGitSource, - required Input<
RepoSourceResponse> resolvedRepoSource, - required Input<
StorageSourceResponse> resolvedStorageSource, - required Input<
StorageSourceManifestResponse> resolvedStorageSourceManifest,
Creates a new SourceProvenanceResponse.
fileHashes 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 A copy of the build's source.connected_repository, if exists, with any revisions resolved.
resolvedGitSource A copy of the build's source.git_source, if exists, with any revisions resolved.
resolvedRepoSource A copy of the build's source.repo_source, if exists, with any revisions resolved.
resolvedStorageSource A copy of the build's source.storage_source, if exists, with any generations resolved.
resolvedStorageSourceManifest A copy of the build's source.storage_source_manifest, if exists, with any revisions resolved. This feature is in Preview.
Implementation
const SourceProvenanceResponse({
required this.fileHashes,
required this.resolvedConnectedRepository,
required this.resolvedGitSource,
required this.resolvedRepoSource,
required this.resolvedStorageSource,
required this.resolvedStorageSourceManifest,
});