Grafeas V1 API - Class Grafeas::V1::PackageOccurrence (v0.16.0)

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

Details on how a particular software package was installed on a system.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#architecture

def architecture() -> ::Grafeas::V1::Architecture
Returns
  • (::Grafeas::V1::Architecture) — The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.

#cpe_uri

def cpe_uri() -> ::String
Returns
  • (::String) — The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.

#license

def license() -> ::Grafeas::V1::License
Returns

#license=

def license=(value) -> ::Grafeas::V1::License
Parameter
Returns

#location

def location() -> ::Array<::Grafeas::V1::Location>
Returns
  • (::Array<::Grafeas::V1::Location>) — All of the places within the filesystem versions of this package have been found.

#location=

def location=(value) -> ::Array<::Grafeas::V1::Location>
Parameter
  • value (::Array<::Grafeas::V1::Location>) — All of the places within the filesystem versions of this package have been found.
Returns
  • (::Array<::Grafeas::V1::Location>) — All of the places within the filesystem versions of this package have been found.

#name

def name() -> ::String
Returns
  • (::String) — The name of the installed package.

#package_type

def package_type() -> ::String
Returns
  • (::String) — The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).

#version

def version() -> ::Grafeas::V1::Version
Returns