class Google::Apis::ContaineranalysisV1::PackageNote
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::ContaineranalysisV1::Distribution>]
name[RW]
Required. Immutable. 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_v1/classes.rb, line 3833 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 3838 def update!(**args) @distribution = args[:distribution] if args.key?(:distribution) @name = args[:name] if args.key?(:name) end