class Google::Apis::ContaineranalysisV1alpha1::Distribution
This represents a particular channel of distribution for a given package. e.g. Debian's jessie-backports dpkg mirror
Attributes
The CPU architecture for which packages in this distribution channel were built Corresponds to the JSON property `architecture` @return [String]
The cpe_uri
in [cpe format](cpe.mitre.org/specification/) denoting the package manager version distributing a package. Corresponds to the JSON property `cpeUri` @return [String]
The distribution channel-specific description of this package. Corresponds to the JSON property `description` @return [String]
Version
contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: serverfault.com/questions/604541/ debian-packages-version-convention For a discussion of this in Redhat/Fedora/ Centos: blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ Corresponds to the JSON property `latestVersion` @return [Google::Apis::ContaineranalysisV1alpha1::Version]
A freeform string denoting the maintainer of this package. Corresponds to the JSON property `maintainer` @return [String]
The distribution channel-specific homepage for this package. Corresponds to the JSON property `url` @return [String]
Public Class Methods
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 1134 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 1139 def update!(**args) @architecture = args[:architecture] if args.key?(:architecture) @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri) @description = args[:description] if args.key?(:description) @latest_version = args[:latest_version] if args.key?(:latest_version) @maintainer = args[:maintainer] if args.key?(:maintainer) @url = args[:url] if args.key?(:url) end