# Grafeas V1 Client - Class AttestationNote (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 AttestationNote.

Note kind that represents a logical attestation "role" or "authority". For
example, an organization might have one `Authority` for "QA" and one for
"build". This note is intended to act strictly as a grouping mechanism for
the attached occurrences (Attestations). This grouping mechanism also
provides a security boundary, since IAM ACLs gate the ability for a principle
to attach an occurrence to a given note. It also provides a single point of
lookup to find all attached attestation occurrences, even if they don't all
live in the same project.

Generated from protobuf message `grafeas.v1.AttestationNote`

## Namespace

Grafeas \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ hint` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.AttestationNote.Hint` Hint hints at the purpose of the attestation authority. |

### getHint

Hint hints at the purpose of the attestation authority.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.AttestationNote.Hint|null` |   |

### hasHint

### clearHint

### setHint

Hint hints at the purpose of the attestation authority.

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

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