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.



1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1118

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:



1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1118

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:



1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1118

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:



1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1118

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