Reference documentation and code samples for the Grafeas V1 Client class Note.
A type of analysis that can be done for a resource.
Generated from protobuf message grafeas.v1.Note
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
↳ short_description
string
A one sentence description of this note.
↳ long_description
string
A detailed description of this note.
↳ kind
int
Output only. The type of analysis. This field can be used as a filter in list requests.
↳ related_url
↳ expiration_time
↳ create_time
Google\Protobuf\Timestamp
Output only. The time this note was created. This field can be used as a filter in list requests.
↳ update_time
Google\Protobuf\Timestamp
Output only. The time this note was last updated. This field can be used as a filter in list requests.
↳ related_note_names
array
Other notes related to this note.
↳ vulnerability
↳ build
↳ image
↳ package
↳ deployment
↳ discovery
↳ attestation
↳ upgrade
↳ compliance
↳ dsse_attestation
↳ vulnerability_assessment
getName
Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string
setName
Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
var
string
$this
getShortDescription
A one sentence description of this note.
string
setShortDescription
A one sentence description of this note.
var
string
$this
getLongDescription
A detailed description of this note.
string
setLongDescription
A detailed description of this note.
var
string
$this
getKind
Output only. The type of analysis. This field can be used as a filter in list requests.
int
setKind
Output only. The type of analysis. This field can be used as a filter in list requests.
var
int
$this
getRelatedUrl
URLs associated with this note.
setRelatedUrl
URLs associated with this note.
$this
getExpirationTime
Time of expiration for this note. Empty if note does not expire.
hasExpirationTime
clearExpirationTime
setExpirationTime
Time of expiration for this note. Empty if note does not expire.
$this
getCreateTime
Output only. The time this note was created. This field can be used as a filter in list requests.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time this note was created. This field can be used as a filter in list requests.
$this
getUpdateTime
Output only. The time this note was last updated. This field can be used as a filter in list requests.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time this note was last updated. This field can be used as a filter in list requests.
$this
getRelatedNoteNames
Other notes related to this note.
setRelatedNoteNames
Other notes related to this note.
var
string[]
$this
getVulnerability
A note describing a package vulnerability.
hasVulnerability
setVulnerability
A note describing a package vulnerability.
$this
getBuild
A note describing build provenance for a verifiable build.
hasBuild
setBuild
A note describing build provenance for a verifiable build.
$this
getImage
A note describing a base image.
hasImage
setImage
A note describing a base image.
$this
getPackage
A note describing a package hosted by various package managers.
hasPackage
setPackage
A note describing a package hosted by various package managers.
$this
getDeployment
A note describing something that can be deployed.
hasDeployment
setDeployment
A note describing something that can be deployed.
$this
getDiscovery
A note describing the initial analysis of a resource.
hasDiscovery
setDiscovery
A note describing the initial analysis of a resource.
$this
getAttestation
A note describing an attestation role.
hasAttestation
setAttestation
A note describing an attestation role.
$this
getUpgrade
A note describing available package upgrades.
hasUpgrade
setUpgrade
A note describing available package upgrades.
$this
getCompliance
A note describing a compliance check.
hasCompliance
setCompliance
A note describing a compliance check.
$this
getDsseAttestation
A note describing a dsse attestation note.
hasDsseAttestation
setDsseAttestation
A note describing a dsse attestation note.
$this
getVulnerabilityAssessment
A note describing a vulnerability assessment.
hasVulnerabilityAssessment
setVulnerabilityAssessment
A note describing a vulnerability assessment.
$this
getType
string