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

architecture[RW]

The CPU architecture for which packages in this distribution channel were built. Corresponds to the JSON property ‘architecture` @return [String]

cpe_uri[RW]

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]

description[RW]

The distribution channel-specific description of this package. Corresponds to the JSON property ‘description` @return [String]

latest_version[RW]

Version contains structured information about the version of a package. Corresponds to the JSON property ‘latestVersion` @return [Google::Apis::ContaineranalysisV1::Version]

maintainer[RW]

A freeform string denoting the maintainer of this package. Corresponds to the JSON property ‘maintainer` @return [String]

url[RW]

The distribution channel-specific homepage for this package. Corresponds to the JSON property ‘url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1/classes.rb, line 2562
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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