SourceProvenanceResponse class
Provenance of the source. Ways to find the original source, or verify that some source was used for this build.
Constructors
-
SourceProvenanceResponse({required Input<
Map< fileHashes, required Input<String, String> >ConnectedRepositoryResponse> resolvedConnectedRepository, required Input<GitSourceResponse> resolvedGitSource, required Input<RepoSourceResponse> resolvedRepoSource, required Input<StorageSourceResponse> resolvedStorageSource, required Input<StorageSourceManifestResponse> resolvedStorageSourceManifest}) -
Creates a new SourceProvenanceResponse.
fileHashesHash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note thatFileHasheswill 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), theFileHashwill be for the single path to that file.resolvedConnectedRepositoryA copy of the build'ssource.connected_repository, if exists, with any revisions resolved.resolvedGitSourceA copy of the build'ssource.git_source, if exists, with any revisions resolved.resolvedRepoSourceA copy of the build'ssource.repo_source, if exists, with any revisions resolved.resolvedStorageSourceA copy of the build'ssource.storage_source, if exists, with any generations resolved.resolvedStorageSourceManifestA copy of the build'ssource.storage_source_manifest, if exists, with any revisions resolved. This feature is in Preview.const -
SourceProvenanceResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
fileHashes
→ Input<
Map< String, String> > -
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), theFileHashwill be for the single path to that file.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
resolvedConnectedRepository
→ Input<
ConnectedRepositoryResponse> -
A copy of the build's
source.connected_repository, if exists, with any revisions resolved.final -
resolvedGitSource
→ Input<
GitSourceResponse> -
A copy of the build's
source.git_source, if exists, with any revisions resolved.final -
resolvedRepoSource
→ Input<
RepoSourceResponse> -
A copy of the build's
source.repo_source, if exists, with any revisions resolved.final -
resolvedStorageSource
→ Input<
StorageSourceResponse> -
A copy of the build's
source.storage_source, if exists, with any generations resolved.final -
resolvedStorageSourceManifest
→ Input<
StorageSourceManifestResponse> -
A copy of the build's
source.storage_source_manifest, if exists, with any revisions resolved. This feature is in Preview.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited