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.
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.
getArtifactStorageSourceUri
If provided, the input binary artifacts for the build came from this
location.
Returns
Type
Description
string
setArtifactStorageSourceUri
If provided, the input binary artifacts for the build came from this
location.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFileHashes
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.
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.
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.
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.
[[["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-09 UTC."],[],[],null,["# Grafeas V1 Client - Class Source (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/grafeas/latest/V1.Source)\n- [1.2.1](/php/docs/reference/grafeas/1.2.1/V1.Source)\n- [1.1.3](/php/docs/reference/grafeas/1.1.3/V1.Source)\n- [1.0.0](/php/docs/reference/grafeas/1.0.0/V1.Source)\n- [0.10.3](/php/docs/reference/grafeas/0.10.3/V1.Source)\n- [0.9.0](/php/docs/reference/grafeas/0.9.0/V1.Source)\n- [0.8.3](/php/docs/reference/grafeas/0.8.3/V1.Source)\n- [0.7.1](/php/docs/reference/grafeas/0.7.1/V1.Source)\n- [0.6.0](/php/docs/reference/grafeas/0.6.0/V1.Source)\n- [0.5.0](/php/docs/reference/grafeas/0.5.0/V1.Source)\n- [0.4.4](/php/docs/reference/grafeas/0.4.4/V1.Source) \nReference documentation and code samples for the Grafeas V1 Client class Source.\n\nSource describes the location of the source used for the build.\n\nGenerated from protobuf message `grafeas.v1.Source`\n\nNamespace\n---------\n\nGrafeas \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getArtifactStorageSourceUri\n\nIf provided, the input binary artifacts for the build came from this\nlocation.\n\n### setArtifactStorageSourceUri\n\nIf provided, the input binary artifacts for the build came from this\nlocation.\n\n### getFileHashes\n\nHash(es) of the build source, which can be used to verify that the original\nsource integrity was maintained in the build.\n\nThe keys to this map are file paths used as build source and the values\ncontain the hash values for those files.\nIf 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### setFileHashes\n\nHash(es) of the build source, which can be used to verify that the original\nsource integrity was maintained in the build.\n\nThe keys to this map are file paths used as build source and the values\ncontain the hash values for those files.\nIf 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### getContext\n\nIf provided, the source code used for the build came from this location.\n\n### hasContext\n\n### clearContext\n\n### setContext\n\nIf provided, the source code used for the build came from this location.\n\n### getAdditionalContexts\n\nIf provided, some of the source code used for the build may be found in\nthese locations, in the case where the source repository had multiple\nremotes or submodules. This list will not include the context specified in\nthe context field.\n\n### setAdditionalContexts\n\nIf provided, some of the source code used for the build may be found in\nthese locations, in the case where the source repository had multiple\nremotes or submodules. This list will not include the context specified in\nthe context field."]]