Class Note (2.2.0)

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

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

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

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
RepeatedField<String>

RelatedUrl

public RepeatedField<RelatedUrl> RelatedUrl { get; }

URLs associated with this note.

Property Value
TypeDescription
RepeatedField<RelatedUrl>

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
Note.TypeOneofCase

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