(::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.
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.
Returns
(::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
defartifact_storage_source_uri()->::String
Returns
(::String) — If provided, the input binary artifacts for the build came from this
location.
#artifact_storage_source_uri=
defartifact_storage_source_uri=(value)->::String
Parameter
value (::String) — If provided, the input binary artifacts for the build came from this
location.
Returns
(::String) — If provided, the input binary artifacts for the build came from this
location.
(::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.
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.
Returns
(::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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Grafeas V1 API - Class Grafeas::V1::Source (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Source)\n- [1.3.1](/ruby/docs/reference/grafeas-v1/1.3.1/Grafeas-V1-Source)\n- [1.2.0](/ruby/docs/reference/grafeas-v1/1.2.0/Grafeas-V1-Source)\n- [1.1.1](/ruby/docs/reference/grafeas-v1/1.1.1/Grafeas-V1-Source)\n- [1.0.0](/ruby/docs/reference/grafeas-v1/1.0.0/Grafeas-V1-Source)\n- [0.16.1](/ruby/docs/reference/grafeas-v1/0.16.1/Grafeas-V1-Source)\n- [0.15.0](/ruby/docs/reference/grafeas-v1/0.15.0/Grafeas-V1-Source)\n- [0.14.2](/ruby/docs/reference/grafeas-v1/0.14.2/Grafeas-V1-Source)\n- [0.13.0](/ruby/docs/reference/grafeas-v1/0.13.0/Grafeas-V1-Source)\n- [0.12.1](/ruby/docs/reference/grafeas-v1/0.12.1/Grafeas-V1-Source)\n- [0.11.0](/ruby/docs/reference/grafeas-v1/0.11.0/Grafeas-V1-Source)\n- [0.10.0](/ruby/docs/reference/grafeas-v1/0.10.0/Grafeas-V1-Source)\n- [0.9.0](/ruby/docs/reference/grafeas-v1/0.9.0/Grafeas-V1-Source)\n- [0.8.0](/ruby/docs/reference/grafeas-v1/0.8.0/Grafeas-V1-Source)\n- [0.7.0](/ruby/docs/reference/grafeas-v1/0.7.0/Grafeas-V1-Source)\n- [0.6.1](/ruby/docs/reference/grafeas-v1/0.6.1/Grafeas-V1-Source)\n- [0.5.0](/ruby/docs/reference/grafeas-v1/0.5.0/Grafeas-V1-Source)\n- [0.4.0](/ruby/docs/reference/grafeas-v1/0.4.0/Grafeas-V1-Source)\n- [0.3.1](/ruby/docs/reference/grafeas-v1/0.3.1/Grafeas-V1-Source) \nReference documentation and code samples for the Grafeas V1 API class Grafeas::V1::Source.\n\nSource describes the location of the source used for the build. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #additional_contexts\n\n def additional_contexts() -\u003e ::Array\u003c::Grafeas::V1::SourceContext\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Grafeas::V1::SourceContext](./Grafeas-V1-SourceContext)\\\u003e) --- 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.\n\n### #additional_contexts=\n\n def additional_contexts=(value) -\u003e ::Array\u003c::Grafeas::V1::SourceContext\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Grafeas::V1::SourceContext](./Grafeas-V1-SourceContext)\\\u003e) --- 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. \n**Returns**\n\n- (::Array\\\u003c[::Grafeas::V1::SourceContext](./Grafeas-V1-SourceContext)\\\u003e) --- 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.\n\n### #artifact_storage_source_uri\n\n def artifact_storage_source_uri() -\u003e ::String\n\n**Returns**\n\n- (::String) --- If provided, the input binary artifacts for the build came from this location.\n\n### #artifact_storage_source_uri=\n\n def artifact_storage_source_uri=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- If provided, the input binary artifacts for the build came from this location. \n**Returns**\n\n- (::String) --- If provided, the input binary artifacts for the build came from this location.\n\n### #context\n\n def context() -\u003e ::Grafeas::V1::SourceContext\n\n**Returns**\n\n- ([::Grafeas::V1::SourceContext](./Grafeas-V1-SourceContext)) --- If provided, the source code used for the build came from this location.\n\n### #context=\n\n def context=(value) -\u003e ::Grafeas::V1::SourceContext\n\n**Parameter**\n\n- **value** ([::Grafeas::V1::SourceContext](./Grafeas-V1-SourceContext)) --- If provided, the source code used for the build came from this location. \n**Returns**\n\n- ([::Grafeas::V1::SourceContext](./Grafeas-V1-SourceContext)) --- If provided, the source code used for the build came from this location.\n\n### #file_hashes\n\n def file_hashes() -\u003e ::Google::Protobuf::Map{::String =\u003e ::Grafeas::V1::FileHashes}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::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.\n\n The keys to this map are file paths used as build source and the values\n contain the hash values for those files.\n\n If the build source came in a single package such as a gzipped tarfile\n (.tar.gz), the FileHash will be for the single path to that file.\n\n### #file_hashes=\n\n def file_hashes=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::Grafeas::V1::FileHashes}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::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.\n\n\n The keys to this map are file paths used as build source and the values\n contain the hash values for those files.\n\n If the build source came in a single package such as a gzipped tarfile\n(.tar.gz), the FileHash will be for the single path to that file. \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::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.\n\n The keys to this map are file paths used as build source and the values\n contain the hash values for those files.\n\n If the build source came in a single package such as a gzipped tarfile\n (.tar.gz), the FileHash will be for the single path to that file."]]