Grafeas V1 API - Class Grafeas::V1::PackageNote (v0.5.0)

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

PackageNote represents a particular package version.

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.

#architecture=

def architecture=(value) -> ::Grafeas::V1::Architecture
Parameter
  • value (::Grafeas::V1::Architecture) — The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
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.

#cpe_uri=

def cpe_uri=(value) -> ::String
Parameter
  • value (::String) — The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
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.

#description

def description() -> ::String
Returns
  • (::String) — The description of this package.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — The description of this package.
Returns
  • (::String) — The description of this package.

#digest

def digest() -> ::Array<::Grafeas::V1::Digest>
Returns
  • (::Array<::Grafeas::V1::Digest>) — Hash value, typically a file digest, that allows unique identification a specific package.

#digest=

def digest=(value) -> ::Array<::Grafeas::V1::Digest>
Parameter
  • value (::Array<::Grafeas::V1::Digest>) — Hash value, typically a file digest, that allows unique identification a specific package.
Returns
  • (::Array<::Grafeas::V1::Digest>) — Hash value, typically a file digest, that allows unique identification a specific package.

#distribution

def distribution() -> ::Array<::Grafeas::V1::Distribution>
Returns

#distribution=

def distribution=(value) -> ::Array<::Grafeas::V1::Distribution>
Parameter
Returns

#license

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

#license=

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

#maintainer

def maintainer() -> ::String
Returns
  • (::String) — A freeform text denoting the maintainer of this package.

#maintainer=

def maintainer=(value) -> ::String
Parameter
  • value (::String) — A freeform text denoting the maintainer of this package.
Returns
  • (::String) — A freeform text denoting the maintainer of this package.

#name

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

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of the package.
Returns
  • (::String) — The name of the 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.).

#package_type=

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

#url

def url() -> ::String
Returns
  • (::String) — The homepage for this package.

#url=

def url=(value) -> ::String
Parameter
  • value (::String) — The homepage for this package.
Returns
  • (::String) — The homepage for this package.

#version

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

#version=

def version=(value) -> ::Grafeas::V1::Version
Parameter
Returns