Cloud Build V1 API - Class Google::Cloud::Build::V1::SourceProvenance (v0.11.3)

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}
Returns
  • (::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 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.

#resolved_repo_source

def resolved_repo_source() -> ::Google::Cloud::Build::V1::RepoSource
Returns

#resolved_repo_source=

def resolved_repo_source=(value) -> ::Google::Cloud::Build::V1::RepoSource
Parameter
Returns

#resolved_storage_source

def resolved_storage_source() -> ::Google::Cloud::Build::V1::StorageSource
Returns

#resolved_storage_source=

def resolved_storage_source=(value) -> ::Google::Cloud::Build::V1::StorageSource
Parameter
Returns

#resolved_storage_source_manifest

def resolved_storage_source_manifest() -> ::Google::Cloud::Build::V1::StorageSourceManifest
Returns

#resolved_storage_source_manifest=

def resolved_storage_source_manifest=(value) -> ::Google::Cloud::Build::V1::StorageSourceManifest
Parameter
Returns