Grafeas V1 API - Class Grafeas::V1::Note (v0.6.0)

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

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attestation

def attestation() -> ::Grafeas::V1::AttestationNote
Returns

#attestation=

def attestation=(value) -> ::Grafeas::V1::AttestationNote
Parameter
Returns

#build

def build() -> ::Grafeas::V1::BuildNote
Returns

#build=

def build=(value) -> ::Grafeas::V1::BuildNote
Parameter
Returns

#compliance

def compliance() -> ::Grafeas::V1::ComplianceNote
Returns

#compliance=

def compliance=(value) -> ::Grafeas::V1::ComplianceNote
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#deployment

def deployment() -> ::Grafeas::V1::DeploymentNote
Returns

#deployment=

def deployment=(value) -> ::Grafeas::V1::DeploymentNote
Parameter
Returns

#discovery

def discovery() -> ::Grafeas::V1::DiscoveryNote
Returns

#discovery=

def discovery=(value) -> ::Grafeas::V1::DiscoveryNote
Parameter
Returns

#dsse_attestation

def dsse_attestation() -> ::Grafeas::V1::DSSEAttestationNote
Returns

#dsse_attestation=

def dsse_attestation=(value) -> ::Grafeas::V1::DSSEAttestationNote
Parameter
Returns

#expiration_time

def expiration_time() -> ::Google::Protobuf::Timestamp
Returns

#expiration_time=

def expiration_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#image

def image() -> ::Grafeas::V1::ImageNote
Returns

#image=

def image=(value) -> ::Grafeas::V1::ImageNote
Parameter
Returns

#kind

def kind() -> ::Grafeas::V1::NoteKind
Returns
  • (::Grafeas::V1::NoteKind) — Output only. The type of analysis. This field can be used as a filter in list requests.

#kind=

def kind=(value) -> ::Grafeas::V1::NoteKind
Parameter
  • value (::Grafeas::V1::NoteKind) — Output only. The type of analysis. This field can be used as a filter in list requests.
Returns
  • (::Grafeas::V1::NoteKind) — Output only. The type of analysis. This field can be used as a filter in list requests.

#long_description

def long_description() -> ::String
Returns
  • (::String) — A detailed description of this note.

#long_description=

def long_description=(value) -> ::String
Parameter
  • value (::String) — A detailed description of this note.
Returns
  • (::String) — A detailed description of this note.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].
Returns
  • (::String) — Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

#package

def package() -> ::Grafeas::V1::PackageNote
Returns

#package=

def package=(value) -> ::Grafeas::V1::PackageNote
Parameter
Returns
def related_note_names() -> ::Array<::String>
Returns
  • (::Array<::String>) — Other notes related to this note.
def related_note_names=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Other notes related to this note.
Returns
  • (::Array<::String>) — Other notes related to this note.
def related_url() -> ::Array<::Grafeas::V1::RelatedUrl>
Returns
def related_url=(value) -> ::Array<::Grafeas::V1::RelatedUrl>
Parameter
Returns

#short_description

def short_description() -> ::String
Returns
  • (::String) — A one sentence description of this note.

#short_description=

def short_description=(value) -> ::String
Parameter
  • value (::String) — A one sentence description of this note.
Returns
  • (::String) — A one sentence description of this note.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#update_time=

def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — Output only. The time this note was last updated. This field can be used as a filter in list requests.
Returns

#upgrade

def upgrade() -> ::Grafeas::V1::UpgradeNote
Returns

#upgrade=

def upgrade=(value) -> ::Grafeas::V1::UpgradeNote
Parameter
Returns

#vulnerability

def vulnerability() -> ::Grafeas::V1::VulnerabilityNote
Returns

#vulnerability=

def vulnerability=(value) -> ::Grafeas::V1::VulnerabilityNote
Parameter
Returns