1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.32.0 0.31.0 0.30.0 0.29.3 0.28.1 0.27.0 0.26.1 0.25.0 0.24.0 0.23.0 0.22.0 0.21.1 0.20.1 0.19.0 0.18.0 0.17.3 Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage.

Software package information of the operating system.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #apt_package

    def apt_package() -> ::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage

**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of an APT package. For details about the apt package manager, see https://wiki.debian.org/Apt.


  Note: The following fields are mutually exclusive: `apt_package`, `yum_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #apt_package=

    def apt_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of an APT package. For details about the apt package manager, see https://wiki.debian.org/Apt.


  Note: The following fields are mutually exclusive: `apt_package`, `yum_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of an APT package. For details about the apt package manager, see https://wiki.debian.org/Apt.


  Note: The following fields are mutually exclusive: `apt_package`, `yum_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #cos_package

    def cos_package() -> ::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage

**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of a COS package.


  Note: The following fields are mutually exclusive: `cos_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #cos_package=

    def cos_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of a COS package.


  Note: The following fields are mutually exclusive: `cos_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of a COS package.


  Note: The following fields are mutually exclusive: `cos_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #googet_package

    def googet_package() -> ::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage

**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of a Googet package. For details about the googet package manager, see https://github.com/google/googet.


  Note: The following fields are mutually exclusive: `googet_package`, `yum_package`, `apt_package`, `zypper_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #googet_package=

    def googet_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of a Googet package. For details about the googet package manager, see https://github.com/google/googet.


  Note: The following fields are mutually exclusive: `googet_package`, `yum_package`, `apt_package`, `zypper_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of a Googet package. For details about the googet package manager, see https://github.com/google/googet.


  Note: The following fields are mutually exclusive: `googet_package`, `yum_package`, `apt_package`, `zypper_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #qfe_package

    def qfe_package() -> ::Google::Cloud::OsConfig::V1::Inventory::WindowsQuickFixEngineeringPackage

**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::WindowsQuickFixEngineeringPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-WindowsQuickFixEngineeringPackage)) --- Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix Engineering.


  Note: The following fields are mutually exclusive: `qfe_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #qfe_package=

    def qfe_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::WindowsQuickFixEngineeringPackage

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::Inventory::WindowsQuickFixEngineeringPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-WindowsQuickFixEngineeringPackage)) --- Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix Engineering.


  Note: The following fields are mutually exclusive: `qfe_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::WindowsQuickFixEngineeringPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-WindowsQuickFixEngineeringPackage)) --- Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix Engineering.


  Note: The following fields are mutually exclusive: `qfe_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #windows_application

    def windows_application() -> ::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication

**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-WindowsApplication)) --- Details of Windows Application.


  Note: The following fields are mutually exclusive: `windows_application`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #windows_application=

    def windows_application=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-WindowsApplication)) --- Details of Windows Application.


  Note: The following fields are mutually exclusive: `windows_application`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-WindowsApplication)) --- Details of Windows Application.


  Note: The following fields are mutually exclusive: `windows_application`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #wua_package

    def wua_package() -> ::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage

**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-WindowsUpdatePackage)) --- Details of a Windows Update package. See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information about Windows Update.


  Note: The following fields are mutually exclusive: `wua_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #wua_package=

    def wua_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-WindowsUpdatePackage)) --- Details of a Windows Update package. See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information about Windows Update.


  Note: The following fields are mutually exclusive: `wua_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-WindowsUpdatePackage)) --- Details of a Windows Update package. See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information about Windows Update.


  Note: The following fields are mutually exclusive: `wua_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #yum_package

    def yum_package() -> ::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage

**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Yum package info. For details about the yum package manager, see https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.


  Note: The following fields are mutually exclusive: `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #yum_package=

    def yum_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Yum package info. For details about the yum package manager, see https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.


  Note: The following fields are mutually exclusive: `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Yum package info. For details about the yum package manager, see https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.


  Note: The following fields are mutually exclusive: `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #zypper_package

    def zypper_package() -> ::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage

**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of a Zypper package. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.


  Note: The following fields are mutually exclusive: `zypper_package`, `yum_package`, `apt_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #zypper_package=

    def zypper_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of a Zypper package. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.


  Note: The following fields are mutually exclusive: `zypper_package`, `yum_package`, `apt_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-VersionedPackage)) --- Details of a Zypper package. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.


  Note: The following fields are mutually exclusive: `zypper_package`, `yum_package`, `apt_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #zypper_patch

    def zypper_patch() -> ::Google::Cloud::OsConfig::V1::Inventory::ZypperPatch

**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::ZypperPatch](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-ZypperPatch)) --- Details of a Zypper patch. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.


  Note: The following fields are mutually exclusive: `zypper_patch`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #zypper_patch=

    def zypper_patch=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::ZypperPatch

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::Inventory::ZypperPatch](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-ZypperPatch)) --- Details of a Zypper patch. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.


  Note: The following fields are mutually exclusive: `zypper_patch`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::OsConfig::V1::Inventory::ZypperPatch](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-Inventory-ZypperPatch)) --- Details of a Zypper patch. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.


  Note: The following fields are mutually exclusive: `zypper_patch`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.