# Grafeas V1 Client - Class ImageNote (1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.2 1.2.2 1.1.3 1.0.0 0.10.3 0.9.0 0.8.3 0.7.1 0.6.0 0.5.0 0.4.4 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` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/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** |
| `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.Fingerprint|null` |   |

### hasFingerprint

### clearFingerprint

### setFingerprint

Required. Immutable. The fingerprint of the base image.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.Fingerprint` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |