Grafeas V1 Client - Class ImageNote (0.9.0)

Reference documentation and code samples for the Grafeas V1 Client class ImageNote.

Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM <Basis.resource_url> Or an equivalent reference, e.g., a tag of the resource_url.

Generated from protobuf message grafeas.v1.ImageNote

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resource_url string

Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.

↳ fingerprint Grafeas\V1\Fingerprint

Required. Immutable. The fingerprint of the base image.

getResourceUrl

Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.

Returns
TypeDescription
string

setResourceUrl

Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFingerprint

Required. Immutable. The fingerprint of the base image.

Returns
TypeDescription
Grafeas\V1\Fingerprint|null

hasFingerprint

clearFingerprint

setFingerprint

Required. Immutable. The fingerprint of the base image.

Parameter
NameDescription
var Grafeas\V1\Fingerprint
Returns
TypeDescription
$this