Reference documentation and code samples for the Grafeas V1 Client class Fingerprint.
A set of properties that uniquely identify a given Docker image.
Generated from protobuf messagegrafeas.v1.Fingerprint
Namespace
Grafeas \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ v1_name
string
Required. The layer ID of the final layer in the Docker image's v1 representation.
↳ v2_blob
array
Required. The ordered list of v2 blobs that represent a given image.
↳ v2_name
string
Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blob[bottom] [N] := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept.
getV1Name
Required. The layer ID of the final layer in the Docker image's v1
representation.
Returns
Type
Description
string
setV1Name
Required. The layer ID of the final layer in the Docker image's v1
representation.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getV2Blob
Required. The ordered list of v2 blobs that represent a given image.
Required. The ordered list of v2 blobs that represent a given image.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getV2Name
Output only. The name of the image's v2 blobs computed via:
[bottom] := v2_blob[bottom]
[N] := sha256(v2_blob[N] + " " + v2_name[N+1])
Only the name of the final blob is kept.
Returns
Type
Description
string
setV2Name
Output only. The name of the image's v2 blobs computed via:
[bottom] := v2_blob[bottom]
[N] := sha256(v2_blob[N] + " " + v2_name[N+1])
Only the name of the final blob is kept.
[[["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 Client - Class Fingerprint (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/grafeas/latest/V1.Fingerprint)\n- [1.2.1](/php/docs/reference/grafeas/1.2.1/V1.Fingerprint)\n- [1.1.3](/php/docs/reference/grafeas/1.1.3/V1.Fingerprint)\n- [1.0.0](/php/docs/reference/grafeas/1.0.0/V1.Fingerprint)\n- [0.10.3](/php/docs/reference/grafeas/0.10.3/V1.Fingerprint)\n- [0.9.0](/php/docs/reference/grafeas/0.9.0/V1.Fingerprint)\n- [0.8.3](/php/docs/reference/grafeas/0.8.3/V1.Fingerprint)\n- [0.7.1](/php/docs/reference/grafeas/0.7.1/V1.Fingerprint)\n- [0.6.0](/php/docs/reference/grafeas/0.6.0/V1.Fingerprint)\n- [0.5.0](/php/docs/reference/grafeas/0.5.0/V1.Fingerprint)\n- [0.4.4](/php/docs/reference/grafeas/0.4.4/V1.Fingerprint) \nReference documentation and code samples for the Grafeas V1 Client class Fingerprint.\n\nA set of properties that uniquely identify a given Docker image.\n\nGenerated from protobuf message `grafeas.v1.Fingerprint`\n\nNamespace\n---------\n\nGrafeas \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getV1Name\n\nRequired. The layer ID of the final layer in the Docker image's v1\nrepresentation.\n\n### setV1Name\n\nRequired. The layer ID of the final layer in the Docker image's v1\nrepresentation.\n\n### getV2Blob\n\nRequired. The ordered list of v2 blobs that represent a given image.\n\n### setV2Blob\n\nRequired. The ordered list of v2 blobs that represent a given image.\n\n### getV2Name\n\nOutput only. The name of the image's v2 blobs computed via:\n\\[bottom\\] := v2_blob\\[bottom\\]\n\\[N\\] := sha256(v2_blob\\[N\\] + \" \" + v2_name\\[N+1\\])\nOnly the name of the final blob is kept.\n\n### setV2Name\n\nOutput only. The name of the image's v2 blobs computed via:\n\\[bottom\\] := v2_blob\\[bottom\\]\n\\[N\\] := sha256(v2_blob\\[N\\] + \" \" + v2_name\\[N+1\\])\nOnly the name of the final blob is kept."]]