Grafeas V1 Client - Class ImageNote (1.1.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
Name Description
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
Type Description
string

setResourceUrl

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

Parameter
Name Description
var string
Returns
Type Description
$this

getFingerprint

Required. Immutable. The fingerprint of the base image.

Returns
Type Description
Grafeas\V1\Fingerprint|null

hasFingerprint

clearFingerprint

setFingerprint

Required. Immutable. The fingerprint of the base image.

Parameter
Name Description
var Grafeas\V1\Fingerprint
Returns
Type Description
$this