Grafeas v1 API - Class Note (3.5.0)

public sealed class Note : IMessage<Note>, IEquatable<Note>, IDeepCloneable<Note>, IBufferMessage, IMessage

Reference documentation and code samples for the Grafeas v1 API class Note.

A type of analysis that can be done for a resource.

Inheritance

object > Note

Namespace

Grafeas.V1

Assembly

Grafeas.V1.dll

Constructors

Note()

public Note()

Note(Note)

public Note(Note other)
Parameter
NameDescription
otherNote

Properties

Attestation

public AttestationNote Attestation { get; set; }

A note describing an attestation role.

Property Value
TypeDescription
AttestationNote

Build

public BuildNote Build { get; set; }

A note describing build provenance for a verifiable build.

Property Value
TypeDescription
BuildNote

Compliance

public ComplianceNote Compliance { get; set; }

A note describing a compliance check.

Property Value
TypeDescription
ComplianceNote

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time this note was created. This field can be used as a filter in list requests.

Property Value
TypeDescription
Timestamp

Deployment

public DeploymentNote Deployment { get; set; }

A note describing something that can be deployed.

Property Value
TypeDescription
DeploymentNote

Discovery

public DiscoveryNote Discovery { get; set; }

A note describing the initial analysis of a resource.

Property Value
TypeDescription
DiscoveryNote

DsseAttestation

public DSSEAttestationNote DsseAttestation { get; set; }

A note describing a dsse attestation note.

Property Value
TypeDescription
DSSEAttestationNote

ExpirationTime

public Timestamp ExpirationTime { get; set; }

Time of expiration for this note. Empty if note does not expire.

Property Value
TypeDescription
Timestamp

Image

public ImageNote Image { get; set; }

A note describing a base image.

Property Value
TypeDescription
ImageNote

Kind

public NoteKind Kind { get; set; }

Output only. The type of analysis. This field can be used as a filter in list requests.

Property Value
TypeDescription
NoteKind

LongDescription

public string LongDescription { get; set; }

A detailed description of this note.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

Property Value
TypeDescription
string

NoteName

public NoteName NoteName { get; set; }

NoteName-typed view over the Name resource name property.

Property Value
TypeDescription
NoteName

Package

public PackageNote Package { get; set; }

A note describing a package hosted by various package managers.

Property Value
TypeDescription
PackageNote

RelatedNoteNames

public RepeatedField<string> RelatedNoteNames { get; }

Other notes related to this note.

Property Value
TypeDescription
RepeatedFieldstring

RelatedUrl

public RepeatedField<RelatedUrl> RelatedUrl { get; }

URLs associated with this note.

Property Value
TypeDescription
RepeatedFieldRelatedUrl

ShortDescription

public string ShortDescription { get; set; }

A one sentence description of this note.

Property Value
TypeDescription
string

TypeCase

public Note.TypeOneofCase TypeCase { get; }
Property Value
TypeDescription
NoteTypeOneofCase

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time this note was last updated. This field can be used as a filter in list requests.

Property Value
TypeDescription
Timestamp

Upgrade

public UpgradeNote Upgrade { get; set; }

A note describing available package upgrades.

Property Value
TypeDescription
UpgradeNote

Vulnerability

public VulnerabilityNote Vulnerability { get; set; }

A note describing a package vulnerability.

Property Value
TypeDescription
VulnerabilityNote

VulnerabilityAssessment

public VulnerabilityAssessmentNote VulnerabilityAssessment { get; set; }

A note describing a vulnerability assessment.

Property Value
TypeDescription
VulnerabilityAssessmentNote