Grafeas V1 Client - Class Fingerprint (0.5.0)

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 message grafeas.v1.Fingerprint

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setV1Name

Required. The layer ID of the final layer in the Docker image's v1 representation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getV2Blob

Required. The ordered list of v2 blobs that represent a given image.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setV2Blob

Required. The ordered list of v2 blobs that represent a given image.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$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
TypeDescription
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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this