Class: Google::Cloud::Build::V1::SourceProvenance

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb

Overview

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

Defined Under Namespace

Classes: FileHashesEntry

Instance Attribute Summary collapse

Instance Attribute Details

#file_hashes::Google::Protobuf::Map{::String => ::Google::Cloud::Build::V1::FileHashes} (readonly)

Returns 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.

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.



953
954
955
956
957
958
959
960
961
962
963
964
965
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 953

class SourceProvenance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::FileHashes]
  class FileHashesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#resolved_repo_source::Google::Cloud::Build::V1::RepoSource

Returns A copy of the build's source.repo_source, if exists, with any revisions resolved.

Returns:



953
954
955
956
957
958
959
960
961
962
963
964
965
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 953

class SourceProvenance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::FileHashes]
  class FileHashesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#resolved_storage_source::Google::Cloud::Build::V1::StorageSource

Returns A copy of the build's source.storage_source, if exists, with any generations resolved.

Returns:



953
954
955
956
957
958
959
960
961
962
963
964
965
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 953

class SourceProvenance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::FileHashes]
  class FileHashesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#resolved_storage_source_manifest::Google::Cloud::Build::V1::StorageSourceManifest

Returns A copy of the build's source.storage_source_manifest, if exists, with any revisions resolved. This feature is in Preview.

Returns:



953
954
955
956
957
958
959
960
961
962
963
964
965
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 953

class SourceProvenance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::FileHashes]
  class FileHashesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end