Reference documentation and code samples for the Grafeas V1 Client class Hint.
This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify.
Generated from protobuf message grafeas.v1.AttestationNote.Hint
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ human_readable_name |
string
Required. The human readable name of this attestation authority, for example "qa". |
getHumanReadableName
Required. The human readable name of this attestation authority, for example "qa".
Returns | |
---|---|
Type | Description |
string |
setHumanReadableName
Required. The human readable name of this attestation authority, for example "qa".
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |