Class: Google::Cloud::Build::V1::SourceProvenance
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::SourceProvenance
- 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
-
#file_hashes ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Build::V1::FileHashes}
readonly
Output only.
-
#resolved_connected_repository ⇒ ::Google::Cloud::Build::V1::ConnectedRepository
readonly
Output only.
-
#resolved_git_source ⇒ ::Google::Cloud::Build::V1::GitSource
readonly
Output only.
-
#resolved_repo_source ⇒ ::Google::Cloud::Build::V1::RepoSource
A copy of the build's
source.repo_source, if exists, with any revisions resolved. -
#resolved_storage_source ⇒ ::Google::Cloud::Build::V1::StorageSource
A copy of the build's
source.storage_source, if exists, with any generations resolved. -
#resolved_storage_source_manifest ⇒ ::Google::Cloud::Build::V1::StorageSourceManifest
A copy of the build's
source.storage_source_manifest, if exists, with any revisions resolved.
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.
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.
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.
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.
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.
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.
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 |