Class: Google::Apis::CloudassetV1::SoftwarePackage
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::SoftwarePackage
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
Software package information of the operating system.
Instance Attribute Summary collapse
-
#apt_package ⇒ Google::Apis::CloudassetV1::VersionedPackage
Information related to the a standard versioned package.
-
#cos_package ⇒ Google::Apis::CloudassetV1::VersionedPackage
Information related to the a standard versioned package.
-
#googet_package ⇒ Google::Apis::CloudassetV1::VersionedPackage
Information related to the a standard versioned package.
-
#qfe_package ⇒ Google::Apis::CloudassetV1::WindowsQuickFixEngineeringPackage
Information related to a Quick Fix Engineering package.
-
#wua_package ⇒ Google::Apis::CloudassetV1::WindowsUpdatePackage
Details related to a Windows Update package.
-
#yum_package ⇒ Google::Apis::CloudassetV1::VersionedPackage
Information related to the a standard versioned package.
-
#zypper_package ⇒ Google::Apis::CloudassetV1::VersionedPackage
Information related to the a standard versioned package.
-
#zypper_patch ⇒ Google::Apis::CloudassetV1::ZypperPatch
Details related to a Zypper Patch.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SoftwarePackage
constructor
A new instance of SoftwarePackage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SoftwarePackage
Returns a new instance of SoftwarePackage.
3669 3670 3671 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3669 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apt_package ⇒ Google::Apis::CloudassetV1::VersionedPackage
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
3623 3624 3625 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3623 def apt_package @apt_package end |
#cos_package ⇒ Google::Apis::CloudassetV1::VersionedPackage
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
3629 3630 3631 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3629 def cos_package @cos_package end |
#googet_package ⇒ Google::Apis::CloudassetV1::VersionedPackage
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
3635 3636 3637 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3635 def googet_package @googet_package end |
#qfe_package ⇒ Google::Apis::CloudassetV1::WindowsQuickFixEngineeringPackage
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
3642 3643 3644 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3642 def qfe_package @qfe_package end |
#wua_package ⇒ Google::Apis::CloudassetV1::WindowsUpdatePackage
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
3650 3651 3652 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3650 def wua_package @wua_package end |
#yum_package ⇒ Google::Apis::CloudassetV1::VersionedPackage
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
3656 3657 3658 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3656 def yum_package @yum_package end |
#zypper_package ⇒ Google::Apis::CloudassetV1::VersionedPackage
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
3662 3663 3664 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3662 def zypper_package @zypper_package end |
#zypper_patch ⇒ Google::Apis::CloudassetV1::ZypperPatch
Details related to a Zypper Patch.
Corresponds to the JSON property zypperPatch
3667 3668 3669 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3667 def zypper_patch @zypper_patch end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3674 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 |