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<String, String>> fileHashes, 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.
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 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.
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