Class: Google::Apis::CloudassetV1::SoftwarePackage

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SoftwarePackage

Returns a new instance of SoftwarePackage.



5830
5831
5832
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5830

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#apt_packageGoogle::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



5777
5778
5779
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5777

def apt_package
  @apt_package
end

#cos_packageGoogle::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



5783
5784
5785
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5783

def cos_package
  @cos_package
end

#googet_packageGoogle::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



5789
5790
5791
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5789

def googet_package
  @googet_package
end

#qfe_packageGoogle::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



5796
5797
5798
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5796

def qfe_package
  @qfe_package
end

#windows_applicationGoogle::Apis::CloudassetV1::WindowsApplication

Contains information about a Windows application that is retrieved from the Windows Registry. For more information about these fields, see: https://docs. microsoft.com/en-us/windows/win32/msi/uninstall-registry-key Corresponds to the JSON property windowsApplication



5803
5804
5805
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5803

def windows_application
  @windows_application
end

#wua_packageGoogle::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



5811
5812
5813
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5811

def wua_package
  @wua_package
end

#yum_packageGoogle::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



5817
5818
5819
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5817

def yum_package
  @yum_package
end

#zypper_packageGoogle::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



5823
5824
5825
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5823

def zypper_package
  @zypper_package
end

#zypper_patchGoogle::Apis::CloudassetV1::ZypperPatch

Details related to a Zypper Patch. Corresponds to the JSON property zypperPatch



5828
5829
5830
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5828

def zypper_patch
  @zypper_patch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5835

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)
  @windows_application = args[:windows_application] if args.key?(:windows_application)
  @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