class Google::Apis::ContaineranalysisV1::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]
Required. 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 a package. Corresponds to the JSON property ‘latestVersion` @return [Google::Apis::ContaineranalysisV1::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_v1/classes.rb, line 2562 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1/classes.rb, line 2567 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