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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ hint |
Grafeas\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 |
Grafeas\V1\AttestationNote\Hint|null |
hasHint
clearHint
setHint
Hint hints at the purpose of the attestation authority.
Parameter | |
---|---|
Name | Description |
var |
Grafeas\V1\AttestationNote\Hint
|
Returns | |
---|---|
Type | Description |
$this |