Class: Google::Apis::OsconfigV1::InventorySoftwarePackage
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1::InventorySoftwarePackage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/osconfig_v1/classes.rb,
generated/google/apis/osconfig_v1/representations.rb,
generated/google/apis/osconfig_v1/representations.rb
Overview
Software package information of the operating system.
Instance Attribute Summary collapse
-
#apt_package ⇒ Google::Apis::OsconfigV1::InventoryVersionedPackage
Information related to the a standard versioned package.
-
#cos_package ⇒ Google::Apis::OsconfigV1::InventoryVersionedPackage
Information related to the a standard versioned package.
-
#googet_package ⇒ Google::Apis::OsconfigV1::InventoryVersionedPackage
Information related to the a standard versioned package.
-
#qfe_package ⇒ Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage
Information related to a Quick Fix Engineering package.
-
#wua_package ⇒ Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage
Details related to a Windows Update package.
-
#yum_package ⇒ Google::Apis::OsconfigV1::InventoryVersionedPackage
Information related to the a standard versioned package.
-
#zypper_package ⇒ Google::Apis::OsconfigV1::InventoryVersionedPackage
Information related to the a standard versioned package.
-
#zypper_patch ⇒ Google::Apis::OsconfigV1::InventoryZypperPatch
Details related to a Zypper Patch.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InventorySoftwarePackage
constructor
A new instance of InventorySoftwarePackage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InventorySoftwarePackage
Returns a new instance of InventorySoftwarePackage.
487 488 489 |
# File 'generated/google/apis/osconfig_v1/classes.rb', line 487 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apt_package ⇒ Google::Apis::OsconfigV1::InventoryVersionedPackage
Information related to the a standard versioned package. This includes package
info for APT, Yum, Zypper, and Googet package managers.
Corresponds to the JSON property aptPackage
441 442 443 |
# File 'generated/google/apis/osconfig_v1/classes.rb', line 441 def apt_package @apt_package end |
#cos_package ⇒ Google::Apis::OsconfigV1::InventoryVersionedPackage
Information related to the a standard versioned package. This includes package
info for APT, Yum, Zypper, and Googet package managers.
Corresponds to the JSON property cosPackage
447 448 449 |
# File 'generated/google/apis/osconfig_v1/classes.rb', line 447 def cos_package @cos_package end |
#googet_package ⇒ Google::Apis::OsconfigV1::InventoryVersionedPackage
Information related to the a standard versioned package. This includes package
info for APT, Yum, Zypper, and Googet package managers.
Corresponds to the JSON property googetPackage
453 454 455 |
# File 'generated/google/apis/osconfig_v1/classes.rb', line 453 def googet_package @googet_package end |
#qfe_package ⇒ Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage
Information related to a Quick Fix Engineering package. Fields are taken from
Windows QuickFixEngineering Interface and match the source names: https://docs.
microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
Corresponds to the JSON property qfePackage
460 461 462 |
# File 'generated/google/apis/osconfig_v1/classes.rb', line 460 def qfe_package @qfe_package end |
#wua_package ⇒ Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage
Details related to a Windows Update package. Field data and names are taken
from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/
windows/win32/api/_wua/ Descriptive fields like title, and description are
localized based on the locale of the VM being updated.
Corresponds to the JSON property wuaPackage
468 469 470 |
# File 'generated/google/apis/osconfig_v1/classes.rb', line 468 def wua_package @wua_package end |
#yum_package ⇒ Google::Apis::OsconfigV1::InventoryVersionedPackage
Information related to the a standard versioned package. This includes package
info for APT, Yum, Zypper, and Googet package managers.
Corresponds to the JSON property yumPackage
474 475 476 |
# File 'generated/google/apis/osconfig_v1/classes.rb', line 474 def yum_package @yum_package end |
#zypper_package ⇒ Google::Apis::OsconfigV1::InventoryVersionedPackage
Information related to the a standard versioned package. This includes package
info for APT, Yum, Zypper, and Googet package managers.
Corresponds to the JSON property zypperPackage
480 481 482 |
# File 'generated/google/apis/osconfig_v1/classes.rb', line 480 def zypper_package @zypper_package end |
#zypper_patch ⇒ Google::Apis::OsconfigV1::InventoryZypperPatch
Details related to a Zypper Patch.
Corresponds to the JSON property zypperPatch
485 486 487 |
# File 'generated/google/apis/osconfig_v1/classes.rb', line 485 def zypper_patch @zypper_patch end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
492 493 494 495 496 497 498 499 500 501 |
# File 'generated/google/apis/osconfig_v1/classes.rb', line 492 def update!(**args) @apt_package = args[:apt_package] if args.key?(:apt_package) @cos_package = args[:cos_package] if args.key?(:cos_package) @googet_package = args[:googet_package] if args.key?(:googet_package) @qfe_package = args[:qfe_package] if args.key?(:qfe_package) @wua_package = args[:wua_package] if args.key?(:wua_package) @yum_package = args[:yum_package] if args.key?(:yum_package) @zypper_package = args[:zypper_package] if args.key?(:zypper_package) @zypper_patch = args[:zypper_patch] if args.key?(:zypper_patch) end |