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.



1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1202

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_connected_repository::Google::Cloud::Build::V1::ConnectedRepository (readonly)

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

Returns:



1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1202

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_git_source::Google::Cloud::Build::V1::GitSource (readonly)

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

Returns:



1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1202

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:



1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1202

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:



1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1202

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:



1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1202

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