Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::Source.
Source describes the location of the source used for the build.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#additional_contexts
def additional_contexts() -> ::Array<::Grafeas::V1::SourceContext>
- (::Array<::Grafeas::V1::SourceContext>) — If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
#additional_contexts=
def additional_contexts=(value) -> ::Array<::Grafeas::V1::SourceContext>
- value (::Array<::Grafeas::V1::SourceContext>) — If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
- (::Array<::Grafeas::V1::SourceContext>) — If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
#artifact_storage_source_uri
def artifact_storage_source_uri() -> ::String
- (::String) — If provided, the input binary artifacts for the build came from this location.
#artifact_storage_source_uri=
def artifact_storage_source_uri=(value) -> ::String
- value (::String) — If provided, the input binary artifacts for the build came from this location.
- (::String) — If provided, the input binary artifacts for the build came from this location.
#context
def context() -> ::Grafeas::V1::SourceContext
- (::Grafeas::V1::SourceContext) — If provided, the source code used for the build came from this location.
#context=
def context=(value) -> ::Grafeas::V1::SourceContext
- value (::Grafeas::V1::SourceContext) — If provided, the source code used for the build came from this location.
- (::Grafeas::V1::SourceContext) — If provided, the source code used for the build came from this location.
#file_hashes
def file_hashes() -> ::Google::Protobuf::Map{::String => ::Grafeas::V1::FileHashes}
-
(::Google::Protobuf::Map{::String => ::Grafeas::V1::FileHashes}) — Hash(es) of the build source, which can be used to verify that the original
source integrity was maintained in the build.
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.
#file_hashes=
def file_hashes=(value) -> ::Google::Protobuf::Map{::String => ::Grafeas::V1::FileHashes}
-
value (::Google::Protobuf::Map{::String => ::Grafeas::V1::FileHashes}) — Hash(es) of the build source, which can be used to verify that the original
source integrity was maintained in the build.
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.
-
(::Google::Protobuf::Map{::String => ::Grafeas::V1::FileHashes}) — Hash(es) of the build source, which can be used to verify that the original
source integrity was maintained in the build.
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.