Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::SourceProvenance.
Provenance of the source. Ways to find the original source, or verify that some source was used for this build.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#file_hashes
def file_hashes() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Build::V1::FileHashes}
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Build::V1::FileHashes}) — 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 ifBuildOptions
has 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
), theFileHash
will be for the single path to that file.
#resolved_repo_source
def resolved_repo_source() -> ::Google::Cloud::Build::V1::RepoSource
-
(::Google::Cloud::Build::V1::RepoSource) — A copy of the build's
source.repo_source
, if exists, with any revisions resolved.
#resolved_repo_source=
def resolved_repo_source=(value) -> ::Google::Cloud::Build::V1::RepoSource
-
value (::Google::Cloud::Build::V1::RepoSource) — A copy of the build's
source.repo_source
, if exists, with any revisions resolved.
-
(::Google::Cloud::Build::V1::RepoSource) — A copy of the build's
source.repo_source
, if exists, with any revisions resolved.
#resolved_storage_source
def resolved_storage_source() -> ::Google::Cloud::Build::V1::StorageSource
-
(::Google::Cloud::Build::V1::StorageSource) — A copy of the build's
source.storage_source
, if exists, with any generations resolved.
#resolved_storage_source=
def resolved_storage_source=(value) -> ::Google::Cloud::Build::V1::StorageSource
-
value (::Google::Cloud::Build::V1::StorageSource) — A copy of the build's
source.storage_source
, if exists, with any generations resolved.
-
(::Google::Cloud::Build::V1::StorageSource) — A copy of the build's
source.storage_source
, if exists, with any generations resolved.
#resolved_storage_source_manifest
def resolved_storage_source_manifest() -> ::Google::Cloud::Build::V1::StorageSourceManifest
-
(::Google::Cloud::Build::V1::StorageSourceManifest) — A copy of the build's
source.storage_source_manifest
, if exists, with any revisions resolved. This feature is in Preview.
#resolved_storage_source_manifest=
def resolved_storage_source_manifest=(value) -> ::Google::Cloud::Build::V1::StorageSourceManifest
-
value (::Google::Cloud::Build::V1::StorageSourceManifest) — A copy of the build's
source.storage_source_manifest
, if exists, with any revisions resolved. This feature is in Preview.
-
(::Google::Cloud::Build::V1::StorageSourceManifest) — A copy of the build's
source.storage_source_manifest
, if exists, with any revisions resolved. This feature is in Preview.