class Google::Apis::ContaineranalysisV1alpha1::Package

This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions.

Attributes

distribution[RW]

The various channels by which a package is distributed. Corresponds to the JSON property `distribution` @return [Array<Google::Apis::ContaineranalysisV1alpha1::Distribution>]

name[RW]

The name of the package. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 2692
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_v1alpha1/classes.rb, line 2697
def update!(**args)
  @distribution = args[:distribution] if args.key?(:distribution)
  @name = args[:name] if args.key?(:name)
end