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
- (::Array<::Grafeas::V1::Distribution>) — Deprecated. The various channels by which a package is distributed.
#distribution=
def distribution=(value) -> ::Array<::Grafeas::V1::Distribution>
Parameter
- value (::Array<::Grafeas::V1::Distribution>) — Deprecated. The various channels by which a package is distributed.
Returns
- (::Array<::Grafeas::V1::Distribution>) — Deprecated. The various channels by which a package is distributed.
#license
def license() -> ::Grafeas::V1::License
Returns
- (::Grafeas::V1::License) — Licenses that have been declared by the authors of the package.
#license=
def license=(value) -> ::Grafeas::V1::License
Parameter
- value (::Grafeas::V1::License) — Licenses that have been declared by the authors of the package.
Returns
- (::Grafeas::V1::License) — Licenses that have been declared by the authors of the package.
#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
- (::Grafeas::V1::Version) — The version of the package.
#version=
def version=(value) -> ::Grafeas::V1::Version
Parameter
- value (::Grafeas::V1::Version) — The version of the package.
Returns
- (::Grafeas::V1::Version) — The version of the package.