class Google::Apis::OsconfigV1::InventoryVersionedPackage
Information related to the a standard versioned package. This includes package info for APT, Yum, Zypper, and Googet package managers.
Attributes
architecture[RW]
The system architecture this package is intended for. Corresponds to the JSON property `architecture` @return [String]
package_name[RW]
The name of the package. Corresponds to the JSON property `packageName` @return [String]
version[RW]
The version of the package. Corresponds to the JSON property `version` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/osconfig_v1/classes.rb, line 633 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/osconfig_v1/classes.rb, line 638 def update!(**args) @architecture = args[:architecture] if args.key?(:architecture) @package_name = args[:package_name] if args.key?(:package_name) @version = args[:version] if args.key?(:version) end