SourceProvenance(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Provenance of the source. Ways to find the original source, or verify that some source was used for this build.
Attributes
Name | Description |
resolved_storage_source |
google.cloud.devtools.cloudbuild_v1.types.StorageSource
A copy of the build's source.storage_source , if exists,
with any generations resolved.
|
resolved_repo_source |
google.cloud.devtools.cloudbuild_v1.types.RepoSource
A copy of the build's source.repo_source , if exists,
with any revisions resolved.
|
resolved_storage_source_manifest |
google.cloud.devtools.cloudbuild_v1.types.StorageSourceManifest
A copy of the build's source.storage_source_manifest , if
exists, with any revisions resolved. This feature is in
Preview.
|
file_hashes |
Sequence[google.cloud.devtools.cloudbuild_v1.types.SourceProvenance.FileHashesEntry]
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 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.
|
Classes
FileHashesEntry
FileHashesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |